It is possible to preserve your existing JVM COBOL business logic when deploying to an application server.
In order to build a multi-user application suited for an application server, you build your existing JVM COBOL code into the Enterprise JavaBeans (EJB) architecture (version 3.x or later).
A broad overview of the process is as follows:
ejb=true
For a more detailed explanation of the process, using JBoss as the application server, see Tutorial: Deploying an Enterprise JavaBean Containing JVM COBOL to a JBoss Application Server.
In addition to the resources built into your deployed application, you must also consider how you are going to deploy the JVM COBOL run-time system.