This content has been marked as final.
Show 3 replies
-
1. Re: Data processing with Creation-Expensive Beans
camel Aug 5, 2004 9:23 AM (in response to deutinger69)You can limit the size of your MDB pool through JBoss's configuration. It probably ships with a decent, conservative default setting so you won't exhaust your resources. I don't remember the details of changing this, but it's in the free documentation: http://www.jboss.org/docs/index, and probably the wiki as well.
JBoss should automatically handle reusing the MDB instances. -
2. Re: Data processing with Creation-Expensive Beans
deutinger69 Aug 5, 2004 9:44 AM (in response to deutinger69)@camel
This is the solution I consider at the moment. I'm just wondering whether someone has *the* brilliant idea - cause class variables or singletons are no option for MDBs. -
3. Re: Data processing with Creation-Expensive Beans
genman Aug 6, 2004 2:32 AM (in response to deutinger69)
There is the famous SingletonMessageDrivenBean -- take a look at standardjboss.xml in JBoss 3.2.5. Or, store your crap in a MBean, which is effectively a singleton.