Hi all, currently I evaluating Seam for use in several our projects and have question about conversation and Seam managed persitence context. I'm trying to create reusable DAO components with statefull persistence. Since these DAOs are reusable the entity manager scope depends on logic in Business components too. One of solution was to inject Seam managed extended persistence context which scope is Conversation. But the problem comes when some isolated from current conversation CRUD or search operations should be performed in Business component. Does Seam support creation of isolated, nested business layer (UI independent) conversations? In my tests annotations @Begin(nested=?true?) and @End does not help and always the same Seam managed entity manager instance is injected to DAOs. Entity manger component is created, destroyed and etc only after UI events like ?afterPahese()?. Have I missed some Seam functionality or Application managed extended persistence contexts should be used in this case?
Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946085#3946085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946085 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user