0 Replies Latest reply on Dec 5, 2007 10:01 AM by mjrother

    Threading EJB Requests Through a Singleton

    mjrother

      I am looking at existing code which has a singleton facade class that looks up a stateless session EJB in the constructor and keeps the reference for the life of the program. It is my understanding all EJB's are threadsafe which is enforced by the container. Therefore if multiple client threads are attempting to utilize the singleton facade instance, does this effectively single thread all interactions through the facade and limit the performance of the application?