tags:

views:

41

answers:

1
+1  Q: 

Socket Programming

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
Do you have any example how RMI internally handles Socket programming
Sujeet
It's not specified. The only examples are in the source code.
EJP
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