Thursday, June 10, 2010

Re: Managing of connection to JMS server, listening to JMS Topic

Hi Chris, thank you for your links. They help me a lot! thanks

On 8 čvn, 16:08, Chris Lercher <cl_for_mail...@gmx.net> wrote:
> Are you looking for this:
>
> http://forums.sun.com/thread.jspa?threadID=5397323
>
> Probably, an even cleaner alternative would be to inject aJMS
> ConnectionFactory using Annotations:http://java.sun.com/javaee/5/docs/tutorial/doc/bnceh.html
>  - I assume, it would clean up itself when undeploying, but I'm not
> sure about the details.
>
> On Jun 8, 3:21 pm, vkrejcirik <vkrejci...@gmail.com> wrote:
>
>
>
> > Hi Paul,
>
> > I thought about using Spring for server side, but now I have 99%
> > complete application and I don't have time to redesign it for using
> > Spring. Or could I use Spring only for management connection toJMS?
> > I have only little experience with Spring..
>
> > DO you know, if it exists another way? When I must to call manually
> > closeConnection? Thanks a lot for all comments.
>
> > On 8 čvn, 13:49, Paul Grenyer <paul.gren...@gmail.com> wrote:
>
> > > Hi
>
> > > On Tue, Jun 8, 2010 at 12:38 PM, vkrejcirik <vkrejci...@gmail.com> wrote:
> > > > Hi, I'm developing web based application with GWT toolkit. I have
> > > > client and server part. On server part, I have class for managing of
> > > > connection toJMSserver for listening toJMStopic. I don't find
> > > > better way than periodically send request from client to server. On
> > > > server I have saved last message fromJMStopic. I get this message
> > > > and I send it to client. This application runs on tomcat server. I use
> > > > JAXB for mappingJMSmessages to Java classes, which are generated
> > > > from xml files.
>
> > > If you implmenet Sprin gon the server side you won't need JAXB and
> > > yourJMSclient will stop and start with the server.
>
> > > --
> > > Thanks
> > > Paul
>
> > > Paul Grenyer
> > > e: paul.gren...@gmail.com
> > > b: paulgrenyer.blogspot.com

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate