Where do you get the NodeIterator from? http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/class-use/NodeIterator.html
You can also try to get a thread dump from the java process while it runs through the iterator. that will give you a hint where the time is spent.
regards marcel Sridhar Raman wrote:
I have a NodeIterator variable iter with 2000 elements. When I do an iter.hasNext() or an iter.next(), the program takes a very long time to execute the call. Is there any solution? I am not using jackrabbit 1.2.1 yet. Should I? Would it help? Thanks, Sridhar
