Investigating Seam, I now have another "how would you do it" question. I think it's silly, but anyway:
So far, I've been using the GenericDAO pattern and I want to reuse it with Seam. My GenericDAOBean's EntityManager is not EXTENDED type, and my *DAOBeans are all Stateless; this has been OK so far. But in the Seam reference, some examples (like the MessageListBean from the tutorial) is stateful and uses an extended EntityManager; I suppose using a stateless DAO bean inside it instead of the EntityManager is therefore not an option. I could just make all the *DAOBeans stateful but I'm not sure it's the right thing to do. So, how can I reuse the DAO beans inside the Seam session beans? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933635#3933635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933635 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user