I thought about it some more, and now I think hibernate conversations are not the same as SEAM conversations...
But I should try it out someday before posting more blurred thoughts. n8han wrote: > > Remco Bos wrote: >> I first thought the conversations / workspace concepts could be usefull, >> and >> that SEAM could offer a better (or different) solution to the >> OpenSessionInView pattern to manage Hibernate sessions over requests. > > The Wicket community is (for now) oriented around IDetachable so it's > easier going that way. And I don't think detaching is a bad way to > work--I use it for everything. > > Unfortunately, there are situations it doesn't handle well with > Hibernate. If you make changes to an entity that you can't commit until > several (ajax or traditional) requests later, Hibernate wants them to be > in the same Hibernate session. The workaround, of merging the object > into a new hb session, is rickety. Yet no web framework wanted to do > long sessions. So it was a stalemate until Hibernate people decided to > just make their own web framework. > > But you don't have to bring in Seam to get conversational sessions in > Wicket. You can implement them under RequestCycle, as I've already taken > a stab at: > http://databinder.net/wsvn/Databinder/databinder/trunk/databinder/src/main/java/net/databinder/conv/DataConversationRequestCycle.java?op=file > > I'm not even sure what Seam would have to add; since Hibernate naturally > does conversational sessions, integrating them with a web framework like > Wicket is just writing a little code specific to that framework's > request cycle and page architecture. > > This will be labeled "experimental" in Databinder 1.1 probably, but it > worked very smoothly in the example I cooked up some time ago and have > let fall off the web (it will be back though; it's replacing the regular > phone directory app). It's interesting stuff, anyway. > > Nathan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Seam2-and-Wicket-tf4005340.html#a11498138 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user