Enterprise beans can be network socket clients, and so they can use other network resources (including other enterprise bean servers) to do their jobs. Just as with a database connection, don't hang on to open client sockets across method calls; instead, open them, communicate through the socket, and close it before returning from the method.
Ravi [ February 11, 2005: Message edited by: Ravindra Janapareddy ]
I understand that an EJB can send messages through Sockets but cannot listen on a ServerSocket to receive messages. My doubt was not on understanding this but on the term 'Network Socket client'. It was unclear whether it means ejb-may-use-sockets-to-send-messages. Now I understood 'Network Socket client' means 'use socket to send messages as a client'.
SCJP, SCWCD, SCBCD, OCA J8
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.