gavin wrote:
Note that even if you do need clustering you probably don't need EJB. However, if you need a clustered cache - for example the new Hibernate 2.1 support for clustered caches, you do at least need JTA, which probably implies session beans.
After all, EJB CMT just delegates to the JTA subsystem of the respective J2EE container. So even if you need to work with JTA for whatever reason, you should be able to use programmatic demarcation via plain JTA - or preferably the Spring Framework's transaction management with JtaTransactionManager as strategy, for more convenient demarcation means and more reusable business object implementations.
Juergen
(Spring Framework developer)