I have an application that I have been working on for the past year. It has mulple threads which may or may not open telnet session to a same ip address. I am using singleton as a central registry to block a tread from opening a telnet session to an ip address which may be in use by another telnet session spawned by another thread. I am trying to port over some of the business logic to EJB. How would you address singleton and concurrency issues I have in EJB?