anonymous wrote : Initially the plan was to use MDB (Message Driven Beans) to 
spawn mutliple threads and get the task done.

IIRC the J2EE specification forbids you from spawning threads inside the J2EE 
container, so you need to be aware that your application may not port across 
different servers in a consistent way. For instance security permissions, 
contexts etc. may not be consistent across different vendors or server versions.

An alternative approach is to create a large pool of MDB, and make each JMS 
message a separate request. We considered this approach, but decided that it 
wouldn't meet our performance metrics.

P.S. If you do get an approach like this working, I'd be interested to know how 
it does perform and scale in practice... there is a lot of theory on this, but 
I haven't seen any hard data one way or the other.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907759#3907759

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907759


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to