[jboss-user] [JBoss Seam] - Re: PAGE scope and Ajax dataTable scroll

demetrio812 do-not-reply at jboss.com
Thu Nov 15 17:24:10 EST 2007


This is my bean:


  | @Name("myBean")
  | @Scope(ScopeType.PAGE)
  | public class MyBean implements Serializable {
  | 
  | @In (create=true)
  | EntityManager entityManager;
  | 	
  | ...
  | 

I understood that the cause is because the short session of the entityManager session but as it is a seam component (and not an EJB), how can I extend the persistence context?

Is there some way as for long-running conversations?

or have I to use EJB?

Thanks

Demetrio Filocamo

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

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



More information about the jboss-user mailing list