This content has been marked as final.
Show 3 replies
-
1. Re: Entity Beans / Performance
ianlinsdell Jan 2, 2004 5:22 PM (in response to rseg.net)If you are using the supplied JBoss Hypersonic database,
it logs the SQL in the JBoss Hypersonic directory.
From there you will be able to see why its slow, most likley because its
submitting multiple SQL where It could have sumbitted one. -
2. Re: Entity Beans / Performance
julien.dubois Jan 2, 2004 7:31 PM (in response to rseg.net)Hi,
I see you're using JBoss 3.2.1, which was rather broken concerning CMP 2.x (see the Evil JBoss Matrix http://linuxintegrators.com/jbossBlog/), so the first thing you should do is upgrade.
After that, be sure to set your get*** methods as read only, and tune your strategy for loading EJBs (look up for on-find and on-load strategies).
HTH, -
3. Re: Entity Beans / Performance
rseg.net Jan 3, 2004 3:30 PM (in response to rseg.net)"julien.dubois" wrote:
Hi,
I see you're using JBoss 3.2.1, which was rather broken concerning CMP 2.x (see the Evil JBoss Matrix http://linuxintegrators.com/jbossBlog/), so the first thing you should do is upgrade.
After that, be sure to set your get*** methods as read only, and tune your strategy for loading EJBs (look up for on-find and on-load strategies).
HTH,
Thanks for the help. Just upgrading from 3.2.1 to 3.23 solved most of the problem. Now I'm process 10 transaction per second instead of 1 every 30 seconds.