[jboss-user] [JBoss Seam] - Re: Basic Seam questions

gavin.king@jboss.com do-not-reply at jboss.com
Tue Dec 19 10:02:04 EST 2006


Seam doesn't do anything in those cases. new window does not hit the server, nor does the back button. This is just the behavior of your web browser. We just leverage what your browser does.

You only need persist() when you want to take a new object, and make it persistent. You never need persist for updating existing managed objects. This is basic Hibernate/JPA, and one of the reasons why extended persistence contexts are good. The fact that this does *not* happen in stateless architectures like SLSB facade or Spring, is one of the reasons why those architectures are, IMO, broken.

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

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



More information about the jboss-user mailing list