Community

@Service EJB usage by different clients

created by Csaba Szucs in EJB 3.0 - View the full discussion

Hello Guys,

 

I read that a single @Service EJB (singleton bean) may be used by different clients and they all share the same instance of it, so there is no pooling for the bean.

 

My question is:

While one client is using the bean, other clients are blocked (from using it)?

So is multi-threaded/concurrent usage of the bean possible by multiple clients?

Do different clients use the same bean instance through different threads?

 

Thanks a lot!

Csaba

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community