Forums Register Login

Best way to access from java client to EJB

+Pie Number of slices to send: Send
In my project, we are having java client and an Java Application Server. We have identified three possible ways. We wish to know what is the best way and practice.
1. Directly accessing EJB from Java Client.
The project involves complex logic and data structures. It involves user defineable/configurable features. For example user defineable Colour, limits based on certain events/parameters etc.
Here, remote call on EJB is the main issue.
2. Having RMI or RMI/IIOP to access EJB.
We understand that RMI / RMI-IIOP is faster as per Java and Corba - Client and Server programming Book (Wiley) but slightly slower than Sockets. As EJB is built over RMI-IIOP, We wish to understand whether it will be as fast as RMI-IIOP. If not whether writing a RMI-IIOP client, will improve the performance.
3. Sockets
As a another option, whether should we consider having a socket and calling it through http/XML in the lines of SOAP. (Servlet may be used at server end to receive this at the end). This is faster and minor issue (for our project) of firewall is also not there.
Kindly consider client and server may be in differnt parts of globe and response has to be fast.
Thanks,

[This message has been edited by subramanian kalyan (edited September 13, 2001).]
Enjoy the full beauty of the english language. Embedded in this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 643 times.
Similar Threads
RMI over Sockets
CORBA client connects with Java(EJB) servers ???
CORBA clients connects with Java thru ?
WHY EJB??
RMI-IIOP apps X CORBA apps - question.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:27:12.