Your Federal Quarterly Tax Payments are due April 15th Get Help Now >>

http www webucator com Toll free WEBUCATE From outside the by crawfordhanes

VIEWS: 10 PAGES: 6

									http://www.webucator.com
Toll-free: 877-WEBUCATE (877-932-8228)
From outside the U.S.: 315-849-2724
Fax: 315-410-5320


Building Web Applications with Servlets, JDBC and JSP
Course length: 5 Days
Course Web Page: http://www.webucator.com/Course.cfm?CourseID=JVA20a

Class Overview

This practical, application-oriented Java training course teaches Java Servlets, JDBC and JSP and shows
how to use it to develop simple to complex database-driven Web applications. It is intended for experienced
Java (J2SE) programmers who want to build Web applications or J2EE components and systems.


Class Goals
•    Understand and appreciate the role of Java Servlets in the overall Java 2 Enterprise Edition architecture,
     and as the best Java solution to HTTP application development
•    Use request and response objects provided to a servlet to read CGI parameters and to produce an
     HTML response
•    Develop interactive Web applications using HTML forms and servlets
•    Manage complex conversations with HTTP clients using session attributes
•    Understand the role of JDBC in Java persistence code, and use JDBC for persistence in servlet
     applications
•    Preserve portability and ease of administration for a servlet application by parameterizing servlet code,
     using initialization parameters, properties files, and JNDI
•    Use JavaBeans classes to share complex business data between components
•    Implement filters to adapt existing servlets with new features, and to maximize the decomposition of
     logic between vertical business functions and horizontal facilities
•    Gain an in-depth understanding of database programming in Java using JDBC
•    Learn the details of SQL programming through the JDBC interface
•    Describe JavaServer Pages and their relationship to servlets and J2EE generally
•    Describe how a JSP is translated into a servlet and processed at runtime
•    Explain the use of directives on JSPs and outline the principal directives
•    Implement simple JSPs that use Java code in declarations, expressions and scriptlets
•    Enumerate and use the implicit objects available to scripting elements
•    Implement an interactive Web application using HTML forms and JSP
•    Use Java exception handling and JSP error pages to handle errors in JSP applications
•    Implement session management for a JSP application
•    Manage cookies to store client-specific information at various scopes and durations
•    Use JavaBeans to implement effective interactive JSP applications
•    Describe custom tags in JSP and explain how they are implemented, both using Java and JSP itself,
     and how they are used
•    Discuss threading issues in JSP and describe the use of directives to control how threading is handled
•    Describe the various uses of XML in JSP applications
•    Deploy a logical Web application to a Web server in a WAR file

Class Prerequisites
•    Java
•    HTML (Useful, but not required)
•    XML (Useful, but not required)

                                                                                                  Page 1 of 6
http://www.webucator.com
Toll-free: 877-WEBUCATE (877-932-8228)
From outside the U.S.: 315-849-2724
Fax: 315-410-5320


Class Outline
 I.    Web Applications
             I.A.     Server-Side Programming
             I.B.     Web Protocols and Web Applications
             I.C.     Role of Web Servers
             I.D.     Java Servlets
             I.E.     Using Tomcat Web server
             I.F.     Structure of a Java Servlet

 II.   Servlets Architecture
             II.A.    Servlets Architecture
             II.B.    Servlet and HttpServlet
             II.C.    Request and Response
             II.D.    Reading Request Parameters
             II.E.    Producing an HTML Response
             II.F.    Redirecting the Web Server
             II.G.    Deployment Descriptors
             II.H.    Servlets Life Cycle
             II.I.    Relationship to the Container

 III. Interactive Web Applications
             III.A.   Building an HTML Interface
             III.B.   HTML Forms
             III.C.   Handling Form Input
             III.D.   Application Architecture
             III.E.   Single-Servlet Model
             III.F.   Multiple-Servlet Model
             III.G.   Routing Servlet Model
             III.H.   Template Parsers

 IV. Session Management
             IV.A.    Managing Client State
             IV.B.    Sessions
             IV.C.    Session Implementations
             IV.D.    HttpSession
             IV.E.    Session Attributes
             IV.F.    Session Events
             IV.G.    Invalidating Sessions




                                                           Page 2 of 6
http://www.webucator.com
Toll-free: 877-WEBUCATE (877-932-8228)
From outside the U.S.: 315-849-2724
Fax: 315-410-5320


 V.   Configuration and Context
               V.A.      The Need for Configuration
               V.B.      Initialization Parameters
               V.C.      Properties Files
               V.D.      JNDI and the Component Environment
               V.E.      JDBC Data Sources
               V.F.      Working with XML Data

 VI. Filters
               VI.A.     Servlet Filters
               VI.B.     Uses for Filters
               VI.C.     Building a Filter
               VI.D.     Filter Configuration and Context
               VI.E.     Filter Chains
               VI.F.     Deploying Filters

 VII. Database and SQL Fundamentals
               VII.A.    Relational Databases and SQL
               VII.B.    SQL Versions and Code Portability
               VII.C.    Database, Schema, Tables, Columns and Rows
               VII.D.    DDL - Creating and Managing Database Objects
               VII.E.    DML - Retrieving and Managing Data
               VII.F.    Sequences
               VII.G.    Stored Procedures
               VII.H.    Result Sets and Cursors
               VII.I.    Using SQL Terminals

 VIII. JDBC Fundamentals
               VIII.A.   What is the JDBC API?
               VIII.B.   JDBC Drivers
               VIII.C.   Making a Connection
               VIII.D.   Creating and Executing a Statement
               VIII.E.   Retrieving Values from a ResultSet
               VIII.F.   SQL and Java Datatypes
               VIII.G.   SQL NULL Versus Java null
               VIII.H.   Creating and Updating Tables
               VIII.I.   Handling SQL Exceptions and Proper Cleanup
               VIII.J.   Handling SQLWarning




                                                                        Page 3 of 6
http://www.webucator.com
Toll-free: 877-WEBUCATE (877-932-8228)
From outside the U.S.: 315-849-2724
Fax: 315-410-5320


 IX. Advanced JDBC
             IX.A.    SQL Escape Syntax
             IX.B.    Using Prepared Statements
             IX.C.    Using Callable Statements
             IX.D.    Scrollable Result Sets
             IX.E.    Updatable Result Sets
             IX.F.    Transactions
             IX.G.    Commits, Rollbacks, and Savepoints
             IX.H.    Batch Processing
             IX.I.    Alternatives to JDBC

 X.   Introduction to Row Sets
             X.A.     Row Sets in GUI and J2EE programming
             X.B.     Advantages of RowSets
             X.C.     RowSet Specializations
             X.D.     Using CachedRowSets

 XI. JSP Architecture
             XI.A.    JSP Containers
             XI.B.    Servlet Architecture
             XI.C.    Page Translation
             XI.D.    Types of JSP Content
             XI.E.    Directives
             XI.F.    Content Type
             XI.G.    Buffering
             XI.H.    Scripting Elements
             XI.I.    JSP Expressions
             XI.J.    Standard Actions
             XI.K.    Custom Actions and JSTL
             XI.L.    Objects and Scopes
             XI.M.    Implicit Objects
             XI.N.    JSP Lifecycle

 XII. Scripting Elements
             XII.A.   Translation of Template Content
             XII.B.   Scriptlets
             XII.C.   Expressions
             XII.D.   Declarations
             XII.E.   Dos and Don'ts
             XII.F.   Implicit Objects for Scriptlets
             XII.G.   The request Object
             XII.H.   The response Object
             XII.I.   The out Object




                                                             Page 4 of 6
http://www.webucator.com
Toll-free: 877-WEBUCATE (877-932-8228)
From outside the U.S.: 315-849-2724
Fax: 315-410-5320


 XIII. Interactive JSP Applications
             XIII.A.     HTML Forms
             XIII.B.     Reading CGI Parameters
             XIII.C.     JSPs and Java Classes
             XIII.D.     Error Handling
             XIII.E.     Session Management
             XIII.F.     The Session API
             XIII.G.     Cookies and JSP

    .
 XIV Using JavaBeans
                .A
             XIV .       Separating Presentation and Business Logic
             XIV .B.     JSP Actions
                .C
             XIV .       JavaBeans
                .D
             XIV .       Working with Properties
                .E
             XIV .       <jsp:useBean>
             XIV ..F     <jsp:getProperty> and <jsp:setProperty>
              I.G
             XV .        Using Form Parameters with Beans
                .H
             XIV .       Objects and Scopes
             XIV   .I.   Working with Vectors

 XV. The Expression Language and the JSTL
             XV .A.      Going Scriptless
             XV .B.      The JSP Expression Language
             XV.C.       EL Syntax
                .D
             XV .        Type Coercio
             XV .E.      Error Handling
             XV ..F      Implicit Objects for EL
               .G
             XV .        The JSP Standard Tag Library
             XV.H.       Role of JSTL
             XV.I.       The Core Actions
             XV  .J.     Using Beans with JSTL
             XV .K.      The Formatting Actions
             XV .L.      Scripts vs. EL/JSTL

 XVI. Advanced JSP Features
              V. .
             X IA        Web Components
              V. .
             X IB        Forwarding
              V. .
             X IC        Inclusion
              V. .
             X ID        Passing Parameters
              V. .
             X IE        Custom Tag Libraries
             XVI.F.      Tag Library Architecture
              V. .
             X IG        Implementing in Java or JSP
              V. .
             X IH        Threads
             XVI.I.      Strategies for Thread Safety
             XVI.J.      XML and JSP
              V. .
             X IK        JSP for Web Services


                                                                      Page 5 of 6
http://www.webucator.com
Toll-free: 877-WEBUCATE (877-932-8228)
From outside the U.S.: 315-849-2724
Fax: 315-410-5320


Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the programming
examples.

Technical Requirements
Technical requirements and setup instructions available at
http://www.webucator.com/help/supportWiki/index.cfm/JVA20a

For more information...
sales@webucator.com
Toll-free: 877-WEBUCATE (877-932-8228)
From outside the U.S.: 315-446-0560
Fax: 315-410-5320




                                                                                              Page 6 of 6

								
To top