I don't like the AndroMDA solution A DAO should be represented as a @Staleless session beam where @PersistenceContext EM em is used to inject the appropriate EM
The transaction is started regarding the @TransactionAttribute annotation, this is very much like EJB2 except that you can define one of the transaction strategies through annotations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925600#3925600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925600 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
