The Oracle Commerce Platform includes reference applications that demonstrate how a Web site could use Core Commerce features:
Oracle Commerce Reference Store, described in the ???? and related documents
Business Commerce Reference Application (Motorprise), as described in Business Commerce Reference Application Guide
Sample Catalog, as described in the section About the Sample Catalog
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 Core Commerce features, such as the following:
Using dynamic pricing and inventory
Navigating the product catalog
Searching the product catalog
Adding items to a shopping cart or gift list
Checking out orders with a single shipping group and payment group
Managing multiple shopping carts within one person’s session
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:
MotorpriseJSP DCSSampleCatalog
You can use your own Core Commerce application rather than MotorpriseJSP
.
Note: For detailed information on assembling an Oracle Commerce Platform application, see the 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 <ATG11dir>/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 Core Commerce features; they are not guaranteed to work in every environment or with every application.
The sample catalog JSPs are located at <ATG11dir>/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://
host
name
: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 Platform 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 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.