CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Perormance JSP vs Servlet

Print topic Send  topic

Author Message
maxq

Posts: 15
Posted: 10/23/2006, 3:24 PM

Hi!

Do anybody know if there are any difference in performance on the JSP vs Servlet code language?

I would guess JSP would be more efficient because the jsp file is compiled, while with the servlet version the html template has to be formated for each run. Anybody know if I'm wrong with this?

View profile  Send private message
dexter

Posts: 6
Posted: 10/24/2006, 4:27 AM

JSP are usually compiled to servlets by the server.

Check out
http://www.devx.com/tips/Tip/25217
http://www.theserverside.com/discussions/thread.tss?thread_id=1203
http://forum.java.sun.com/thread.jspa?threadID=531586&messageID=2561649
View profile  Send private message
LH_13

Posts: 30
Posted: 10/24/2006, 4:43 AM

Yes. Perfomance if different, but it doesn't metter.
Because it's minor value in comparison with time to DB data access.

JSP parse model xml. This opertion need time too.
Time to read data from drive need much mope time, then parsing template or model.

So if say exactly, differents in speed depend of file-es size.
And then from choosen technology.
_________________
Sorry my english!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.