Hi there ... :-)

I'm involved in a small project to convert from a
Hibernate backend, to OJB. 

The presentation tier uses Struts and JSTL to render
pages.

I was wondering how you OJB handles collections
attached to objects, that need to be rendered in the
JSP pages. For example, if I have an Order object that
contains a collection of OrderLines, and I want to
create a page to display the whole order, then what is
the bst way to handle this?

Is it best to copy the whole Order and OrderLines into
some kind of VO, and then send that to the page? Or do
you use the Hibernate approach of leaving the session
open for the whole request cycle, so that the JSTL on
the page, can access the collection directly from the
Order object?

Hope that makes sense ... :-)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to