On the Web application server, you must install the Web components
of the EJB “Hello World” sample application. From the HFS EJB samples directory,
you need:
- CICSHelloWorld.ear. A J2EE enterprise archive (EAR) file,
containing the Web components of the sample and the source code of the servlet
and JSPs.
- readme.txt. A text file, containing:
- Step-by-step instructions for installing the Web components of the sample
on WebSphere Application Server.
- Hints, tips, and debugging information.
Note: The default samples directory is
/usr/lpp/cicsts/cicsts31/samples/ejb/helloworld
where
cicsts31 is
the value of the CICS_DIRECTORY variable used by the DFHIJVMJ job during CICS
installation.
Important: The rest of this section contains
generic instructions for installing the Web components of the sample on a J2EE-compliant
Web application server (which may or may not be WebSphere). It is suitable
for experienced users. If your Web application server is WebSphere Application
Server Version 4 or later and you are a novice user
of that product, we recommend that you follow instead the detailed, WebSphere-specific
instructions in the readme.txt file.
- Install the Web components of the EJB “Hello World” sample (contained
in CICSHelloWorld.ear) in your J2EE Web application server,
following the vendor's guidelines for installing applications. In WebSphere
Application Sever, for example, this involves using the administration console
to:
- Install a new application
- Generate the updated Web server plugin
- Save the configuration
Note: CICSHelloWorld.ear includes a default configuration
for the EJB “Hello World” sample. To run the sample, it is not necessary to
edit or add any configuration information.
- Start the application using your Web application server's standard procedure.