"Jason Hunter" <[EMAIL PROTECTED]> wrote:
> I just posted a new article to Servlets.com titled "The Problems
> with JSP" that will be of particular interest to the people on
> this list. From the first paragraph:
Just like to add my 2c on this topic:
[note: this is my opinion: please don't be offended]
One of the main problems with JSP is it's origins: copying a Micro$oft
product (ASP) is not necessarily the right way to start off! In fact, upon
original release it looked to me like a somewhat flaky research project that
had been picked up and shoved out into the world by the Sun marketing dept.
in an effort to compete with M$!
If someone at Sun had had their thinking hat on they could have made a much
nicer version of JSP by giving up on M$ "compatibility" and making the
following changes:
- a tag library from the start, with standard tags for looping, etc
- simple syntax for accessing variables, etc in HTML without resorting to
overly complex XML stylee
- NO java code allowed to be embedded in the HTML!
- avoiding "compiling" JSP pages into class files (not necessary when no
java code)
This much was obvious to me anyway 18 months(?) ago when JSP 0.90 was
released: I looked at it and went: "sigh". It's weighted far to much in
favour of developers.
To my mind: it should be like so:
- JSP (or similar) is for HTML people
- Servlets / Beans are for Java developers
For those who are interested in such things: Anders Kristensen published a
paper a couple of years back that describes a JSP-alike system which would
have been a much better starting point than ASP!
http://www-uk.hpl.hp.com/people/ak/doc/trix-tr.html
This is maybe a good halfway house between a full template based system ala
WebMacro and the current JSP....?
Actually, looking back perhaps I ought to have constructed a similar
article
and posted it way back at 0.90 stage but then I don't have the "brand
recoginition" of JH! :-)
Anyway, "big ups" to JH for the article to get people talking!
Cheers,
Geoff
===========================================================================
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