[jboss-user] [JBoss Seam] - Stateless DAOs and SMPC

fabricio.lemos do-not-reply at jboss.com
Wed Feb 14 18:59:33 EST 2007


I just implemented my first Seam conversation and now I want it to use a Seam-managed persistence context. 

I have SFSBs accessing SLSBs DAOs. Reading the posts I could see two ways of doing this: 

1. Implement my DAOs as Stateful Seam components. 
2. Declare the EM not only in DAOs, but also in the SFSBs.

First question: are these ways correct?
Second: These two ways seems to be a little strange solutions. Are there other ways?

thanks in advance,
Fabrício Lemos

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016757#4016757

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016757




More information about the jboss-user mailing list