The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


which has a better performance

Posted by Chet on September 13, 2001 at 9:16 PM

The first method clearly gives you better performance by a 27.34% margin.

By the way, I assume you are using JAXB.

> I need to parse an xml file ansd display it in a jsp file. The first thing i did was to make a class that run the parsing process, and then import it in the jsp file and call the methods.
> Then i realize that i could use a different way, that is to create another jsp file which runs the parsing proces, and include it in the other jsp file.
> Which of these to methods give me the best performance???
> please i need to know.
> thanks in advance, excuse my english


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us