Friday, November 26, 2010

Re: (Spring?) JMS and GWT, or any other genuine message queue solution

Hi,

Yes, but we don't use JBoss but the Google App Engine, so I guess we
can't use JMS here. Independent from which framework you use, it is
not possible to create threads at all, so I guess we can't just use
any existing library which embraces JMS.

The Tasks seems to be allright, but this sounds more like a cronjob
which always executes at a certain time, and that's not what we want.
We need to have a general queue, which has to be done as soon as
possible, but not every minute or every hour or at any specific time
interval.

Best,
Niels


On 24 nov, 15:18, Subhrajyoti Moitra <subhrajyo...@gmail.com> wrote:
> Hello,
> I am currently working an application that does use JMS for async
> communication in one part of the application backend.
> We use ConcurrentHashMap and CopyOnWriteList to store and retrieve
> "common/shared data".
>
> These "common data" are then queried by GWT-RPC Servlets. There is a
> "clean-up thread", that wakes up after 2 hrs to clean up the stale data from
> these common-data-holders. This has worked pretty well for us.
>
> Also, queing/threading has become a breeze with java.util.concurrent.*
> classes. With Executor/ExecutorServices etc you can very easily write async.
> multi threaded applications, without bothering about internal details.
> We are usinghttp://jboss.org/hornetq/
>
> Thanks,
> Subhro.
>
> On Wed, Nov 24, 2010 at 7:35 PM, Baloe <nielsba...@gmail.com> wrote:
> > Hi,
>
> > Has anyone experience using JMS with GWT? We need something like that,
> > but the only thing I can find is some tests integrating Spring with
> > GWT.
>
> > With or without JMS, we need to let some asynchronous processing take
> > place, preferrably taken after we put some work somewhere on a queue
> > and not worrying about threading or queueing. Any ideas?
>
> > Thanks!
> > Niels
>
> > --
> > 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<google-web-toolkit%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
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.

No comments:

Post a Comment