• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Future of JSP

 
Anselm Paulinus
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the different new frameworks like tapestry, JSF which can conveniently supplant what JSP currently does. What is the future of JSP?
 
Bryan Basham
author
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know about Tapestry, but JSF is built on JSP.

There is a current JSP v2.1 maintance spec that brings the JSF and JSP EL languages into closer alignment.

-Bryan
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know whether there are anything that replace JSP in future, but what I see now is, the JSP scriptlet is going to be replaced by custom tags.

As more and more people talking about minimizing the scriptlet (and even HTML code) by taglib, you may expect that the codes inside JSPs will finally become tags.

Nick
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think, future of JSP is comming to Expression Language/Custom Tag because it make readable code and easy to learn BUT coming with overhead too.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In fact, I feel EL simplifes the coding effort, while custom tag does not.

Developing a set of custom tag that includes presentation stuffs, like style, etc, would higher affect the development time. The more convenient tags, the higher complexity of the coding.

Nick
 
Anselm Paulinus
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well the tapestry framework follows a different paradigm, not built on JSP, but rather on Open Graphics Navigation Language OGNL Take a look at (http://www.ognl.org) at the presentation layer, while the back-end is still Java based and theoretically servlet as it runs on top of servlet. Internally anyway; OGNL is Java based, but the point is that it totally eliminates the need for JSP at the presentation layer while still retaining all the advantages that comes with Java or JSP application and more. Take a look at this link for a start http://www2.cpttm.org.mo/cyberlab/softdev/tapestry/.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is somewhat like the WSBCC framework provided by IBM that do not require JSP for presentation.

However, depends on the popularity of the technologies, seems that JSP is still the majority of presentation in Java-based web applications.

Nick
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic