This section explains the various ways you can assemble an application with Nucleus. In this section, you work through a series of exercises that demonstrate Nucleus capabilities.
Before you begin
Make sure that the Oracle Commerce Platform is properly installed. See the Platform Installation and Configuration Guide.
Make sure that the Java Software Development Kit binaries are in your path. The JSDK binaries are usually found in the JSDK distribution under the JSDK’s
bin
directory.Start up an Oracle Commerce Platform application that has been assembled in development mode.
Create a directory to hold your Java class files. Add this directory to your CLASSPATH environment variable by editing your Oracle Commerce Platform environment file:
Windows:
<ATG11dir>\home\localconfig\environment.bat
:set CLASSPATH=%CLASSPATH%;
class-directory-path
UNIX:
<ATG11dir>/home/localconfig/environment.sh
:CLASSPATH=${CLASSPATH}:
class-directory-path
Alternatively, put the class directory in
<ATG11dir>/home/locallib
, which is already part of the default CLASSPATH when you run the Oracle Commerce Platform.Create a tutorial directory
<ATG11dir>/home/localconfig/test
where you can run the tutorial exercises.Change directories to the tutorial directory so the tutorial directory becomes the current directory.
Set the
DYNAMO_HOME
environment variable to<ATG11dir>/home
.Set your environment variables in the command line console by running
<ATG11dir>/home/bin/dynamoEnv
. On UNIX platforms, you can do this by starting an instance ofsh
(if you are using any other shell) and then executingdynamoEnv.sh
directly into that shell:. bin/dynamoEnv.sh