Hi!
  
  I'm building an application usign seam but with a more traditional 
architecture having an Action layer that uses a facade layer that in turn uses 
a DAO layer.

  The reason for this is that I have a non-web interface that must also use the 
EJB tier and I would like to optimize code reuse.

  Usualy the action calls the facade that calls one or more daos.
  The entitymanager is injected normally into the daos.

  It all went well until I needed conversations. Now a conversational Action 
has an extended type PersistenceContext associated with it and I need to use 
this one in the DAOs to be able to make commit or rollback over the entire 
conversation when it ends.

  All the examples I've seen seem to incorporate all the JPA queries in the 
actions themselves. 

Is it possible to do things my way and still use conversations???




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024959
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to