Yep, the XHTML is what I'm referring to.

What takes so much time in a JSP engine is actually compiling
the generated .java code into a .class file.  So the "benefit"
of pre-compiling is an artifact of the fact that you're bothering
to generate a .java file in the first place.  Facelets doesn't
have to do that - xhtml file -> tag hierarchy, one step, instead
of jsp file -> .java file -> .class file -> loaded class -> tag
hierarchy.

-- Adam


On 2/28/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> Which xml are you referring to?
> I should have been more specific.
> I was referring to serving xhtml pages.
> Hopefully that is what you were referring to as well.
>
> Shawn
> -----Original Message-----
> From: Adam Winer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 28, 2006 12:44 AM
> To: MyFaces Discussion
> Subject: Re: facelets & compilation
>
> In my tests, Facelets shows pages faster than JSPs, pre-compiled
> or not.  The XML parse is extremely fast, and only happens
> once;  thereafter regular execution is much faster than JSPs,
> as there is no need to recreate Tag objects or constantly
> set properties, etc.
>
> The only significant advantage JSPs have over Facelets is
> better tool support.
>
> -- Adam Winer
>    JSF EG
>
>
>
> On 2/27/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > If you go with the facelets approach don't you loose your advantage of
> > having a pre-compiled JSPs?
> >
> > As far as initial load time and just regular overhead of serving the page?
> >
> >
> >
> > Shawn
> >
> >
> >
> >
> ****************************************************************************
> >
> > This email may contain confidential
> > material. If you were not an intended recipient,
> > Please notify the sender and delete all copies.
> > We may monitor email to and from our network.
> >
> >
> ***************************************************************************
> >
>
> ****************************************************************************
> This email may contain confidential material.
> If you were not an intended recipient,
> Please notify the sender and delete all copies.
> We may monitor email to and from our network.
> ****************************************************************************
>

Reply via email to