I think we should try and follow the Java EE models as closely as
possible for this stuff. We should simply try and make the Java EE
code work outside EE 6.
e.g.
(1) use a resource declaration with @PersistenceContext(unitName=....)
to define a managed persistence context
(2) use JBoss Transactions to manage transactions in a servlet engine
- so instead of having a special tx manager for JDBC, it is just JTA
Or is the 10meg download for JBoss Transactions just no good?
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org