The Oracle ATG Web Commerce platform includes reference applications that demonstrate how a Web site could use Oracle ATG Web Commerce features:

About the Sample Catalog

The commerce sample catalog is a set of sample JSPs that constitute a stripped-down but functional commerce site. As you develop your sites, you can refer to the sample catalog for simple code examples that illustrate common Oracle ATG Web Commerce features, such as the following:

Additionally, you can use the sample catalog JSPs as a starting point for your own JSP templates.

You can access the sample catalog through the Motorprise reference application. To access the sample catalog, when you assemble your application, append the DCSSampleCatalog module to the list of modules:

You can use your own Commerce application rather than MotorpriseJSP.

Note: For detailed information on assembling an Oracle ATG Web Commerce application, see the ATG Platform Programming Guide.

The DCSSampleCatalog module includes a sampleCatalog Web application that contains the sample catalog JSPs but no additional code or configuration properties. In order to access the Web application, first you need to deploy the sampleCatalog.ear file provided in <ATG10dir>/DCSSampleCatalog/j2ee-apps/ on your application server, then deploy the application. Note that the sample catalog JSPs are predominantly intended as simple illustrations of common Oracle ATG Web Commerce features; they are not guaranteed to work in every environment or with every application.

The sample catalog JSPs are located at <ATG10dir>/DCSSampleCatalog/j2ee-apps/sampleCatalog/web-app/. Once the sample catalog module has been deployed, you can view the pages by pointing your browser to http://hostname:port/sample_catalog/. The port you use depends on your application server and how it is configured. For example, on JBoss the default URL is:

http://hostname:8080/sample_catalog/

See the ATG Installation and Configuration Guide for default port information for other application servers.

You can also access the sample catalog JSPs via the Pages and Components > J2EE Pages area of the ATG Control Center (ACC). Via the J2EE Pages task area, you can open a specific JSP in the ACC’s Document Editor, and, if the sample catalog application is running, preview it in your browser.