Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

'open session in view' in struts

  Asked By: Jamil    Date: Apr 05    Category: Java    Views: 967

I want to use 'open session in view' pattern for loading objects lazily in hibernate. As I found out, Spring framework supports this pattern, but I am using Struts and I dont want to switch to Spring just for this reason. I am wondering if struts supports this pattern our is there any other solution for this problem



1 Answer Found

Answer #1    Answered By: Oliver Evans     Answered On: Apr 05

You don't need to use a lightweight container like
spring to go through Session in View pattern. Here's
the hibernate  solution : http://hibernate.org/43.html
and Karl Baum's weblog is the reference for the
Spring people who use hibernate. You might find it

Didn't find what you were looking for? Find more on 'open session in view' in struts Or get search suggestion and latest updates.