3 Replies Latest reply on Jan 11, 2005 7:42 PM by thomas.diesler

    MDB as Web Service endpoint?

    amlgroup

      Can a Message-Driven Bean act as a web service endpoint? Or must I use a SLSB?

        • 1. Re: MDB as Web Service endpoint?
          dsmiley

          Can someone please reply to this? I think I've heard references to this existing however as I look through the JBoss.NET source tree, I see no support for exposing MDBs as web services.

          • 2. Re: MDB as Web Service endpoint?
            anil.saldhana

            I fail to understand why an MDB has to be exposed as a Web Service. An MDB has no contact with the external world (read clients) except with the container. When a message arrives at a destination, the container creates a MDB and assigns the message to it.

            Tell me if I am wrong.

            • 3. Re: MDB as Web Service endpoint?
              thomas.diesler

              An MDB can act as WS endpoint in JBossWS since jboss-4.0.1. This cannot be done with JBoss.NET.

              The use case is to add quality of service guaranties at the transport level (JMS) which HTTP cannot offer.