VERSIONARY::BLOG






Recent Entries
firefox os x tricks
Let your Struts DispatchActions Fall through
thoughts on tapestry
#1
Netgear WGR614v2 stinks!
10 years? oh my
Riding through Chernobyl
Thoughts on Class Naming
One Tabbed Browser to Rule them All
The Fog of War


Monthly Entries
October 2004
August 2004
July 2004
June 2004
April 2004
March 2004
November 2003
October 2003
September 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Links n' Stuff

Wil Wheaton

JGuru
IntelliJ Tech Net
Oracle Tech Net
The Serverside
Javaranch Forums
JavaLobby

Coast to Coast
Terry Tate: My Hero



Categories
everything else
java
 


March 20, 2003

JSTL make JSP viable again?

Will JSTL/JSP2.0 make Velocity advocates think again about using JSP for new projects or is it too little too late?

If you saw Velocity and JSP2 in a project intermixed depending upon the situation what would you think? Is that a bad design strategy? Do you think it would be inconsistant or swiss army like efficient, I'm not sure what I'd think, I can see it both ways.

It might worthwhile to pick and choose your view in certain situations perhaps, they dont really have to be mutually exclusive.

Right now I'm thinking JSTL/JSP2 is pretty cool if they have to be mutually exclusive I'd choose it, but I'm open for dialogue.

Posted by Andre Mermegas at March 20, 2003 12:00 PM | TrackBack
Comments

JSTL is too much too late. I mean really, tags to do SQL queries? That's so 1995 ColdFusion. I think it's just another case of Sun continuing to push the JSP solution that is just a bad design.

Posted by: Jason Carreira on March 20, 2003 01:24 PM

Haha yeah, I was thinking the same thing about the SQL tags, but I just dismissed them, and looked at the other stuff, which seems pretty good.

Posted by: Andre Mermegas on March 20, 2003 01:52 PM

I agree with Jason, JSTL is just one more step in the wrong direction from Sun. I dropped JSP quite some time ago and haven't looked back since.

Posted by: Anthony Eden on March 20, 2003 02:44 PM

Interestingly enough, I'm a big fan of Cocoon and the amazing job it does at abstracting away the UI from the content format. What I have begun doing recently is using a combination of custom 'generators' - which are a cocoon concept which simply generate XML for a request, and JSTL JSPs. I use JSTL and JSPs to generate XML/HTML messes that simply can't be managed with a clean content DTD for XML exclusively (i.e. pages with forms and with control links). These pages also have the advantage of being able to harness the dynamic control of JSPs very minimally, such as re-filling form fields, and producing iterations of links.

Before I get some nasty comments, let me say I did and do use XSP when I can, but, JSTL currently produces MUCH cleaner code than most XSP pages of the same flavor. If XSP supported EL, I would use XSP in a heartbeat (hint hint :) ).

The Core tags for JSTL are really useful to help produce dynamic results for pages. The EL allows for very clean, very decoupled traversal of request/session/page attributes - which are the only things any JSP page I write relies on.

Again, however, this isn't support for JSP alone, it's simply a different way to use JSP to produce a favorable, clean result. This allows me to still rely on Cocoon to manage presentation of my site.

Posted by: R.J. Lorimer on March 20, 2003 03:15 PM
Post a comment



















October 2004
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31