users@glassfish.java.net

Re: Parallel execution task - Design question

From: <glassfish_at_javadesktop.org>
Date: Thu, 14 Feb 2008 10:48:36 PST

Setting up a single JMS queue and a MDB to listen on it is really no big deal. It's two screen in the Admin gui, and once it's set, you're done.

The code on the server side is marginal, and easily wrapped up in a utility method.

There's a minor bit of work to get started, but it's all in the JEE tutorial as well (or even just using a Netbeans wizard).

With configurable Message bean pools, you can set how may parallel tasks you to run, etc.

It works pretty well for most cases. It also works in clusters "for free".
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=259011