This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Best way to access from java client to EJB  RSS feed

subramanian kalyan
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

[This message has been edited by subramanian kalyan (edited September 13, 2001).]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!