Generate and deploy a JSP client

For an EJB to access a COBOL service running on an enterprise server, you must have the EJB and a JSP client running on an application server. We will now generate an EJB and a JSP client for the IMTKTutorial service we deployed and configure our JBoss application server to run them.

  1. From COBOL Explorer, right-click the IMTKTutorial service interface; then click Generate Clients.

    The Console tells you when the client has generated successfully.

  2. Copy the IMTKTutorial.ear file, located in your project's IMTKTutorial.deploy directory, to your JBoss installation's server\default\deploy directory.