An EJB running a COBOL service runs in two places: the COBOL service runs under an enterprise server, and the EJB and client run under a third party Java EE application server, such as WebSphere or WebLogic.
You deploy the COBOL service from the .car file.
You deploy the EJB and client by deploying the following to a Java EE application server:
If you haven't generated an .ear file, but have only the .jar file, you might be able to deploy the .jar file instead. Your Java EE application might require you to package the .jar file into an .ear before deploying it, or you might find it simpler to do that.
Many Java EE application servers are supported, such as WebLogic and WebSphere. Each application server has different deployment requirements and different utilities to help.
EJB Type | Deployed Resource Adapter |
---|---|
Transactional | mfocbol-xa or mfcobol-localtx transactional resource adapter |
Non-transactional | mfcobol-notx |