[jboss-user] [EJB/JBoss] - What happened for a Service Bean in multi-threading?

chenww do-not-reply at jboss.com
Wed Dec 19 23:24:28 EST 2007


I used JBoss extension Service Bean as a singelton control. However, it does not prevent concurrency to call this service Bean.  Multi-threadings could call the API in this service Bean at the same time. Seems container control on the bean pool is not effective for service Bean. Is this true? If yes, what's the best way to design a singelton stateless session Bean? I tried Jboss PoolClass, but it is so odd to compile.

I appreciate all your good thoughts.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114498#4114498

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114498



More information about the jboss-user mailing list