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

    @Service concurrency

    vtatai

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

      Thanks,

      Victor

        • 1. Re: @Service concurrency

          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
          :-)

          Regards
          Sarabjit S. Rupaal