This certification is for Sun Certified Programmers for Java 2 Platform who are using servlet and JavaServer Pages (JSP) APIs to develop Web applications using the Java 2 Platform, Enterprise Edition (J2EE). The certification consists of one exam and requires Sun Certified Programmer for Java 2 Platform status. This book is not intended to teach new material. Instead it assumes that you have a solid foundation of knowledge but can use a refresher on important concepts as well as a guide to exam topics and objectives. This book focuses exactly on what you need to pass the exam - it features test-taking strategies, time-saving study tips, and a special Cram Sheet that includes tips, acronyms, and memory joggers not available anywhere else. The series is supported online at several Web sites: examcram.com, informit.com, and cramsession.com.
1. Servlet Methods and Life Cycle.
JSP and Servlet Overview. Handling HTTP GET, POST, and PUT Requests. Servlet Objects and Scope. Servlet Life Cycle. Using a RequestDispatcher. Event Listeners. Practice Questions. Need to Know More?
Web Application Overview. Deployment Descriptor. Practice Questions. Need to Know More?
Context Architecture. Context-Initialization Parameters. Using Listeners. Context and Attributes within a Distributable. Practice Questions. Need to Know More?
Handling Server-Side Exceptions. Return an HTTP Error Using sendError. Return an HTTP Error Using setStatus. Exception Handling in the Deployment Descriptor. Write a Message to the Web App Log. Using a RequestDispatcher to Forward to an Error Page. Practice Questions. Need to Know More?
Session Management Overview. Session Methods. Invalidating Sessions. Practice Questions. Need to Know More?
Web Application Security Overview. Deployment Descriptor Security Elements. Security Concepts. Authentication Types. Practice Questions. Need to Know More?
Servlet Threads. Object Scope Affects Thread Safety. Practice Questions. Need to Know More?
JavaServer Pages Introduction. JSP Life Cycle. JSP Syntax. Directive. Expression. JSP Scriptlets. JSP Implicit Objects. Declaration. Using XML to Create JSP Actions. Practice Questions. Need to Know More?
JavaBean Overview. jsp:useBean. jsp:setProperty Action. jsp:getProperty Action. Scope of JavaBeans in JSP. Accessing JavaBeans with Scriptlets. Practice Questions. Need to Know More?
Custom Tag Library Overview. taglib Directive. Custom Tag. Tag Handler. Custom Tag Body. Tag Library Descriptor. Accessing JSP Objects from the Custom Tag Handler. Returning a Tag Handler from a Method. Practice Questions. Need to Know More?
Servlet Design Patterns. Patterns on the Exam. Practice Questions. Need to Know More?
Overview of the Servlet API. Understanding the javax.servlet Package Interfaces, Classes, and Exceptions. The javax.servlet.http Package. Summary.
Syntax Rules. Format Conventions. Syntax Explanations and Examples. Summary. Suggested Readings and Resources.
References. Reference List. Summary.
The errata for the book is available here in Adobe Portable Document Format (PDF) format. You will need Adobe's Acrobat Reader to view these files. If you do not have the Acrobat Reader installed, you may go to Adobe Systems' web site to download this free reader.
Click on the links below to display the PDF file in a new window. Right-click on the link and select Save As if you want to download it to your hard drive.Errata for the book - 78 kb -- 0789728621.pdf