Wednesday, May 9, 2001 02:30 PM
I am trying to connect to a Server listening on a well known socket from my EJB (session). I could able to connect to successfully from EJB. But everytime I open and close the socket connection in my EJB which seems to be an expensive process. My Question is what is better way of implementation for this? Singleton Class or JMS or is there any other method.