<vendor>
Likewise, our AppServer supports JNI. That being said, I
STRONGLY recommend using CORBA to integrate native code
into your EJB application. Having developed quite a bit
of JNI code (and mountains of CORBA code) I can easily
vouch for the fact that integrating C or C++ code using
CORBA is substantially easier than using JNI.
</vendor>
-jkw
Evan Ireland wrote:
>
> Francesco Marchioni wrote:
> >
> > > > Do EJB containers allow this?
> > >
> > > Some do.
> > Do you know if weblogic allows it ? if not any others that you know ?
>
> I have no idea if WebLogic supports it. You should ask BEA.
>
> <vendor>
>
> Sybase EAServer supports beans using JNI. Please note: using JNI makes your
> beans non-portable.
>
> </vendor>
>
> > Francesco
> > > Mageshkumar Maruthapillai wrote:
> > > >
> > > > Hi,
> > > >
> > > > I want to if there would be any problems using JNI with EJB.
> > > > I am trying to use JNI from my entity beans to access some legacy code
> > > > which accesses my business object data.
> > > >
> > > > Do EJB containers allow this?
> > >
> > > Some do.
> > >
> > > > Any comments would be very helpful.
> > >
> > > If you are not concerned about portability of the code (which seems likely
> > if
> > > you are interfacing with a legacy system), you could use JNI if your
> > server
> > > supports it. Or you could write some C++ CORBA components and access them
> > > using CORBA calls from your EJBs.
> > >
> > > > Thanks,
> > > > Magesh.
===========================================================================
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".