[jboss-user] [Beginner's Corner] - JBoss 5.1 Parallel Processing
James Gingerich
do-not-reply at jboss.com
Mon Feb 28 11:07:31 EST 2011
James Gingerich [http://community.jboss.org/people/james.gingerich] created the discussion
"JBoss 5.1 Parallel Processing"
To view the discussion, visit: http://community.jboss.org/message/590128#590128
--------------------------------------------------------------
Our application has parts that need to run in parallel within an Application Server. This includes JMS queus and topics, scheduled jobs (Quartz), and silimar functionality. These parts need their own dedicated resources so they don't starve each other. We are currently using several ExecutorService thread pools.
It has been brough to our attention that using unmanged threads within a container is a bad and non-standard solution. In addition, we would like the added functionality of dynamically scaling the size of the pools. It seemed that leaveraging WorkManager would sovle both problems.
We are using JBoss AS 5.1 and it appears that WorkManager is not available via JNDI (unlike in WebSphere AS). Furthermore, Weston comments that JBoss WorkManager is reserved for use for Resource Adapaters ( http://community.jboss.org/message/243460#243460 http://community.jboss.org/message/243460). Weston suggests the notion of creating a custom MBean to achive this functionality.
What is the JBoss way for achiving parallel processing? Is there a better way to solve these problems?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590128#590128]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110228/4b9c01a7/attachment-0001.html
More information about the jboss-user
mailing list