The document outlines an advanced Java programming course that covers JavaServer Pages (JSP), servlets, databases, and web applications over 45 sessions. The course introduces JSP concepts like scripting elements and directives. It covers integrating Java code and beans in JSP. Later sessions teach model-view-controller architecture, setting up web applications, controlling application behavior, and creating custom tag libraries. Later topics include accessing databases with JDBC, asynchronous page updates with AJAX, servlet fundamentals, handling requests and responses, cookies, and session tracking. The final session involves a live project training.
The document outlines an advanced Java programming course that covers JavaServer Pages (JSP), servlets, databases, and web applications over 45 sessions. The course introduces JSP concepts like scripting elements and directives. It covers integrating Java code and beans in JSP. Later sessions teach model-view-controller architecture, setting up web applications, controlling application behavior, and creating custom tag libraries. Later topics include accessing databases with JDBC, asynchronous page updates with AJAX, servlet fundamentals, handling requests and responses, cookies, and session tracking. The final session involves a live project training.
Course Duration: 45 Days Session 1 Introduction and Overview of JSP Understanding the need for JSP Evaluating the benefits of JSP Comparing JSP to other technologies Avoiding JSP misconceptions Understanding the JSP lifecycle Installing JSP pages Looking at JSP in the real world Session 2 Invoke Java Code with JSP Scripting Element Static vs. Dynamic Text Dynamic Code and Good JSP Design JSP Expressions Servlet vs JSP Pages for similar tasks JSP scriptlets and Declarations Predefined variables Comparison of expressions, scriptlets and declaration Session 3 The JSP page Directive Understanding the purpose of the page directive Designating which classes are imported Specifying the MIME type of the page Generating Excel spreadsheets Participating in sessions Setting the size and behavior of the output buffer Designating pages to handle JSP errors Controlling threading behavior Session 4 Including Files and Applets in JSP Pages Using jsp:include to include pages at request time Using <%@include ...%> (the include directive) to include files at page translation time Understanding why jsp:include is usually better than the include directive Using jsp:plugin to include applets for the Java Plug-in Session 5 JavaBeans Components in JSP Documents Understanding the benefits of beans Creating beans Installing bean classes on your server Accessing bean properties Explicitly setting bean properties Advanced Java (J2EE) Programming Module
Automatically setting bean properties from
request parameters Sharing beans among multiple servlets and JSP pages Session 6 The Model View Controller (MVC) Arch. Understanding the benefits of MVC Using RequestDispatcher to implement MVC Forwarding requests from servlets to JSP pages Handling relative URLs Choosing among different display options Comparing data-sharing strategies Session 7 Using and Deploying Web Applications Purpose of Web Applications Structure of Web Applications Setting up Web Applications with Tomcat Giving custom addresses to servlets Sharing data among Web applications Session 8 Controlling Web Application Behavior Location and purpose of web.xml Custom URLs Initialization parameters Preloading pages Welcome pages Error pages Session 9 Creating Custom JSP Tag Libraries Java-Based Tags JSP-Based Tags (Tag files) Session 10 Accessing Databases with JDBC Overview of JDBC technology JDBC Drivers Basic Steps in using JDBC Using JNDI with JDBC Retrieving data from a ResultSet Using prepared and callable statements Handling SQL exceptions Submitting multiple statements as a transaction Session 11 AJAX: Asynchronous Page Updates The basic AJAX process Using dynamic content and JSP Using dynamic content and servlets Sending GET data Sending POST data Displaying HTML results Parsing and displaying XML results Session 12 Overview of Servlet and Setup Understanding the role of servlets Page 1
Advanced Java Programming Module
Evaluating servlets vs. other technologies Understanding the role of JSP Configuring the server Configuring your development environment Testing the server setup Session 13 Servlet Basics The basic structure of servlets A simple servlet that generates plain text A servlet that generates HTML Servlets and packages Some utilities that help build HTML The servlet life cycle Servlet debugging strategies Session 14 Handling the Client Request: Form Data The role of form data Creating and submitting HTML forms Reading individual request parameters Reading the entire set of request parameters Handling missing and malformed data Dealing with incomplete form submissions Filtering special characters out of the request parameters Session 15 Handling the Client Request Reading HTTP request headers Building a table of all the request headers Understanding the various request headers Reducing download times by compressing page Differentiating among types of browsers Session 16 Generating the Server Response Format of the HTTP response How to set status codes What the status codes are good for Shortcut methods for redirection and error pages A servlet that redirects users to browserspecific pages A front end to various search engines Session 17 HTTP Response Headers Format of HTTP Response Headers Setting response headers Understanding what response headers are good for Building Excel spread sheets Generating JPEG images dynamically Sending incremental updates to the browser Session 18 Handling Cookies Advanced Java (J2EE) Programming Module
Understanding the benefits and drawbacks of
cookies Sending outgoing cookies Receiving incoming cookies Tracking repeat visitors Specifying cookie attributes Differentiating between session cookies and persistent cookies Simplifying cookie usage with utility classes Modifying cookie values Remembering user preferences Session 19 Session Tracking Implementing session tracking from scratch Using basic session tracking Understanding the session-tracking API Differentiating between server and browser sessions Encoding URLs Storing immutable objects vs. storing mutable objects Tracking user access counts Accumulating user purchases Implementing a shopping cart Building an online store Session 20 Live Project Training
(Ebook) Sams Teach Yourself JavaServer Pages in 21 Days by Steven Holzner ISBN 9780672324499, 9780768660265, 0672324490, 0768660262 - Quickly download the ebook to never miss important content