CMP/A Sample - Account


Locating source code
Locating the scripts
Reviewing coding notes
Reviewing required resources

Locating source code

Important Information Note for z/OS customers: The source code tree for Samples is not provided on z/OS because Sample applications are not built on the z/OS platform.

Locate the source code in the
install_root/samples/src/CMPa/ directory.

Locating the scripts

Locate the jacl scripts for the wsadmin tool in the
install_root/samples/bin/CMPa/ directory.

Reviewing coding notes

The following enterprise beans are used in this Sample:

AccountCustom - The AccountCustom Bean is a CMP Bean that "persists" via an in-memory HashMap.
AccountEJB - The AccountEJB Bean is a CMP Bean that persists via calls to the AccountBackend session bean.
AccountJAXRPC - The AccountJAXRPC Bean is a CMP Bean that persists via JAX-RPC calls to a web service wrapper for the AccountBackend session bean.
AccountSCA - The AccountSCA Bean is a CMP Bean that persists via calls to an SCA service import for the AccountBackend session bean.
AccountCCI - The AccountCCI Bean is a CMP Bean that persists via calls to a J2C resource adapter for the SDO Repository.

Reviewing required resources

This CCI part of this sample requires the SDO Repository to be installed. See here for further details. This is not required if you only intend to run the non-CCI parts of the sample.