|
Actually, I went a different route. I have my street object containing a vector of the properties on the street, and I store that object in a vector that I access from a *.jsp page to load up a DHTML page to show folders much like windows explorer does. Works nicely now. Only thing is I'm finding it takes a little while to load, but it could be because I'm running the server from WDSc on my local machine for testing purposes and it's not a very robust unit. P4 1.6 gig, with a gig of ram. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 Tel: 709-576-8132 Email: rpower@xxxxxxxxxx Website: http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill "David Morris" <David.Morris@xxxxxxxxxxxxx> Sent by: java400-l-bounces@xxxxxxxxxxxx 29/03/2005 01:01 PM Please respond to Java Programming on and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx> To <java400-l@xxxxxxxxxxxx> cc Subject Re: Vector of a vector? Ron, It sounds like you might find it interesting to look at design patterns. One group of design patterns address different structures you can use to build applications. Patterns like composite, flyweight and proxy. Design patterns can help you understand the consequences of your choice. There are lots of tools like Hibernate, JaxB, or iBatis built around various design patterns that can build the types of relationships you describe from data that is stored in database tables or XML documents etc. David Morris >>> RPower@xxxxxxxxxx 03/29/05 5:45 AM >>> That's what I was thinking of last night just before I went to bed. Now that you've verified it, I think that's the way I'll do it. Put a vector for the properties within the street class. Thanks, Ron Power -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.