JSP vs XSLT?  
Author Message
gilgantic





PostPosted: 2/16/2005 1:58:00 AM Top

java-programmer, JSP vs XSLT? Which is better JSP or XSLT? I prefer JSP for two reasons performance
and less complicated to learn.

JSPs are compiled one time, then cached, unless the code changes. This
not the case with XSLT, as I understand it.

XSLT is very complicated to learn, in my opinion.

See this article by IBM on JSP vs XSLT:
http://www-106.ibm.com/developerworks/websphere/techjournal/0405_brown/0405_brown.html#sec9

 
kaeli





PostPosted: 2/16/2005 3:12:00 AM Top

java-programmer >> JSP vs XSLT? In article <email***@***.com>,
email***@***.com enlightened us with...
> Which is better JSP or XSLT? I prefer JSP for two reasons performance
> and less complicated to learn.
>

<my_2_cents>
They are two totally different technologies, really. Not all that comparable
except in the scope of an MVC model where presentation is *completely*
separate. IME, only the most pure B2B apps actually do this.

As to learning curve, again, unless the presentation layer really is
completely separate, JSP uses scriptlets. Which means the person doing it has
to know Java. And it took me a hell of a lot longer to learn java than XSLT.
</my_2_cents>

--