Gives the Java programmer a firm understanding of web application development in the Java Enterprise environment. Students learn the Servlets, JSP, and JSTL standards and how to mesh them into an effective methodology for building maintainable model/view/controller web applications. Students also work with relational databases and are exposed to practicalities of using both JDBC- and JPA-based persistence tiers. The course also introduces security concepts and provides exercises in both declarative and programmatic approaches to authentication and authorization for Java web applications.
Duration : 80 Hrs | 40 Days | 6 - 8 Weeks
Program Contents
Web Applications
The World Wide Web
HTML
Web Servers
HTTP
Dynamic Web Pages
CGI
Java Web Technologies
Servlets
JSP
J2EE
J2EE Overview
Client Tier
Middle Tier
Application Server Tier
The J2EE Platform
J2EE Skills
Servlet Basics
Browsers, Servers and Servlets
The Basic Servlet
The Servlet Life Cycle
The HttpServlet Approach
More do Methods
Threading in Servlets
Debugging
Request and Response
Request and Response Basics
The HttpServletRequest Object
Request Headers
Status Codes
Response Headers
Ensuring Valid Characters
Session Tracking
Understanding Cookies
The Cookie Class
Cookie Properties
Session Tracking
The HttpSession Class
Encoding URLs
Terminating Sessions
Web Applications
Web Application Components
ServletContext
Forward and Include
Supporting Files
Deployment Descriptor
Deployment Descriptor Elements
Security - Authentication
Security in the J2EE Application Server
Security - Authorization
Getting Started with JSP
Dynamic Web Content
The JSP Solution
JSP Syntax
JSP Deployment
Variables and Expressions
Implicit Objects
page and taglib Directives
Include and Forward
Exception Handling
JSP Architecture
JSP Containers
Page Translation
Types of JSP Content
Directives
Content Type
Buffering
Scripting Elements
JSP Expressions
Standard Actions
Custom Actions and JSTL
Objects and Scopes
Implicit Objects
JSP Lifecycle
Scripting Elements
Translation of Template Content
Scriptlets
Expressions
Declarations
Dos and Don'ts
Implicit Objects for Scriptlets
The request Object
The response Object
The out Object
Interactive JSP Applications
HTML Forms
Reading CGI Parameters
JSPs and Java Classes
Error Handling
Session Management
The Session API
Cookies and JSP
Forms and JavaBeans
HTML Forms
JavaBeans
JavaBeans and JSP
Bean Properties
Property Types
Properties and Forms
Bean Scopes
Using JavaBeans
Separating Presentation and Business Logic
JSP Actions
JavaBeans
Working with Properties
Using Form Parameters with Beans
Objects and Scopes
Working with Vectors
Advanced JSP Features
Web Components
Forwarding
Inclusion
Passing Parameters
Custom Tag Libraries
Tag Library Architecture
Implementing in Java or JSP
Threads
Strategies for Thread Safety
XML and JSP
JSP for Web Services
Introduction to JSTL
JSP Expression Language
Expression Language Implicit Objects
What is JSTL?
Core Tags - Conditionals
Core Tags - Iteration and Import
XML Manipulation Tags
Internationalization Tags
SQL Tags
The Expression Language and the JSTL
Going Scriptless
The JSP Expression Language
EL Syntax
Type Coercion
Error Handling
Implicit Objects for EL
The JSP Standard Tag Library
Role of JSTL
The Core Actions
Using Beans with JSTL
The Formatting Actions
Scripts vs. EL/JSTL
JSTL Overview
The JSP Standard Tag Library
The JSP Expression Language
EL Syntax
Type Coercion
Error Handling
Implicit Objects for EL
JSTL Namespaces
Using JSTL in a Page
The Core Actions
Going Scriptless
Object Instantiation
Sharing Objects
Decomposition
Parameterization
The Core Actions
The JSTL Core Library
Gotchas
Conditional Processing
Iterative Processing
Iterating Over Maps
Tokenizing Strings
Catching Exceptions
Resource Access
The Formatting and i18n Actions
The JSTL Formatting Library
Locales
Determining Locale
Time Zones
Setting Locale and Time Zone
Formatting and Parsing Dates
Formatting and Parsing Numbers
Internationalization
Working with Resource Bundles
Supporting Multiple Languages
The SQL Actions
The JSTL SQL Library
Using Relational Data
Connecting with a DriverManager
Connecting via a DataSource
The Result Interface
Making a Query
Inserts, Updates and Deletes
Parameterized SQL
Transactions
The XML Actions
The JSTL XML Library
Using XML
XML Data Sources
Parsing and Addressing
Using XPath in JSTL
XPath vs. EL
XPath Context
Implicit Objects for XPath
Conditional Processing
Iterative Processing
Changing XPath Context
Working with XML Namespaces
Using XSLT
Chaining Transformations
Reading XML from the Request Body
XML and SOAP Web Services
Introduction to JDBC
The JDBC Connectivity Model
Database Programming
Connecting to the Database
Creating a SQL Query
Getting the Results
Updating Database Data
Finishing Up
JDBC SQL Programming
Error Checking and the SQLException Class
The SQLWarning Class
The Statement Interface
The ResultSet Interface
Updatable Result Sets
JDBC Types
Executing SQL Queries
ResultSetMetaData
Executing SQL Updates
Transaction Management
JDBC SQL Escape Syntax
Advanced JDBC
Using a PreparedStatement
Parameterized Statements
Stored Procedures
ResultSets from Stored Procedures
The execute() Method
Batch Updates
RowSets
DatabaseMetaData
Large Objects
The DriverManager Class
Types of JDBC Driver
DataSources
DataSources
onnection Pools in the J2EE Application Server
Data Sources in the J2EE Application Server
Connecting to a DataSource
Introduction to JavaMail
Mail Systems and JavaMail
The javax.mail Packages
Establishing a Session
The Message Interface
Sending a Message
Message Stores
Mail Folders
Multipart Messages
Audience :
Programmers who want to learn Web Applications Development in Java
Students who want to learn Java Web Programming Skils
Professionals looking to switch to Java Web Platform