dcsimg
EJB-JNI-Legacy Integration(C++ API)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   bhadra_reddy
Posted On:   Friday, November 30, 2001 11:37 PM

We have exisitng System in C++.We want to use Existing in the intranet/internet. We are using JNI to use existing System. And then we
are calling JNI Classes in EJB.Could any one provide archtecure and sample with steps How to call existing C++ API in JNI and that JNI API in EJB session beans.If any one can provide help ,i will be greatful to them.

Re: EJB-JNI-Legacy Integration(C++ API)

Posted By:   Bozidar_Dangubic  
Posted On:   Sunday, December 2, 2001 08:44 AM

EJBs are suppose to be portable between different app server who comply with the Sun's specifications for compliant EJB containers. Because of this reason, loading of native libraries is not allowed in EJB. if some app servers allow this as an enhacement, you need to look at the documentation of that particular app server to find your answers. but overall, loading native libraries and using JNI from EJB is prohibited by the spec. you could use JMS or MDBs to accomplish the same with similar amount of work.
About | Sitemap | Contact