It seems to me that Domify should work well for ResultSet according to the desc./instruction. But when I used it, it just took forever(seems infinite looping) and outputing a lot of junks. It worked with a small test bean, though. Anyone has experience with domifying a ResultSet? I only want to turn a ResultSet that has data into a Source. Thanks for your inputs in advance.
Tony Yan<br /> <br />IBM Certified Developer XML and Related Technology<br />Sun Certified Web Component Developer For J2EE Platform<br />Sun Certified Programmer For Java 2 Platform
Tony Yan
Ranch Hand
Joined: Apr 10, 2002
Posts: 170
posted
0
Looks like I have to define some model that builds up the records from the ResultSet.
Tony Yan
Ranch Hand
Joined: Apr 10, 2002
Posts: 170
posted
0
DOM trees, are, well, trees, whereas Object graphs can be cyclic. Domify does not check for cycles, so if you have cycles in your object graph, the tree will appear to continue on and on and on and on... Domify has special handling for java.util.Collection and java.util.Map, converts any of the basic java types (int, Integer, String, etc) to text nodes, and treats everything else as a JavaBean. The next version of Domify will have a pluggable arrangement so that special handling can be applied to any class.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.