dcsimg
Interfacing J2EE Application with external Applications
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   innum_onenu
Posted On:   Saturday, January 5, 2002 03:49 AM

There is a current Client-Server system which is maintaining a database. There is a Public API (C layer) through this this system and other different applications(C applications) access(Create, modify, delete ,find etc) the database. Now we are planning to replace the current client-server based system to web-enabled J2EE (JSP,EJB) system.Now, 1. We have to continue supporting the existing applications to access the database without breaking their existing interfaces. So the proposed J2EE system should expose such interfaces so that external C applications can achieve this. How to do this, like can a C application contact or go-through a EJB to access DB?? If so, how?? 2. Is J2EE(EJB's) a good choice for this at all or ac   More>>

There is a current Client-Server system which is maintaining a database. There is a Public API (C layer) through this this system and other different applications(C applications) access(Create, modify, delete ,find etc) the database.

Now we are planning to replace the current client-server based system to web-enabled J2EE (JSP,EJB) system.Now,

1. We have to continue supporting the existing applications to access the database without breaking their existing interfaces. So the proposed J2EE system should expose such interfaces so that external C applications can achieve this. How to do this, like can a C application contact or go-through a EJB to access DB?? If so, how??


2. Is J2EE(EJB's) a good choice for this at all or achieve this functionality through CORBA. ie. instead of old C API's write a CORBA Server and allow the external applications to access this CORBA server. If this is the case how can it be done without changing the external applications code.


3. Keep the existing C API's itself and develop a J2EE system which would also access the database through this API's itself. Then no EJB's are required, but how to call these API's (using native calls???)



Kindly brief about all the options with links, code and atricles.


Thanks!

   <<Less

Re: Interfacing J2EE Application with external Applications

Posted By:   Anil_Datt  
Posted On:   Monday, January 7, 2002 12:46 PM

You would like to have a web (java) frontend for you existing C application. Is this what you mean?

Define a standard interface for your C code and use JNI from JAVA to achieve this. EJB spec does not recommend using native calls but you can use them as long as you have local ejbs.
About | Sitemap | Contact