Just a note on this subject....

You know that you can get absolutely sweet decoupling from everything 
struts for your data model with the use of nesting objects?... And no 
messy property copying!

I wanted to get a simple persistence mechanism running for my form 
object, so I placed a little serialization logic into my action (Some 
app servers need their session objects to serialize also, like iPlanet). 
The struts action form wouldn't serialize for me so all I did was add an 
extra nest level and serialized from there down leaving my entire 
structure nothing but the data that I wanted. All the child objects 
implement serializeable, extend nothing, and know nothing of struts.

This is all elegantly managed in the JSP's with the use of the 
handy-dandy nesting extension. :)

That's my two cents.
If you want the code for what I just blabbed on about, mail me...
[EMAIL PROTECTED]


Arron.
(theKM*)
* I think, therefore, I nest ;)


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

Reply via email to