1 Reply Latest reply on Nov 18, 2009 4:37 PM by howard goldberg

    ejb3 and web services

    howard goldberg Newbie

      1. Can you use dependency injection to inject a web service into a stateless session bean?

      2. I'd like to execute several web services concurrently within a stateless session bean to optimize performance. Is there a design pattern to do this?

      Thanks,
      Howard

        • 1. Re: ejb3 and web services
          howard goldberg Newbie

          1. Anyone have an example of doing this? I see you can register a web service in jndi via a descriptor, and retrieve; so I'd expect you could inject and call getPort?

          2. I see that the answer requires jsr-237 or using an implementation like commonJ. Is there going to be an out-of-the-box service in a future JBOSS, or is commonJ adequate.

          Howard