Hi,
I need to call some third-party APIs written in C++ from an EJB. The APIs will be available on a remote machine. Which technology is best suited to achieve this and which type of EJB do I use ?
Thanks,
Kapil Nagpal
-
Calling C++ APIs on a Remote System from an EJB (4 messages)
- Posted by: Kapil Nagpal
- Posted on: March 28 2002 06:33 EST
Threaded Messages (4)
- Calling C++ APIs on a Remote System from an EJB by Darren Abbruzzese on March 28 2002 11:05 EST
- Calling C++ APIs on a Remote System from an EJB by Kapil Nagpal on March 31 2002 23:53 EST
- Calling C++ APIs on a Remote System from an EJB by manoj sharma on April 02 2002 03:44 EST
- Calling C++ APIs on a Remote System from an EJB by Darren Abbruzzese on April 02 2002 07:44 EST
- Calling C++ APIs on a Remote System from an EJB by Kapil Nagpal on March 31 2002 23:53 EST
-
Calling C++ APIs on a Remote System from an EJB[ Go to top ]
- Posted by: Darren Abbruzzese
- Posted on: March 28 2002 11:05 EST
- in response to Kapil Nagpal
Make CORBA calls from Session Beans. -
Calling C++ APIs on a Remote System from an EJB[ Go to top ]
- Posted by: Kapil Nagpal
- Posted on: March 31 2002 23:53 EST
- in response to Darren Abbruzzese
If the C++ APIs are on the local machine, does this scenario make a difference to the approach ? -
Calling C++ APIs on a Remote System from an EJB[ Go to top ]
- Posted by: manoj sharma
- Posted on: April 02 2002 03:44 EST
- in response to Kapil Nagpal
By any chance you need to use CORBA ,as c++ cannot talk to EJB directly.
-
Calling C++ APIs on a Remote System from an EJB[ Go to top ]
- Posted by: Darren Abbruzzese
- Posted on: April 02 2002 07:44 EST
- in response to Kapil Nagpal
You could wrap your C++ API's in JNI and make native calls from your session beans, but remember that the EJB spec frowns on using native libraries so you might have some issues with your app server. Using straight CORBA or RMI/IIOP is the best choice.