2 Replies Latest reply on Mar 10, 2010 6:04 PM by timfox

    HornetQ GWT integration

      Hi, I am interested to know about GWT integration with HornetQ. My GWT app will send messages to HornetQ server using JMS api. An external client will consume these message and process them accordingly. So, this is basically point-to-point mode. From your wiki, I see that because of the way J2EE/JCA works, HornetQ sessions will automatically be cached. Since, I am developing my app using GWT Eclipse plugin (from Google), how can I test that? GWT Eclipse uses jetty internally. Since Jetty is a servlet container, not a JEE app server, will it be cached automatically when I run the web app from inside Eclipse? It will be great there is "how to" tutorial/link about this. I am new to HornetQ and all these J2EE way of doing things. So, I am sorry in case, this is a very trivial question. Thanks.
        • 1. Re: HornetQ GWT integration
          clebert.suconic

          You could just use a regular embedded server. Look at the embedded examples.

           

          As for caching... you would need to install a JCA adapter for that. The new JCA adapter being written for JBoss is also emeddable. However if you  just use your connections, consumers and producers properly you won need to cache any connections.

          • 2. Re: HornetQ GWT integration
            timfox

            +1 to clebert.

             

            There's rarely a need for a caching framework, if you maintain your own refs to sessions, connections etc appropriately.