The Source for Java Technology Collaboration
User: Password:



Simon Brown

Simon Brown's Blog

Professional JSP, 3rd Edition (Apress) to be released soon

Posted by simongbrown on August 06, 2003 at 08:09 AM | Comments (4)

Well ... it looks like our work on Professional JSP, 3rd Edition (previously titled Professional JSP 2.0, and now to be published by Apress) is almost at an end. It's currently slated for a September release and Amazon is now listing it, albeit with an incorrect authors list. I imagine that Sam, Dave, Matt and the other authors are looking forward to this being released as much as I am.

If you've not seen it, the JSP 2.0 specification provides some great new features that I think will really change the way that JSP-based web applications are developed in the future. Finally we have a native JSP expression language and this makes building templated pages much easier, without leaving the JSP environment. Another big improvement is the introduction of tag files and simple tags. These are both ways to easily build custom tags with JSP syntax or Java code respectively. Here's an early excerpt from one of my chapters back when in the days when it was going to be published by Wrox. There's some great new stuff coming our way and I can't wait for Tomcat 5 to become rolled out and production ready.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Code/Markup seperation?
    Last I checked JSPs (which was quite some time ago) they made the fatal mistake to assume that I (the programmer) was creating html pages.
    Has this situation changed? Is it possible to have a clean seperation of logic and markup in the 2.0 spec?

    And related; can the server (servlet) manage what is available in JSP, so when I write a correct server pages can't compromise any security measures I put in the server?

    Love to hear how much JSPs have grown!

    Posted by: zander on August 06, 2003 at 09:22 AM

  • Code/Markup seperation?
    I remember seeing JSP unveiled at one of the JavaOne conferences several years back (1999/2000?) and, as they were going through the presentation, I was sitting back in my seat thinking, “on no, why on earth would I want to build web applications like this”. You’re right, the early versions of JSP didn’t enforce or allow much of a separation of concerns and all sorts of different types of logic were just thrown together on the page. Fast forward to recent versions of JSP and it’s a whole different story. Of course, you can still build JSP-based web applications in the same way as before, by writing HTML content and embedding lots and lots of Java code. This works, but it will lead to a maintenance nightmare. However, there are now several ways in which to build JSP-based web applications that allow a tidy separation of concerns. One of these is to adopt an MVC-style (aka model 2) architecture to your web application where JSP pages are simply used to render information back to the users. All of the hard work is performed by controller component(s) that operate on the data contained within the model. Another option is to use JSP custom tags (taglibs) to wrap up recurring functionality and expose this as XML tags that are used on the page. In any web application you’ll typically find a mixture of both. After all, some logic will be related to the process of servicing the request (e.g. updating customer details), while some will be associated with presenting information back to the user (e.g. formatting). JSP 2.0 makes much of this easier still because of the introduction of the expression language and the simpler ways in which custom tags can be built. With JSP 2.0, I think we’ll start to see many more JSP pages that are completely free from Java code, and hence logic.

    Posted by: simongbrown on August 07, 2003 at 03:38 AM

  • 网络è¥é”€è½¯ä»¶
    网络è¥é”€è½¯ä»¶
    网络è¥é”€è½¯ä»¶
    群å‘软件
    群å‘软件
    ---
    群å‘软件
    网络è¥é”€è½¯ä»¶
    论å›ç¾¤å‘软件
    网站排å软件
    群å‘软件
    推广å°åŠ©æ‰‹ç ´è§£ç‰ˆ
    论å›ç¾¤å‘软件
    网站排å软件
    群å‘软件
    推è给你很好的群å‘软件和信æ¯ç¾¤å‘软件和供求群å‘软件
    推è给你很好的群å‘软件和信æ¯ç¾¤å‘软件和供求群å‘软件åšå®¢ç¾¤å‘软件网络è¥é”€è½¯ä»¶ç½‘络è¥é”€è½¯ä»¶
    网站排å软件网站排å软件网站优化软件信æ¯ç¾¤å‘软件信æ¯ç¾¤å‘软件信æ¯ç¾¤å‘软件论å›ç¾¤å‘软件网站推广软件网站推广软件åšå®¢ç¾¤å‘软件åšå®¢ç¾¤å‘软件

    群å‘软件群å‘软件åšå®¢ç¾¤å‘软件论å›ç¾¤å‘软件网络è¥é”€è½¯ä»¶è®ºå›ç¾¤å‘软件
    ä¿¡æ¯ç¾¤å‘软件推广软件网站推广软件网络è¥é”€è½¯ä»¶ç½‘站推广软件群å‘软件网站排å软件网站推广软件åšå®¢ç¾¤å‘软件论å›ç¾¤å‘软件群å‘软件网站排å软件网站推广软件åšå®¢ç¾¤å‘软件论å›ç¾¤å‘软件
    网站排å软件
    åšå®¢ç¾¤å‘软件
    网站排å软件
    网站推广软件
    群å‘软件信æ¯ç¾¤å‘软件
    å…费论å›ç¾¤å‘软件
    论å›ç¾¤å‘软件
    网站排å软件
    å…è´¹åšå®¢ç¾¤å‘软件
    网站推广软件

    群å‘软件
    åšå®¢ç¾¤å‘软件
    网站排å软件
    网站推广软件
    群å‘软件信æ¯ç¾¤å‘软件
    å…费论å›ç¾¤å‘软件
    论å›ç¾¤å‘软件
    网站排å软件
    å…è´¹åšå®¢ç¾¤å‘软件
    åšå®¢ç¾¤å‘软件
    ä¿¡æ¯ç¾¤å‘软件
    论å›ç¾¤å‘软件
    ä¿¡æ¯ç¾¤å‘软件
    åšå®¢ç¾¤å‘软件
    qq群å‘软件
    邮件群å‘软件
    åšå®¢ç¾¤å»ºè½¯ä»¶
    ä¼ä¸šå录æœç´¢è½¯ä»¶
    ä¿¡æ¯ç¾¤å‘软件
    邮件群å‘软件
    论å›ç¾¤å‘软件
    åšå®¢ç¾¤å‘软件
    网站推广软件
    网络è¥é”€è½¯ä»¶
    全能è¥é”€ç ´è§£ç‰ˆ
    网络è¥é”€è½¯ä»¶
    论å›ç¾¤å‘软件
    论å›ç¾¤å‘软件
    论å›ç¾¤å‘软件
    网络è¥é”€è½¯ä»¶
    ä¿¡æ¯ç¾¤å‘软件
    ä¿¡æ¯ç¾¤å‘软件
    ä¿¡æ¯ç¾¤å‘软件
    群å‘软件

    Posted by: mimi9989 on December 06, 2007 at 06:25 AM

  • wow power leveling
    wow powerleveling
    wow power leveling
    wow gold
    wow items
    feelingame.com
    wow tips
    Most Valuable WOW Power Leveling Service
    wow power leveling faq
    cheap wow power leveling
    wow power leveling
    wow powerleveling
    wow power lvl

    Posted by: wowleveling on December 13, 2007 at 01:09 AM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds