1 Reply Latest reply on Sep 24, 2009 11:34 AM by Sarabjit Rupaal

    @Service concurrency

    Victor Tatai Newbie

      Does anybody know if for @Service beans concurrency is handled like session beans (single thread), or it should be done manually?



        • 1. Re: @Service concurrency
          Sarabjit Rupaal Newbie

          As per JBoss Specifications org.jboss.annotation.ejb.Service annotated beans have Singleton behaviour, so only a single instance of the bean exists in the server.

          Further they can be exposed similar to EJBs with @Remote and @Local which means the calling client will be executing the same instance over multiple calls, so concurrency issues have to be handled manually.

          I am Still wondering about its behaviour when it is also annotated with @org.jboss.annotation.ejb.Clustered

          Sarabjit S. Rupaal