The instructions in this guide describe how to install and configure a Commerce Reference Store in an environment that:
Runs on a single machine.
Has two ATG instances, one for publishing and one for production, which run under separate servers within a single application server distribution.
Each ATG server instance (EAR file) running in your application server includes the appropriate configuration and modules for its designated tasks. The publishing server runs ATG Content Administration, Oracle ATG Web Commerce Merchandising, and Site Administration. To make Commerce Reference Store available for editing in the Business Control Center, the publishing server also runs an instance of Commerce Reference Store. The production server runs the ATG Content Administration publishing agent as well as the instance of Commerce Reference Store that is served to customers. The two servers communicate with each other through the Java Remote Method Invocation (RMI) API, for example, when the publishing server deploys content to the production server.
The Commerce Reference Store EAR files are assembled in development mode, where only classes, libraries, and J2EE modules are imported to the EAR file, and Nucleus configuration and other resources are used directly from the ATG install directory.
Commerce Reference Store includes three storefront sites: ATG Store US, ATG Store Germany, and ATG Home. These sites are related in the following ways:
ATG Store US and ATG Home share a shopping cart, product comparisons, and gift and wish lists. Some catalog items are available on both sites, but each site also has items not available on the other site.
ATG Store US and ATG Store Germany have identical catalogs but use different price lists, because ATG Store US prices are in US dollars and ATG Store Germany prices are in Euros. These sites do not share a shopping cart, product comparisons, or gift and wish lists.
Additionally, the three sites include support for the languages shown in the following table:
Site | Language Support |
---|---|
ATG Store US | English, Spanish |
ATG Store Germany | German, English |
ATG Home | English, Spanish |
Commerce Reference Store uses a switching database configuration that allows you to deploy changes to an offline copy of your data, rather than making changes directly to the data your live site depends on. After the data is deployed to the offline copy, a switch is made so that the offline copy becomes the online copy and vice versa. In this way, you avoid deploying to your live site, which can cause errors, inconsistencies, or poor site performance. After the switch is made, the offline copy is also updated, so that both copies are current after each deployment.
When you deploy from the publishing server to the production server, data that is ready to go live is copied from a versioned database, implemented as part of ATG Content Administration, to the production database. Not all data benefits from versioning, so the production database contains several schemas:
The
Production
schema holds data that doesn’t benefit from switching, such as user account data.The
SwitchingA
andSwitchingB
schemas hold data that does benefit from switching, such as catalog and pricing data. Only one switching schema is active on the live site at any given time. Data is copied to the offline schema, and then the switch is made.
The versioned database only has one schema, Publishing
, that contains all the data required for your sites, plus additional fields that manage asset versioning.