Hello,
I think WebLogic permits you to load a native library... yes it's
not standard but it could be a solution.
Another way I can see is the use of JMS or RMI in this way: EJBs which
receive the calls and send (through RMI or JMS) these calls to another class
which can load native libraries (because it's not an EJB).
I hope this can help you. Regards.
Luis Canals.
-----Original Message-----
From: Peter Delahunty [mailto:[EMAIL PROTECTED]]
Sent: lunes, 04 de septiembre de 2000 17:01
To: [EMAIL PROTECTED]
Subject: Exposing a native component as an EJB.
Hi guru's
I am building a system that will make extensive use of a component that is
built in C++. However the supplier of this component also have a Java
interface to using this compoent. So i will access this component via Java.
The rest of my system is written in EJB and so i would like to expose this
component as an EJB. However the ejb spec states that ejb must not load a
native libarary. Now i presume this means that the EJB container classloader
does not load the native component. However i would like to write a helper
class that access the component via it's Java interface.
So, does this still constitute loading a native libarary ?
The only other way i can see is to use corba, however it seems a long way
around to go from Java (the EJB code) through CORBA to Java (the component
interface code). Rather than just java to java.
any ideas ?
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".