The Track and Trace use case uses Dynamic Cache to hold
a list of valid National Drug Codes (NDCs) that it has processed.
Each time a barcode is scanned by a handheld running the Track and
Trace use case application, the barcode is parsed and the NDC is validated
against this list. Having the list of NDCs in Dynamic Cache makes
the list accessible to all nodes in the cluster.
Before you begin
Copy the file WAS_HOME/profiles/AppSvr01/ndc_list.xml to
the location where your WebSphere® Application Server profile
is installed. The Track and Trace use case looks in this location
for the XML file and copies the contents into Dynamic Cache for access
at runtime.
About this task
The Dynamic Cache is populated from a file on the file system
that contains the list of valid NDCs. Restarting
WebSphere Application Server clears
the Dynamic Cache. The Track and Trace use case application looks
for entries in the Dynamic Cache; if they are not present, the application
populates the Dynamic Cache from the NDC list on the file system.
The NDC list file
ndc_list.xml is distributed
in the Track and Trace EAR file. Valid NDCs can be added to this file.
WebSphere Application Server must be
restarted to reload Dynamic Cache with that information.
Procedure
- Log in to the WebSphere Application Server administrative console.
- Select .
- Click NDCList.
- Select Dependency ID support.
- Click Apply to apply your changes
and OK to exit.
- Restart WebSphere Application Server.