Certification courseware and training course guide books
 
Returning Customers
click here to log in.
 
Shopping Cart
Your Cart is Empty
View Cart
  
 
 
 
Print Courseware
Oracle
ITIL Accredited Courseware Training & Testing Center
Microsoft
Internet, Web, Java, XML
Internet & Web Tools
wl900-ver2.0
wl901-ver2.0
wl906-ver2.0
wl907-ver2.0
wl910-ver2.0
wl330-ver3.0
Oracle 8i Java Programming With JDeveloper
Oracle 8i Java Procedural Features
XML
Professional Certification

wl902-ver1.5

Intermediate Java 2 Programming (3 days)

Description

This courseware training guide book will cover server-side development of Web applications using both servlets and JavaServer Pages (JSP). Due to the ubiquity of databases in such applications, the Java Database Connectivity (JDBC) API is covered in detail as well. Multiple examples and exercises build on student knowledge throughout the course, culminating in complex Web applications utilizing a database.

Suggested Prerequisites

• Fundamentals of Java 2 Programming in Depth

Next Course

• Advanced Java 2 Programming

Objectives

• Learn the details of the Java Servlet API
• Understand how to create JSP applications
• Identify techniques for session management
• Build and deploy Web applications
• Learn how to work with databases using JDBC
• Combine servlets, JSP, and JDBC into complex applications

Course Outline

Introduction to Server-Side Java • Why Use Java on the Server? • Java and the World Wide Web • Java Servlets: Dynamic Server Content • JavaServer Pages (JSP): Dynamic XML Templates • Java Database Connectivity (JDBC) • The J2EE Architecture • Servlets and JSPs in the J2EE Architecture • EJBs and JDBC in the J2EE Architecture

Introduction to HTTP Servlets • What is an HTTP Servlet? • How Servlets Work • Two Servlet Packages • The Generic Servlet API • The Servlet Development Process • Developing an HTTPServlet • The Deployment Descriptor, web.xml • The Java Servlet Lifecycle • doGet() and the HttpServletRequest and HttpServletResponse Objects • Outputting an HTML Response • Servlet Initialization • Using Initialization Parameters • The Servlet Thread Model • The Servlet Thread Model • Logging With Servlets

Servlet Request and Response Objects • Retrieving Client Information • Redirecting Client Requests • Retrieving Environment Variables

Processing Form Input With Servlets • The getParameter() Method • Handling GET and POST Submissions via the Same Servlet • Processing Form Input with Multiple Parameters

Servlet Forwards And Includes • The RequestDispatcher Interface • Traditional HTML Includes • Servlet Includes

Using Cookies with Servlets • Setting a Cookie • Retrieving a Cookie Value • Clearing Cookies

Session Variables • Getting a Session Object • Setting a Session Value • Getting a Session Value • The Session ID • Clearing the Session

Introduction to JavaServer Pages • Overview of JSP • A JSP Web Deployment Descriptor • JSP Directives • JSP Expressions • JSP Declarations • JSP Scriptlets • Implicit Objects • Session Management with JSP

Form Processing with JavaServer Pages • The Request Object • Form Processing in One Page • Handling Multiple Form Parameters

JSP Forwards and Includes • The Action • Conditional Forwarding • A Preprocessed Include • Dynamic Includes Using

Exception Handling With JavaServer Pages • Creating an Error Page • Linking to an Error Page • Handling Standard HTTP Errors

Introducing JavaBeans • What are JavaBeans? • What Distinguishes JavaBeans from Java Classes? • Examining our First Bean • Serializable and Star Trek • Motivation • No Argument Constructor • Getting and Setting Properties • Boolean Properties

• The Tag • Working with Session Scope • The Action • The Action • Matching Form Parameters to Properties • Matching All the Parameters to Properties • Initializing Components Using

Introducing JDBC • About the Database for this Class • The Seven Steps Carried Out by Database-Driven Applications • Importing the java.sql Package and Setting the Error Page • Loading the Database Driver • Connecting to the Database • Assemble the SQL Statement • Execute the SQL Statement • Close the Connection • Exceptions using JDBC • Mapping SQL Data Types to Java • Keeping the Connection Open • The _jspInit() Method

Intermediate JDBC • Inserting Data into the Database • Removing Data from a Table • Updating a Record • Working with a PreparedStatement • The PreparedStatement Mutator Methods • Working with a CallableStatement • The Types Class and Setting Parameters • Executing a CallableStatement • ResultSet MetaData • Database MetaData

JDBC Driven JavaBeans Components • The transient Keyword

Dynamic Result Sets • Why Dynamic Result Sets? • Defining the Result Set Type • Updating a Record via the ResultSet • Moving Around the ResultSet • Adding New Data to a ResultSet • Deleting Data via a ResultSet • Seeing Updated Data

Batch Updates • Batching 101 • Adding to the Batch • Executing the Batch

Transactions with JDBC • Why Have Transactions? • Isolation Levels • Transactional JDBC Methods • What About Rolling Back?

The Java Standard Tag Library • The JSTL Tag Libraries • The JSTL Expression Language (EL) • Analysis of the Expression Language • Dot Operator usage to access map and property values • The [] operator • The Deployment Descriptor • The taglib Declaration • The Core Tag Library • The EL Tags • The Tag • The Tag • The Tag • Conditional Tags • Including Content • Redirecting Requests • SQL Tags • Importing the SQL Tag Library • Defining the Data Source • Executing the Query • The Result Object • Parameterized Queries • The Implicit Objects

Appendix A: Setup for Examples and Exercises • Structure of Projects • Setup of Ant and Web Container • Class Development Cycle

Appendix B: Working with J2EE Containers • Write Once Run Anywhere Enterprise Applications • Choosing A J2EE Application Server • Migrating to a New Container

Appendix C: Using BEA WebLogic for Servlet and JSP Development • What is BEA WebLogic? • Where can I get WebLogic? • Which WebLogic Product do I use? • Installing WebLogic • Installing WebLogic Using JRockit • Exploring the Installation • Configuring WebLogic • WebLogic Server Administration Console • Controlling WebLogic • Starting WebLogic Using startWeblogic.cmd • Stopping WebLogic using stopWebLogic.cmd • Server Logging • Installing 3rd Party Libraries (JARs) • Deploying Applications • Automated Deployment • Console Deployment • Application Redployment • Application Undeployment • Console Based Undeployment • Command Line Based Undeployment

Java courseware, training materials, course books, instructor training guides, student guide books, workshop exercises, certification exam objectives
Intermediate Java 2 Programming
 
Price: $125.00 – $135.00
  1.5  
  328