From: Brad C. <bra...@wo...> - 2002-08-26 22:39:05
|
to date, we have avoided using lazy loading when writing a web app in one of the standard mvc type frameworks (eg. struts, webwork, etc). this is because objects r typically retrieved, placed in the request attributes, session closed and control is then passed to the view (JSP, velocity, etc). if the view attempts to access a lazy loaded collection in one of the objects an exception is thrown as the associated session is closed. what do other people do? yesterday, i spent a few hours writing a very simple webapp framework that uses velocity for the view. it enables the velocity rendering to be done while a session is open. so far this is working quite well for us. comments? brad > _______________________________ > brad clow > chief technical officer > workingmouse >=20 > email: bra...@wo... > web: http://www.workingmouse.com >=20 |