|
> Also, I think it likely this example is a little too abstract. A real > problem would have additional constraints that would probably > reduce the > choices -- and the arguments. I have thought about proposing > a little more > robust version of this problem for that reason, but > unfortunately, I don't > have the time and if I was wrong, oh, the posts I would generate! Thanks for your comments, Larry! You're right, the initial example was very abstract, but that's why I wanted to implement it. I saw that once I had it done, it would help me with a bazillion projects I'm working on now. So, basically what I did was create a table object that accepts information to query any DB on our network (actually, anyone it can get to with the JDBC drivers I have installed). It then returns the data in a table, with which I can do anything I want to. And it will return the data in any format (xML) that I want. This has proven to work very well with Joe's and Fred's help. But, I'm finding with this much abstraction trying to apply the details to a project (ie mainly xML formatting rules) is quite cumbersome. The hardest part being able to apply these details to abstract objects that aren't really meant to have these fine details. And in doing so usually breaking OO rules in the process. i'd love to see someone else's implementation of such an example. Joe, it sounds like you did this before as well. Do you have any sites that show examples of how it works? Or anything else? (Mine's all intranet.. I wish I could get it out there, but not right now... maybe on Netshare one day). Brad +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.