[jboss-user] [EJB/JBoss] - Threading EJB Requests Through a Singleton
mjrother
do-not-reply at jboss.com
Wed Dec 5 10:01:26 EST 2007
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?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110551#4110551
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110551
More information about the jboss-user
mailing list