The EPI Sample consists of a stateful session bean, a client application, a custom record which demonstrates the use of the Screenable interface, and a custom LogonLogoff class.
The deployment descriptor is an example of an EJB 1.1-compliant deployment descriptor for this enterprise bean. If you wish to package it up into a jar file, rename it to Ejb-jar.xml and store it in the META-INF directory of the jar file. It might require further entries if it is to be deployed into an EJB 2.0-compliant environment.
The enterprise bean looks for an EPI connection factory named java:comp/env/EPI. See your JEE Server's documentation for details of how deploy the resource adapter under this reference in the JNDI. When deploying the bean into your environment you need to supply this reference for the bean to find the resource. The client program looks for the EPIPlayScript bean with a name of EPIPlayScript1. Refer to your JEE Server documentation for details of how to setup the bean with this name in the JNDI namespace. The bean can be deployed as a bean-managed transaction.
S(CESN)F(7)="myuser"F(10)="mypass"P(enter)R(1)
The EPIPlayScriptClient program takes no parameters; it has a default command sequence coded into it. Experiment by changing this command sequence or enhancing the sample.
The CICSCESNLogon.java sample contains example code on how to logon to a CICS® Transaction Server for z/OS® system. The code is works for English systems and might have to be tailored for other versions of CICS and languages. In order to use this class, deploy it as part of the sample bean and reference it when you deploy the EPI resource adapter. For more information about how to deploy the EPI resource adapter see Deploying CICS resource adapters.