Does EJB internally uses Sockets while exchanging Beans to Clients?
+1
A:
As far as I know EJB is implemented RMI and RMI is implemented by using Sockets
Upul
2010-10-12 04:18:37
Do you have any example how RMI internally handles Socket programming
Sujeet
2010-10-12 04:21:19
It's not specified. The only examples are in the source code.
EJP
2010-10-12 05:22:57
Minor trivia: many servers don't actually use the RMI protocol (WebLogic, WebSphere, OpenEJB). The actual spec requirement is that application developers ensure their objects are RMI-compatible. The server is actually free to use whatever protocol it wants.
David Blevins
2010-10-23 02:43:35