Problem:
The aim of this demonstration is to show
"How can a Cobol program consume an EJB deployed on a Java Application Server".
First question:
Is it possible?
( OO Cobol EJB Client <-> EJB home
Interface <-> EJB remote Interface
<-> EJB [Bean]
)
The answer is NO, Not directly
it is not possible to invoke a instance of an EJB from Object COBOL,
due to the Object COBOL Java domain not support "proxy classes".
How to Proceed then?
Use a Java Wrapper which will communicate with the EJB. This will be possible:
( OO Cobol Client
<-> Java EJB Client STUB
<-> EJB home
Interface <-> EJB remote Interface
<-> EJB [Bean]
)
Resolution:
Environment used in the context of this demonstration
Weblogic 8.1
Net Express 5.0 Websync3
==> Demonstration is in the .ZIP attached to KB
more comments
in the ..DOC file in the .Zip file which describes the STEPs to run the demonstration