My experiences with JMS are lackluster when it comes to performance.  We need 
all of our queues to be persisted, so that slows us down a bit.  And under 
heavy load, the system can come to its knees.

Since the main reason for using JMS is to enable asynchronous processing, why 
not drop JMS in favor of:

1.)  A stateless session bean that persists the object to be processed in a 
database.  (optional)
2.)  Use a timer service that queries for those persisted objects and then 
process them in batch order.

I am wondering if all of that queue management stuff that goes on in JBoss is 
really worth it in certain circumstances.  Especially if most of the consumers 
to your queues are MDBs.

In fact, you really would not even need to write a stateless session bean if 
you didn't want to.  You could just use hibernate to put a record in a table 
somewhere that the timer finds.

Thoughts?



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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to