I'm not sure how familiar anyone here is w/ Seam and how it applies to JSF when working w/ EJB3...but I thought I'd bring this up anyhow.
You'll have to forgive my ignorance as I'm not entirely clear *how* Seam works internally and haven't built a project w/ it yet...but it seems to ease the pain that Hibernate users have long experienced w/ LazyInitializationExceptions. I realize there's some sort of solition for plain 'ol Hibernate users in wicket-stuff, something about Spring? However, it's a different story when using EJB3 in the JBoss container w/ container-managed persistence. Apparently, Seam creates a long-running Hibernate session in the container that supposidly eliminates the LazyInitializationException. I've gotten quite comfortable w/ Wicket and hope to continue to use it for projects here at work...however working around lazily-loaded collections in EJB3 is becoming messy for me at times when the domain model becomes more than trivial. I have a great distaste for JSF and would rather not use it, believe me, but Seam is very compelling for large, complex projects where the LIE exception will be come much more likely. How hard would it be to implement something like Seam has to ease this problem? That is, assuming no one has come up w/ a solution yet...if there is one, please let me know! I've mentioned something like this in passing before and have gotten the usual response, which is "you need to use a session-per-request pattern". The problem is; I'm using a container...I don't have control of the hibernate session, the transactions (per se), etc. In an entirely container-managed environment I don't have the options I would w/ plain Hibernate. Thanks in advance! ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
