To contact 3rd party application from within EJB container
What are the possible options to communicate with an external application from within EJB container? Options that I can think of are
- RMI
- JMS
- Socket communication
- HTTP
- any other option?
And if anyone can give the pros & cons of the different approaches, based on their experiences it will be great.
[355 byte] By [
rtarasua] at [2007-9-27 5:09:50]

Hi,
There is one more.
Web Services which is much powerful than any other.
Ofcourse for this also u have to use socket communication and http protocol.
SOAP(Simple Object Access Protocol).. I think u got it..
I prefer SOAP as it has many adavantages over RMI and other.
Thanks,
All the best.
> What are the possible options to communicate with an
> external application from within EJB container?
> Options that I can think of are
> - RMI
> - JMS
> - Socket communication
> - HTTP
> - any other option?
>
> And if anyone can give the pros & cons of the
> different approaches, based on their experiences it
> will be great.
Ofcourse,You can circumvent the restrictions..
There are many soap servers availabe which are meant to embed in applilcation server.For example Apache-AXIS still in beta version(but powerful),Apache-SOAP.
If u need to maintain connection pooling for 3rd party systems,use JCA(Java Connector Architecture) which is much better than the above soap servers.
In this you could use the availble soap implementations..so u could save time for implementaion even.
> How to circumvent the restrictions on opening a
> network connection to the 3rd party systems?