3 Replies Latest reply on Feb 27, 2008 1:05 PM by pmuir

    Seambay POJO WebService

    nickarls

      (OK, OK, it's more a WebService issue but I disguised it in a Seam example)


      Shouldn't it be possible to use POJO:s as JSR-181 WebService implementations? I got that idea from both the Seam manual and JBoss WS wiki but when I changed the Seambay AuctionService/AuctionServiceRemote from a Stateless EJB to a POJO, it is no longer visible in the /jbossws/services

        • 1. Re: Seambay POJO WebService
          shane.bryzak

          This is totally a WS issue, I'd ask on the JBossWS forum.

          • 2. Re: Seambay POJO WebService
            nickarls

            Got it semi-working, now it's a JBoss Tools issue(?). POJO WebServices are apparently mapped as Servlets and are pre-processed when deployed.


            The problem is that when I have my web service in the action src dir I get a


            [JAXWSDeployerHookPreJSE] Cannot load servlet class: org.domain.WS.session.Echo



            because the scanning is done by another classloader that doesn't know anything about the WEB-INF/dev folder.


            So it looks like the hot-deployment in JBoss Tools Seam Web Projects is incompatible with POJO WebServices (unless someone has a workaround).

            • 3. Re: Seambay POJO WebService
              pmuir

              To be expected. Only Seam knows anything about WEB-INF/dev.