2 Replies Latest reply on Mar 14, 2008 3:30 PM by lafbarbosa

    Actions that call POJO (standalone) services

    lafbarbosa

      Hi people,

      We know that we must have some server running with a port listen to requests to offer services.

      Think about a POJO (standalone) service that you developed and now you want to provide throught the JBossESB. Which is the best option to provide this service:

      1. Convert it in a web service?
      2. Convert it in a web service and after in an MDB?
      3. And what about fs-provider, does it help to provide directly POJO services?

      The scenario is one client asking for the service in the machine A, the JBossESB running in the machine B and the POJO running in the machine C.

      Thanks in advance!

      Regards,

      Luiz

        • 1. Re: Actions that call POJO (standalone) services
          kconner

          You would need to write a wrapper of some sort but the type will depend on what is available in the POJO's environment on C. Webservices, JMS, even file systems are all possible.

          My preference of the three would be JMS but it really depends on you circumstances and requirements.

          • 2. Re: Actions that call POJO (standalone) services
            lafbarbosa

            Hi Kevin,

            Thanks for your answer!

            Understood... so, in this way, should I have the JMS running on C machine?

            I am curious about file system way to do this. To do this through file system, the C machine should have something like Samba running on?

            If you have some example of jboss-esb.xml config file to do this action for POJO, please, send.

            Thanks in advance!

            Regards,

            Luiz