This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<sql: in JSTL ?

 
Karl Krasnowsky
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm curious as to how many programmers are using sql JSTL tags in their production JSP pages?
It would seem, given the heavy influence given the MVC pattern with J2EE development, that it was a bad decision to add this to the spec in the first place.
Just by the very nature of the functionality provided through this library simply breaks the Model/View paradigm. A tutorial I'm going through now says it should be used
for prototyping purposes only... in my experience to many "prototypes" make it into production applications. Hey, if it works, ship it!

~Karl
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Karl Krasnowsky wrote:I'm curious as to how many programmers are using sql JSTL tags in their production JSP pages?

Shame on any who are!

A tutorial I'm going through now says it should be used
for prototyping purposes only

Even the Spec says this!

... in my experience to many "prototypes" make it into production applications. Hey, if it works, ship it!

All too true! I never assume that I can cut corners with "prototype code". It always seems to have a way of finagling its way into production.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34371
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Karl Krasnowsky wrote:for prototyping purposes only... in my experience to many "prototypes" make it into production applications. Hey, if it works, ship it!

That's one advantage of having just HTML prototypes. Nobody can think they are production ready!
 
Karl Krasnowsky
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:That's one advantage of having just HTML prototypes. Nobody can think they are production ready!


Exactly... so why in the heck was it decided to add this to the standard JSTL? I think maybe a goof? (not really looking for an answer, there ARE worse things out there).

~Karl
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Karl Krasnowsky wrote:I think maybe a goof?

I think that it was a bit of a mis-step.

(not really looking for an answer, there ARE worse things out there).

Yeah, there are.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic