Home > Store > Programming > Java

larger cover

Add To My Wish List

Pure JSP: Java Server Pages

  • By James Goodwill
  • Published Jun 8, 2000 by Sams. Part of the Pure series.
    • Copyright 2000
    • Dimensions: 6 X 9
    • Pages: 340
    • Edition: 1st
    • Book
    • ISBN-10: 0-672-31902-0
    • ISBN-13: 978-0-672-31902-0
    • eBook (Adobe DRM)
    • ISBN-10: 0-7686-5694-X
    • ISBN-13: 978-0-7686-5694-7

Register your product to gain access to bonus material or receive a coupon.

  • About
  • Description
  • Downloads
  • Reviews
  • Sample Content

Basic Approach

Annotation

Pure JSP gives a very concise conceptual overview of the JavaServer Pages technology and its related components.

PTR Bullets

  • JSP is a hot topic among Java developers and a perfect match for the Pure series, where the power and sophistication of JSP can be explored fully through professional-grade code examples
  • Pure JSP is a code-intensive premium reference with well-commented, commercial-quality code
  • Pure JSP is designed for Java developers who want to extend their Java proficiency to JPS-based Web and distributed applications
  • James Goodwill was a best-selling author for Developing Java Servlets, and has his expertise on enterprise Java issues, including Servlets, EJB and JSP

PTR Overview

The first section of the Pure JSP title will give a very concise conceptual overview of the JavaServer Pages technology and its related components. The following related topics would be covered at a very high level JavaBeans, JDBC and Servlets. Once the reader has a firm foundation with the JSP technology itself. The book will move on to a large number of JSP techniques. These techniques have been determined by studying problems faced by JSP users in the professional world. The final section of the Pure JSP title will cover the more technical aspects of the JSP technology. The topics will include related API's, server configuration, and charts and diagrams related to developing JSP applications.

User Level

Advanced/Expert

Audience

E-Commerce Java Developers (primary audience). Developers wanting a Java Solution to e-commerce development. Java Developers moving from Applets to Server-Side Java. ASP Developers wanting to move to Java. HTML Developers wanting to embed Java code directly into HTML Documents. Servlet Developers

Product Author Bios

James Goodwill is a Senior Software Engineer at Oak Mountain Technologies in Denver, Colorado. He has extensive experience in Internet and E-Commerce related application development. He has been working with Java, in a professional setting, since its first beta release. James is also the author of the successful Sam's Professional title Developing Java Servlets.

Features

Pure JSP gives a very concise conceptual overview of the JavaServer Pages technology and its related components. Once you have a firm foundation with the JSP technology, related topics such as JavaBeans, JDBC and Servlets are covered at a very high level. The book moves on to explain a large number of JSP techniques, which were determined by studying problems faced by JSP users in the professional world. The final section covers the more technical aspects of the JSP technology. Topics include related API's, server configuration, and charts and diagrams related to developing JSP applications.

Downloads

Source Code and Examples for the book. (53kb) -- 9020code.zip

Technology

The Java Server Pages (JSP) technology allows web developers and designers to rapidly develop and easily maintain information-rich, dynamic web pages that leverage existing business systems. It does this by allowing developers to directly embed preexisting Java code and JavaBeans into HTML pages. JSP is also a key component in the Java 2 Enterprise Edition, Sun's highly scalable architecture for enterprise applications. The JSP specification is the product of industry-wide collaboration with industry leaders in the enterprise software and tools markets, led by Sun Microsystems and including Adobe, BEA, Bluestone, IBM, Sybase, Netscape, Oracle, Symantec and many others. The JSP specification is freely available to the development community, with the goal that every web server and application server will support the JSP interface.

Customer Reviews

19 of 19 people found the following review helpful
3.0 out of 5 stars Concise, but no coverage of customizable tags, August 12, 2000
By 
Noah Green (New York, NY USA) - See all my reviews
(REAL NAME)   
This review is from: Pure JSP: Java Server Pages (Paperback)
Pros:

* Not a very long book, so it cuts thru a lot of the excess verbiage and over-explanation you find in books on similar topics.

* If you are an experienced Java programmer and already are a good architect, this is a quick route into learning JSP.

Cons:

* Omits a major JSP topic: customizable tags. This is the equivalent of an HTML book lacking a section on frames.

* Unclear explanation of options on the <jsp:usebean> tag

* Examples rely too heavily on large scriptlets and major database code in the JSPs, against the advice of most Java architects.

Verdict:

* It's a short book, which is a relief from the 1000-page tomes. Yes, this really is all there is to JSP - almost. Look elsewhere for custom tags and architectural advice.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 12 people found the following review helpful
5.0 out of 5 stars clear and concise tutorial for JSPs, July 26, 2000
This review is from: Pure JSP: Java Server Pages (Paperback)
If you?ve got about an hour a day for a week or two, pick up this book and work through it. The chapters and very well laid out and provide a focused study for each of the topics covered. Of course you must be pretty familiar with Java already but JSP and the Servlet API are introduced from the ground up and after working through the first two sections you can safely say, ?I know all about JSP development.? He keeps the best chapter off towards the end with JSP Communication with Servlets. Those 10 pages are worth the price of the book alone. Just try finding this in another book. You can, but you?ll pay twice as much and won?t get any more information than is presented here. It?s also worth mentioning that the book itself is the perfect size for traveling, unlike so many of the ?definitive? guide books which take up half the space in your suitcase. It will be accompanying me to my project sites from now on. One word of caution, the chapter on XML and JSPs require... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 7 people found the following review helpful
5.0 out of 5 stars This book rocks!, December 7, 2000
By A Customer
This review is from: Pure JSP: Java Server Pages (Paperback)
Great examples, quick and too the point explanations make this a very good book to hit the ground running learning JSP.

If you are a professional developer like me, and you don't want to deal with a lot of lengthly overwritten explanations and books written by twenty different people (i.e., Wrox publications) this is the book to get. Goodwill knows his stuff when it comes to Java and he is able to convey it to the reader in an understandable way.

Also, check out "JavaServer Pages Application Development" by Ben Forta another very good JSP book.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 18 customer reviews...

Table of Contents



Introduction.

I. CONCEPTUAL REFERENCE.

1. JSP Overview: The Components of a JavaServer Page.

The Components of a JavaServer Page. Directives. Actions. Implicit Objects. JSP Scripting. Summary.

2. Java Servlets.

Practical Applications for Java Servlets. The Java Servlet Architecture. GenericServlet and HttpServlet. The Life Cycle of a Servlet. init(). service(). destroy(). A Basic Servlet. The BasicServlet Source. The HTML Required to Invoke the Servlet. Dissecting the BasicServlet. Where Does the BasicServlet Fit into the Servlet Framework? The Methods Overridden by the BasicServlet. Summary.

3. JavaBeans and JSP Concepts.

Adding JavaBeans to JavaServer Pages. JavaBean Standard Actions. A JSP Example Using JavaBeans. Summary.

4. JDBC and JSP Concepts.

Two- and Three-Tier Database Access Models. JDBC Driver Types. Type 1: JDBC-ODBC Bridge, Plus ODBC Driver. Type 2: Native-API Driver. Type 3: JDBC-Net, Pure Java Driver. Type 4: Native-Protocol, Pure Java Driver. JDBC Basics. Installing and Setting Up a Type 1 Driver. Establishing a Database Connection. Performing the Basic SQL Commands. Using the JDBC in JavaServer Pages. Summary.

II. TECHNIQUES REFERENCE.

5. Configuring the JSP Server.

Installing the Tomcat Server. Creating the PUREJSP Web Application. The Directory Structure. Adding the PUREJSP Web Application. Summary.

6. Handling JSP Errors.

JSP Translation Time Errors. JSP Request Time Errors. Creating a JSP Error Page. Using a JSP Error Page. Summary.

7. Using the include Directive.

The include Directive. Example: A Standard Title Bar. Creating the JSP. Summary.

8. JavaServer Pages and Inheritance.

The Superclass. The JSP Subclass. Summary.

9. Using the JSP's Implicit Objects.

request. response. pageContext. session. application. Testing the JSPs. out. config. page. exception. Summary.

10. Using JSP Standard Actions.

<jsp:param>. <jsp:include>. <jsp:forward>. <jsp:plugin>. Summary.

11. JSPs and JavaBean Scope.

page. request. session. application. Summary.

12. JSP and HTML Forms.

What Is an HTML Form? The <form> Tag. The <input> Tags. Using a JSP to Create an HTML Form. Retrieving Form Data with a JSP. Summary.

13. JSP and a Shopping Cart.

Creating a Shopping Cart. Integrating the Shopping Cart. Creating a Shopping Cart JSP. Summary.

14. JSP and a JDBC Connection Pool Bean.

Using a JDBC Connection Pool. A Pooled JDBC Connection. A JDBC Connection Pool. Using the Connection Pool in a JSP. Summary.

15. JSP and XML.

XML and Java. The SAX API. Using XML in a JSP. Summary.

16. JSP Communication with Servlets.

A Servlet-Only Application Model. A JSP-Only Solution. A Server-Side Implementation of the MVC. A Server-Side Example Using the MVC. Summary.

17. JSP and JavaMail.

Configuring JavaMail. A JavaMail Example. Using JavaMail in a JSP. Summary.

II. SYNTAX REFERENCE (WITH UML DIAGRAMS).

18. The javax.servlet.jsp Package.

Interfaces. HttpJspPage Interface. JspPage Interface. Classes. JspEngineInfo Class. JspFactory Class. JspWriter Class. PageContext Class. Exceptions. JspError Exception. JspException Exception.

19. The javax.servlet.jsp.tagext Package.

Classes. BodyJspWriter Class. Tag Class. TagAttributeInfo Class. TagData Class. TagExtraInfo Class. TagInfo Class. TagLibraryInfo Class. VariableInfo Class.

20. The javax.servlet Package.

javax.servlet Interfaces. RequestDispatcher Interface. Servlet Interface. ServletConfig Interface. ServletContext Interface. ServletRequest Interface. ServletResponse Interface. SingleThreadModel Interface. Classes. GenericServlet Class. ServletInputStream Class. ServletOutputStream Class. Exceptions. ServletException Exception. UnavailableException Exception.

21. The Javaservlet.http Package.

Interfaces. HttpServletRequest Interface. HttpServletResponse Interface. HttpSession Interface. HttpSessionBindingListener Interface. Classes. Cookie Class. HttpServlet Class. HttpSessionBindingEvent Class. HttpUtils Class.

Index.

 

Book

This product currently is not for sale.

Buy

eBook (Adobe DRM)  $27.99  $22.39

About Adobe DRM eBooks

Information This eBook requires the free Adobe® Digital Editions software.

Before downloading this DRM-encrypted PDF, be sure to:


  • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
  • Authorize your copy of Adobe Digital Editions using your Adobe ID. If you don't already have an Adobe ID, you can create one here.
Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.