I just read a few chapters of Bitter EJB. A large part of the book is about how to avoid state. Allthough stateless session beans were not designed to be that important, they now play a central role in J2EE. The consequence is that large parts of the J2EE community got back to procedural programming again; talking against this flat layer of 'services' passing rather flat 'value objects'. I don't think the Java community at large benefitted greatly from that (sure, I'm just a guy, could be wrong as hell ;)). In my view of the world, stateless session beans and page pooling are perfect examples for premature optimization. Page pooling can be cheaper in terms of object creation, but don't forget the page state has to be re-applied too somehow (btw the performance hit of client session saving state is pretty big in that respect), and there is probably more synchronization to do. A pro for pooling is that memory usage is more constant, and thus the server can be better tweaked. But I don't think the gains (performance and theoratically scalability) are worth the con: loosing state.
Eelco ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
