Business Context configuration file

Default business contexts are defined in the xml/config/businessContext.xml file. The location of the file is defined in the BusinessContextService/BusinessContextConfigFile attribute in WebSphere Commerce configuration file (xml/wc-server.xml). Multiple file locations separated by commas are allowed for this attribute to support component-based development. That is, when creating a new business context, instead of modifying the default configuration file, we can define it in a separate file and append it to the end of the BusinessContextConfigFile attribute on the BusinessContextService element. This implementation allows for future upgrade to the businessContext.xml file without affecting the business context that you have registered.

In the configuration file, there are two major sections.


Related concepts
Business context service


Related tasks
Defining business context sets for a Web application
Creating a new business context


Related reference
Sequence diagram: Creating a new activity based on an existing one
Sequence diagram: Initiating an activity
Sequence diagram: Pre-request and post-request processing
Sequence diagram: Retrieving and updating business contexts
Sequence diagram: Terminating an activity