1 Reply Latest reply on Mar 30, 2009 2:44 AM by xmedeko

    Service and Stateless EJB 3.0

    xmedeko

      Hi,

      I need to make a Service bean and access it remotelly. I can make it easy by creating a remote interface to this service. Is this solution good for a heavy load, i.e. about 400 client calls at one time and handling each call can take a long time to handle?

      Or is better to make a Stateless session bean which will expose remote interface and call this service locally?

      Thank you
      Andy

        • 1. Re: Service and Stateless EJB 3.0
          xmedeko

          Also, I'd like to know, if every remote invocation of the Service bean is in a separate thread? Are these threads synchronised, or else do I have to take care of thread safety by myself?

          Thanks
          Andy