Can anyone tell me how to boost the performance of creating simple entity beans.
My current measurements result in only 1000 creations in 40 seconds.
I'm using a small EntityBean containing just three fields and JBoss 2.4.0 in combination with MySQL and Innodb tables.
I already have valid indexes on MySQL in place and I see that jboss is taking 80% CPU time and MySQL only 4%.
The slow creation and loading has to do with a composite key. Without composite key, things run approx. 50 times faster(!). Other reports in the forum point to jboss's CacheKey class, which tries to create some unique has from the composite key.