Hi
As per the generation of servlets from JSP it is different from one jsp engine to
other jsp engine. Every jsp engine has there own convenient way of converting jsp into
servlets. I guess the developers of those engines has taken care of efficient servlet
coding.
The basic aim of JSP is to divide the role of a java developer and a creative
designer. Normally in web applications front end is more important(in context of
showing otherwise it is always performance and efficiency which matters for a stable
application) as it is the only thing which is visible to users. I think the front end
overrides performance and efficiency by a slight margin. If you have separation of
html and java then it is always easy to maintain it as if somebody wants to do a
slight change in html one can always do that without the need of compiling the java
servlet code.
Otherwise i think one can always write an efficient servlet, if he/she is coding it.
My view is use JSP to show mainly for the purpose of showing fron end while use
servlets in between for all the business logic.
But it depends what matter.........
and the argument goes on.....
cheers.....
----- Original Message -----
From: "Vikram Gokhale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 13, 2000 1:24 PM
Subject: Performance comparison Servlet / JSP / SSI
> Hi all,
>
> I am currently involved in performance improvement efforts for a project
> which uses servlets. As one of the parts of this exercise I am also looking
> at JSP option in place of servlets. But as I understood JSP there is no
> performance improvement which can be achieved using JSP over servlet. This
> is because JSP gets converted into servlet code itself.
>
> What I was thinking initially is that only java code is converted into class
> and not the static part in the jsp. But even static html elements are
> wrapped in the servlet response. The advantage with JSP is less coding. You
> save yourself from the efforts of wrapping entire html code using response
> object using out.println() statements. This is no doubt much more
> convinient.
>
> But as per my knowledge this can also be done to some extent using SSI
> Server Side Include ). Then why there is so much hype of jsp when code
> becomes unreadable and difficult to debug?
>
> Can anyone tell me whether JSP has any advantages when it comes to
> performance. Could it be that Web Server will generate servlet code from jsp
> which will be efficient that programmer writing it?
>
> Many thanks,
> Vikram.
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
Thanks & Regards
Bhushan Bhangale
Consultant
http://www.netacross.com
Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html