HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 19304 thumbnail
User 111696 avatar

By bloid
via weblogs.java.net
Published: Apr 18 2007 / 22:24

That’s supposed to be a rhetorical question, of course they’re dead. They died a long time ago when it dawned on us that they were nothing but untestable, overweight slobs that only ever existed because of ASP. Anybody who ever used JSPs has at some point, sworn by them, marveled at how great they are and felt really, really excited to write actual Java code inside pages. But it was only a matter of time until some of the lesser known facts about JSPs became more and more prevalent to the point of that templating languages were forced into creation to combat the shortcomings of Java Server Pages.
  • 13
  • 15
  • 2113
  • 0

Comments

Add your comment
User 111696 avatar

bloid replied ago:

0 votes Vote down Vote up Reply

An opinion piece, and an opinion I don't agree with, but hey-ho...

User 221988 avatar

krishnas replied ago:

0 votes Vote down Vote up Reply

i don't agree. AJAX may not replace JSPs. but sun will reinvent serverside components to fit with the AJAX

User 206915 avatar

jcunningham replied ago:

0 votes Vote down Vote up Reply

i totally disagree with the article too

User 107114 avatar

daniel replied ago:

1 votes Vote down Vote up Reply

I kind of agree with what he's trying to say. I mean, pure JSPs really aren't such a good idea. It's a much better practice to use something like Wicket or Tapestry. However, I'm not so naive as to think that AJAX is even a peer to the JSP technology. That's like all the discussions I've read about Rails replacing MySQL...

User 217678 avatar

mostlyharmless replied ago:

1 votes Vote down Vote up Reply

Thank you, Daniel for pointing out the most obvious thing that people are ignoring, or at least not commenting on. AJAX != JSP. Its two different things entirely.

If the author of this article is suggesting that coding in scriplets in JSP is dead, then I'd say welcome to 2002.

Its a weak article, as denoted by all of the voters against this link. I personally have never seen an article get so many negative votes.

User 190346 avatar

ilazarte replied ago:

1 votes Vote down Vote up Reply

rails replacing mysql? they must mean sqlonrails ;)

User 209464 avatar

willcode4beer replied ago:

1 votes Vote down Vote up Reply

One could simply NOT put java scriptlets in the JSP's (which is the way its supposed o be anyway).

User 226091 avatar

ggeremy replied ago:

0 votes Vote down Vote up Reply

This is obviously a tongue-and-cheek article. I don't think he means they're literally dead but are getting considerably phased out. His assessment of Ajax is very accurate. I prefer using a light template tool like StringTemplate to return mini-Ajax views than JSPs, it makes the most sense.

As AJAX is becoming more and more popular, JSPs are getting further phased out. Lot of developers prefer to return chunks of HTML from the server rather than an actual dispatched forward. A lightweight and powerful template language is much more suitable here as your AJAX interface view will be an aggregation of snippets of HTML returned from the server. Doing this using JSPs would add a level of complexity that is both undesired and unneeded.

User 226091 avatar

ggeremy replied ago:

0 votes Vote down Vote up Reply

A nice discussion of this provocative topic:

http://www.theserverside.com/news/thread.tss?thread_id=45080

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.