This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm new to EJBs and have the following question. Can I make a socket call to a remote server from within an EJB? For example, can I make such a socket call from within the onMessage() method of a MessageDrivenBean? Or delegate to an object that can make the socket call?
Socket clients are acceptable but not socket servers. The EJB architecture allows an enterprise bean instance to be a network socket client, but it does not allow it to be a network server. Allowing the instance to become a network server would conflict with the basic function of the enterprise bean-- to serve the EJB clients. [ August 28, 2003: Message edited by: Pradeep Bhat ]