On Wed, 2002-06-05 at 10:14, Tobias Seelinger wrote: > Hello Marius, > > Wednesday, June 5, 2002, 9:38:27 AM, you wrote: > > MK> On Wed, 2002-06-05 at 09:28, Tobias Seelinger wrote: > >> > >> HH> The funny bit is that when I run my app on separate JBoss 3.0 and Tomcat >4.0.3 instances, performance is acceptable. (Well, almost, it is not a blazingly fast >machine ...) > >> HH> I'll keep on running Tomcat separately, but I will test the Jetty bundle also >and compare the performance. > > MK> But jsp should NEVER (i think) call entity beans directly! If you do, > MK> you get one transaction per call (if not turned off), and this creates > MK> no good transactions either. Let the jsp call a session bean that does > MK> the work (and much less calls between the session-bean and jsp, i.e. > MK> large methods like "order", registerPerson etc.). > > Of course, you are right. I have explained my architecture a bit lax. > The calling sequence is: servlet - struts action - statless session > bean - entity bean. So I have 80 session bean calls. Of course this > could also be optimized, but nevertheless it shouldn't lead to such > performance problems (or even JVM crashes). OK. But if it is the CMP-calls that is slow, try changing the commit option. Default in 3.0 is to check the db for every call, in case of access direct access to db outside jboss.
> > > Tobias > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user