Generate and Deploy a JSP Client

Provides you with instructions that guide you through the process of generating a JSP client for the AccessBooks Java interface, and deploying it to your JBoss application server.
Restriction: For service interfaces, the Microsoft Visual Studio Shell supports the generation of console clients only. To generate any other type of client, you must install a full version of Visual Studio.

You generate a JSP client from the service interface file that contains your defined operations, and use this generated client to access the deployed Java interface. For an EJB to access a COBOL service running on an enterprise server, you must have the EJB and a Micro Focus resource adapter running on an application server.

Generate a JSP client

  • From the Solution Explorer, right-click the AccessBooks Java interface; then click Generate Clients.

    The Output window tells you when the client has generated successfully.

Deploy the JSP client and resource adapter to JBoss

Before you can run your JSP client, you must first deploy the resource adapter to JBoss.

  1. From the Windows File Explorer or at a command prompt, copy the AccessBooks.ear file, located in your project's AccessBooks.deploy directory, to the %JBOSS_HOME%\standalone\deployments directory.
  2. Copy the mfcobol-notx.rar resource adapter file from your %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\javaee\javaee7\jboss7xEAP directory to your %JBOSS_HOME%\standalone\deployments directory.
  1. From the Files window or at a terminal, copy the AccessBooks.ear file, located in your project's AccessBooks.deploy directory, to the $JBOSS_HOME/standalone/deployments directory.
  2. Copy the mfcobol-notx.rar resource adapter file from the $COBDIR/javaee/javaee7/jboss7xEAP directory to your $JBOSS_HOME/standalone/deployments directory.