[jboss-user] [EJB/JBoss] - Re: Problems using Extended Persistence Context

waynebaylor do-not-reply at jboss.com
Thu Oct 4 11:32:22 EDT 2007


you're client is using a new session bean for each lap. try changing it to:
...
  | // lap 2
  | peliculas = proceso.listarPeliculas();
  | showPeliculas(peliculas);
  | proceso.grabar();
  | System.out.println("Lap 2 OK!"); 

each time you do a lookup for a stateful bean you'll get a new one.

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

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



More information about the jboss-user mailing list