Hi Anup,

When your Application is hosted on Weblogic and what sounds from you
description is that it is a Web based solution.
Then for such case you may go For "  Servlet making a Socket to the other
n/w m/c running a ServerSocket and implementing JNI".
As it would be a fastest solution you can go for, but mind it that, you
need to be very carefull while writing your custom protocol as again the
performance will largly depend on it.

But If you still want to go for EJB's than you should prefer to have
CORBA/IIOP as your n/w medium.For implementing it a better approach will be
to write a C++ WrapperObject to the availabe library and after that
exposing it as an CORBA idl and then writing you client in JAVA.

And as for the portability issue when you are making a " Product " than it
should be portable as it gives your client a lot of options, in your case
it might not be required but thats why i asked for a clarification boy.

***********************
enJoy Life with Technology
***********************
pirbhu

Hi
1. The application I have in mind is a module that is part of a large
enterprise application hosted on Weblogic.
2. The predictive modelling library is a third party one devloped for data
mining(It is going to be higly customised for our use).
3. On further analysis I have found that the native code need not maintain
state or take part in transactions, i.e the native method calls are
idempotent.
4. Since making a native call from the same VM as Weblogic might bring the
whole app server down if the native library crashes, we have decided to put
the native library on another machine and access it remotely using RMI/JNI
or CORBA. We have to select either one of these. Any tips? Or are there any
other techniques?
5. Portability is an issue that is hyped around too much. You don't really
change appservers/OS every other day after you have made a heavy
investment. So it is not much of an issue with us.
6. The EJBs  probably could be stateless session beans. I want EJB because
I don't want RMI/CORBA calls to be made from my web-tier(Servlets/JSPs)

Any more tips are welcome
Regards
Anup



===========================================================================
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".

===========================================================================
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".

Reply via email to