Sunteți pe pagina 1din 13

Advance Java

25 * 2 = 50Hrs

Session 1 (CR)
Source Topic/Activity Name Time Duration
1 Chapter 1: Introduction to Java Servlets 2
Objectives
Web Application Technologies
HTTP Client-Server Architecture
Website Structure
Uniform Resource Locator
Websites and Web Applications
Execution of CGI Programs
Advantages and Disadvantages of CGI Programs
Using Java in the Web
Execution of Java Servlets
Chapter 1: Deploying Web Applications
Introducing the Web Container
Chapter 1: Introduction to Java Servlets
Advantages and Disadvantages of Java Servlets
Java Servlets
A First Java Servlet
HTTP Methods
Chapter 1: Deploying Web Applications
Structuring a Web Application for Deployment
Deploying WAR Files
Demo: Introduction to Java Servlets
Quiz #1
Summary
Session 2 (CR)
2 Chapter 2: Introduction to Java Server Pages

Objectives 2
A Weakness in Servlets
Addressing the Problem With JSPs
Key Elements of JSPs
How a JSP is Processed
The request and response Variables
Reading Input Parameters From the Browser
Reading Parameters in JSP
Sending Parameters in an HTTP GET Request
Remaining Problems With the JSP Approach
Three Distinct Problems
Demo: Introduction to Java Server Pages
Model, View, and Controller
Toward a Practical MVC
Quiz #1
Summary

Session 3 (MR)
3 Web Component Development With Servlet and JSP™ Technologies:
Student Workbook
Lab 1
Exercise 1
Lab 2
Exercise 1
Total Time 2
Session 4 (CR)
4 Chapter 3: Implementing an MVC Design
Objectives 2
Developing the MVC Solution
4
2

Responsibilities of the Controller


Connecting the Components
Forwarding From a Servlet to JSP
Passing Data From the Servlet to JSP
Using Data in JSP
A Complete MVC Example
Chapter 4: The Servlet’s Environment
Hypertext Transfer Protocol
HTTP GET Method
HTTP Request
HTTP Request Headers
HTTP Response
HTTP Response Headers
Collecting Data From a User
HTML Form Mechanism and Tag
Input Types for Use With Forms
Text Input Component
Drop-Down List Component
Submit Button
An Example of HTML Form
Demo: Implementing an MVC Design
Quiz #1
Summary
Total Time
Session 5 (CR)
5 Chapter 4: The Servlet’s Environment
Objectives 2
How Form Data is Sent in an HTTP Request?
Form Data in the HTTP Request
HTTP GET Method Request
5
2

HTTP POST Method Request


HTTP GET and POST Methods
Web Container Architecture
Request and Response Process
Sequence Diagram of an HTTP GET Request
The HttpServlet API
Handling Errors in Servlet Processing
Demo: The Servlet’s Environment
The HTTP Protocol and Client Sessions
The HttpSession API
Storing Session Attributes
Retrieving Session Attributes
Closing the Session
Architectural Consequences of Sessions
Session Configuration
Using Cookies for Client-Specific Storage
Cookie API
Using Cookies Example
Performing Session Management Using Cookies
Using URL-Rewriting for Session Management
URL-Rewriting Implications
Quiz #1
Summary
Total Time
Session 6 (MR)
6 Web Component Development With Servlet and JSP™ Technologies:
Student Workbook
Lab 3
Exercise 1
Lab 4
Exercise 1
Total Time 2
Session 7 (CR)
7 Chapter 5: Container Facilities for Servlets and JSPs 2
Objectives
Packaging Web Applications
The Default Context Root
Essential Structure of a WAR File
Deployment Descriptors
The web-fragment.xml Files
Controlling Configuration
Dynamic Configuration of Web Applications
Servlet Mapping
Multiple and Wildcard URL Patterns
Mapping Using Annotations
Invoking a Servlet by Name
Servlet Context Information
Context Parameters
Supplying Context Parameters
Reading Context Parameters
Servlet Initialization Parameters
Reading Servlet Initialization Parameters
Other Configuration Elements
Demo: Container Facilities for Servlets & JSPs
Quiz #1
Summary

Session 8 (CR)
8 Chapter 6: More View Facilities
Objectives 2
Scopes
Syntax Overview
EL and Scopes
EL Implicit Objects
The Dot Operator in EL
Array Access Syntax With EL
EL and Errors
EL Arithmetic Operators
Comparisons and Logical Operators
Configuring the JSP Environment
Presentation Programming
Standard Custom Tags
Tag Example
Developing JSP Pages Using Custom Tags
Key View Programming Tags
JSTL if Tag
JSTL forEach Tag
Demo: More View Facilities: Exercise 1
Demo: More View Facilities: Exercise 2
Quiz #1
Summary

Session 9 (MR)
9 Web Component Development With Servlet and JSP™ Technologies:
Lab 5 Workbook
Student
Exercise 1
Lab 6
Exercise 1
Total Time 2
Session 10 (CR)
10 Chapter 7: Developing JSP Pages 2
Objectives
JavaServer Pages Technology
How a JSP Page is Processed?
Writing JSP Scripting Elements
Comments
Directive Tag
Declaration Tag
Scriptlet Tag
Expression Tag
Implicit Variables
Using the page Directive
Including JSP Page Segments
Using the include Directive
Using Standard Tags
Other Standard Tags
Using the jsp:include Standard Action
Using the jsp:param Standard Action
Demo: Developing JSP Pages
Quiz #1
Summary

Session 11 (CR)
11 Chapter 8: Developing JSP Pages Using Custom Tags 2
Objectives
The Java EE Job Roles Involved in Web Application Development
Designing JSP Pages With Custom Tag Libraries
Custom Tag Library Overview
Custom Tag Syntax Rules
JSTL Sample Tags
Using a Custom Tag Library in JSP Pages
Quiz #1
JSTL Tags
Demo: Developing JSP Pages Using Custom Tags
Quiz #2
Summary

Session 12 (MR)
12 Web Component Development With Servlet and JSP™ Technologies:
Student Workbook
Lab 7
Exercise 1
Exercise 2
Lab 8
Exercise 1
2
Session 13 (CR)
13 Chapter 9: More Controller Facilities
13
Objectives 2
Servlet Life Cycle Overview
Servlet Class Loading
One Instance Per Servlet Definition
The init Life Cycle Method
The ServletConfig API
The service Life Cycle Method
The destroy Life Cycle Method
Servlet Life Cycle and Annotations
Life Cycle Method Annotations
Servlets and Threading
Handling Concurrency
Data Shared Between Invocations by a Single Client
Sharing Data Between Multiple Clients
Web Container Request Cycle
Web Container Request Processing
Applying Filters to an Incoming Request
Applying Filters to a Dispatched Request
Filter API
The PerformanceFilter Class
The init Method
The doFilter Method
The destroy Method
Configuring the Filter
Configuring a Filter Using Annotations
Declaring a Filter in the web.xml File
Declaring a Filter Mapping in the web.xml File
Handling Multipart Forms
Demo: More Controller Facilities: Exercise 1
Demo: More Controller Facilities: Exercise 2
Quiz #1
Summary

Session 14 (CR)
14 Chapter 10: More Options for the Model
Objectives 2
14
2
The Model as a Macro-Pattern
The View Helper Pattern
Database and Resource Access
DAO Pattern
DAO Pattern Advantages
JDBC API
Traditional Approaches to Database Connections
Using a DataSource and the Java Naming and Directory Interface API
Executing SQL
Configuring a DataSource and the JNDI API
Object Relational Mapping Software
Java Persistence API Structure
Entity Class Requirements
Declaring the Entity Class
Verifying and Overriding the Default Mapping
Life Cycle and Operational Characteristics of Entity Components
Persistence Units
The Persistence Context
The EntityManager
Entity Instance Management
User Transactions
Java Persistence API Example
Demo: More Options for the Model
Quiz #1
Summary

Session 15 (MR)
15 Web Component Development With Servlet and JSP™ Technologies:
Student Workbook
Lab 9
Exercise 1
Exercise 2
Lab 10
Exercise 1
2
Session 16 (CR)
16 Chapter 11: Asynchronous Servlets and Clients
Objectives 2
Asynchronous Servlets
Separating Request Receipt from Response Generation
Asynchronous Servlet Example
Forwarding and Filtering
Asynchronous Listeners
Asynchronous JavaScript Clients
Simple Asynchronous Client Example
Server Response Content in an AJAX System
Combining Asynchronous Servlets With Asynchronous JavaScript
Demo: Asynchronous Servlets and Clients
Quiz #1
Summary

Session 17 (CR)
17 Chapter 12: Implementing Security
Objectives 2
Security Considerations
Confusion of Code and Data
Preventing Code as Data Attacks
Authentication and Authorization
Authenticating the Caller
Caller Authentication
Establishing User Identities
Examining the Java EE Authorization Strategies
Using Declarative Authorization
Declaring Security Roles
Mapping Users to Roles
Declaring Permission Requirements
Using Programmatic Authorization
Enforcing Encrypted Transport
Using an Annotation to Mandate Encrypted Transport
Demo: Implementing Security
Quiz #1
Summary

Session 18 (MR)
18 Web Component Development With Servlet and JSP™ Technologies:
Student Workbook
Lab 11
Exercise 1
2
Session 19 (CR)
19 Chapter 2: Working With Expression Language
Objectives 2
Implementing EL
Accessing Request Parameters by Using EL
Accessing Cookies and Init Params by Using EL
Calling Functions by Using EL
Handling Null Values by Using EL
Chapter 3: JavaBeans and Custom Tags
Introducing JavaBeans
Elements of a JavaBean
The JavaBean Component Specification
Quiz #1
Services of JavaBean Component
Types of JavaBean
Identifying Custom Tags
Advantages of Using Custom Tags
Quiz #2
Summary

Session 20 (CR)

20 Chapter 3: JavaBeans and Custom Tags


Objectives 2
Components of a Tag Library
20
2

Structure of a Tag Handler


TLD File
Demo: Developing a Custom Tag Application
Chapter 4: Understanding J2EE Design Patterns
Need for Design Patterns
Quiz #1
Summary

Session 21 (MR)
21 Web Component Development With Servlet and JSP™ Technologies:
Student Workbook
Lab 12
Exercise 1
Total Time 2
Session 22 (CR)
22 Chapter 4: Understanding J2EE Design Patterns
Objectives 2
J2EE Design Patterns
The Value Object Design Pattern
The MVC Design Pattern
The DAO Design Pattern
The Business Delegate Design Pattern
Quiz #1
Summary

Session 23 (CR)
23 2
RECAP

Session 24 (MR)
24 Frameworks
Struts
JSF
2
25 Spring 2
Hibernate

S-ar putea să vă placă și