dcsimg
Calling Java program and EJB from C Program
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   innum_onenu
Posted On:   Thursday, January 17, 2002 03:00 AM

Can someone explain (links, sample codes etc) how to 1. Call a Java program from C Program by invoking the JVM 2. Call a Java program already running in a JVM from a C Program. 3. Call a EJB(both session and Entity) deployed and running in a Application server (say weblogic) from a C Program invoked in a different network machine. Basically, our application would be a web-based J2EE stuff which would have JSP, Servlets and EJB. All the business functionalities will be in the EJB which would be used by our applications UI. The business methods defined in the EJB's should also be a Public API for other C programs to invoke and access the Database. Therefore acc   More>>

Can someone explain (links, sample codes etc) how to


1. Call a Java program from C Program by invoking the JVM


2. Call a Java program already running in a JVM from a C Program.


3. Call a EJB(both session and Entity) deployed and running in a Application server (say weblogic) from a C Program invoked in a different network machine.


Basically, our application would be a web-based J2EE stuff which would have JSP, Servlets and EJB. All the business functionalities will be in the EJB which would be used by our applications UI.


The business methods defined in the EJB's should also be a Public API for other C programs to invoke and access the Database.


Therefore accessing EJB's running in an app server should be invoked from C Program.


Kindly detail the steps involved, may be a sample code - bean which displays "HelloWorld" called from a C Program.


Thanks!

   <<Less
About | Sitemap | Contact