IBM



2.2.4 Examples of multiple stores in a single instance

WebSphere Commerce enables you to support multiple online stores within the WebSphere Commerce Server instance. Figure 2-5 illustrates some possible store configurations.

Figure 2-5 Multiple stores in an instance

The stores detailed in Figure 2-5 are stand-alone stores. That is, although they are in the same instance, they do not share any data or have relationships with each other. They have separate storefronts, business logic, and store data.

You can also create multiple stores in an instance that share the same storefront, the same business logic, or the same store data (including catalogs), or any combination of the three. Figure 2-6 illustrates some possible configurations in which stores share assets.

Figure 2-6 Multiple stores sharing assets

Note: Figure 2-6 lists only a few possible configurations between multiple stores in an instance. Stores may share more than one asset type; for example, multiple stores in a site could share storefronts, business logic, and data, or any combination of the three.

For more information about how multiple stores in an instance share common store assets, see 2.3, Store relationships.

Multiple stores can exist in a single Stores Web module. If so, the store assets are separated using the following methods:

Storefront assets

Storefront assets for each store in the Stores Web module are stored in a separate store directory (storedir). For example, all storefront assets for MyStore are in the MyStore directory.

Business logic

The store ID is used to select the command implementation for each store, as specified in the command registry.

Store data

Data assets are identified for each store by a unique index. Store data can include core data assets (such as data about organizations, stores, or relationships between stores), the WCS instance data assets, configuration data assets (such as command, view, and URL registries), managed data (such as catalog, tax and shipping, and promotions), and operational data (such as inventory and orders).


Redbooks
ibm.com/redbooks


+

Search Tips   |   Advanced Search