This 5 day training course teaches students how to develop Servlet, JSP and EJB for the WebLogic Server v10 platform. About 50% of the time is spent on hands on labs that use the Workshop for WebLogic development tool.
You Will Learn How To:
Upon completion of this course, the participant will be able to:
Develop web based applications using Servlet and JSP
Develop business logic layer using EJB
Be productive developers in the Workshop for WebLogic environment
Deploy application code inside WebLogic Server v10
Who Should Attend?
This course is designed for Java programmers and web application designers who have interest in learning how to build or maintain enterprise applications based on the Java EE 5 architecture using BEA’s Workshop for WebLogic tool.
Course Outline
Introduction to BEA Workshop for WebLogic
BEA Workshop for WebLogic
The Eclipse Platform
Eclipse 3.2 Java IDE
Views, Perspective and Editor Areas
Basic Operations with Eclipse Views and Perspectives
The Java Perspective
The Debug Perspective
Navigator View
Build and Validation
Templates and Code Completion
Searching
BEA Workshop for WebLogic
BEA WebLogic Server
Java Enterprise Edition (EE) Overview
Introduction to Java Platform
Java Community Process (JCP)
Introduction to Java EE
Why Move to Java EE
Java EE - New and Enhanced Features
Java EE Software Packaging
Java EE Technologies
Servlet Basics
History CGI
Server Extension APIs
Java Servlet
Servlet Container
Servlet Responsibilities
J2EE and Servlet
The Servlet Class
The HttpServlet Class
An Example Hello World
The Servlet Container
The Servlet API
Life Cycle Initialization
Life Cycle Initialization
Example Initialization
Life Cycle Processing
Life Cycle Processing
Life Cycle Destroy
User Input
Example User Input
Output to Client
Servlet Error Handling
Threading Issues
JavaServer Page (JSP) Basics
JavaServer Pages
JavaServer Pages 2.1
A Simple Example - Hello.jsp
JSP Benefits
Evolution of Dynamic Content Technologies
How JSP Works
JSP Invocation
JSP Scripting Elements
The XML Syntax
JSP Directive
page Directive Attributes
page Directive an Example
page Attribute errorPage
page Attribute isErrorPage
Using XML Syntax
Directives include
Include an Example
Include an Example
Include at compile time vs. at request time
Request time inclusion
JSP Declarations
Declarations an Example
JSP Expressions
JSP Expressions an Example
JSP Scriptlets
JSP Scriptlets an Example
JSP Scriptlets an Example
JSP Comments
JSP Predefined Variables
The request Object
The response Object
The out Object
Out an Example
Servlet Interaction Interface
Request
Request Parameters
Request Attributes
Request Headers
Request Path
Other Request Information
Response
Cookies
Setting Cookies
Servlet Context
Servlet Context Attributes
Resource
Session Tracking
Tracking Techniques
Cookies
Cookies an Example
HTML Hidden Fields
Using HttpSession
Session Invalidation
An Example of Session Tracking Code...
HttpSession - URL Rewriting
Using Java Beans with JSP
What is a JavaBean?
Structure of a JavaBean
Life Cycle
Properties
Very Simple Bean
Using Java Beans in JSP
The <jsp:useBean> tag
Java Bean scope
<jsp:useBean> in Action
The <jsp:getProperty> tag
The <jsp:setProperty> tag
Mapping all the request parameters
Another Example
Mixing Scriptlets and Bean tags
Servlet Programming Advanced
Key Issues for Web Application Development Productivity