Kirdorffer,
Thanks for your message. I assume the JSP preprocessor has to generate Java
code using servlet in a fairly generic way. It is like the performance different
between C++ and assembly. If you hand write assembly, you probably has higher
performance. Nowdays, however, the different between C++ and assembly is not
great for most applications, so people choose C++. Is it true that the JSP to
Servlet compilation is so simple that performance difference between JSP and
hand written Servlet is very minimal?
Jeff
"Kirkdorffer, Daniel" wrote:
> Actually apples to oranges wouldn't be quite right. After all, JSP's once
> compiled are basically servlets. Therefore I JSPs don't really add any more
> overhead than a servlet. Both get loaded into memory. The JSP file simply
> undergoes the one time compile the first time the JSP is served up.
>
> If you use servlets, you can create JSPs to house the HTML you once placed
> in a servlet.
>
> As for stability, keep in mind that although the 1.0 specification is new,
> the vendors have been producing engines that have supported JSPs since the
> 0.91 days dating to summer 1998. So although the spec was in beta form, the
> engines were not. They have been very stable as far as I'm concerned.
>
> IBM has actually pledged backward compatibility in their WebSphere 3.0
> offering, so they will not only support the latest JSP spec, but will
> continue to also support the 0.91 spec. That means I can upgrade to the new
> spec on my schedule, not theirs.
>
> Dan
> --
> Daniel Kirkdorffer
> NACN IS: 425-580-6225
> Sr. Consultant, Syllogistics LLC
> Email: [EMAIL PROTECTED]
> Web: http://www.syllogistics.com/
>
> > ----------
> > From: Jeff Chen[SMTP:[EMAIL PROTECTED]]
> > Reply To: [EMAIL PROTECTED]
> > Sent: Monday, October 25, 1999 12:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: Performance between JSP and Servlet
> >
> > I know the comparison between JSP and servlet is apple to orange. I
> > guess the real
> > question is much overhead JSP adds on top of Servlet. Overhead in terms of
> > speed and
> > memory usage. I am thinking about using Servlet/WebMacro combination. Any
> > thoughs or
> > pointers are appreciated. Since JSP 1.0 is fairly new, is there reason I
> > should be
> > concerned about its stability from popular vendors.
> >
> > Jeff
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Bid and sell for free at http://auctions.yahoo.com
> >
> > ==========================================================================
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> >
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html