Sela

Web Servlets and JSP

Description
Discover Sun’s cutting edge technologies for building backend Web applications, in a 3 days course dealing with Servlets and JSP. We begin with a quick overview of Web basics and server side programming, followed by an introduction to J2EE Web Applications and Java Servlets. We then deal with the technology’s pros and cons and explore its commonly used features, including request manipulations, threading issues, session tracking and cookies. Once students are comfortable with the world of Servlets, we continue our journey by looking at things from the JSP point of view. We teach the various nuances of JSP by comparing it to its ancestor, and learn to optimize our applications using Java Beans.
Intended audience
This course is intended for Skilled Java Programmers and Team leaders.

Topics

The Internet
The OSI Model
The Internet Protocol
Transmission Control Protocol
Domain Name System
Ports
Uniform Resource Locator
Hypertext Transfer Protocol
HTTP Messages
Request Methods
MIME
Proxy and Firewall
The Big Picture
Why Use Server Side Programming
Other Technologies
Why Use Servlets
So What Is JSP ?
Application/Applet/Servlet
Web Servers
Web Containers
The Big Picture
A Typical Servlet
How Servlets Work
Servlet’s Life Cycle
Some Terminology
The J2EE Big Picture
Web Applications
The web.xml Deployment Descriptor
Web.xml – Document Definition
Web.xml – Adding Servlets
Web.xml – Mapping Servlets
Web.xml – Sending Parameters
Web.xml – Pre-loading Servlets
The Directory Structure
Web Application Archive
Deploying Web Applications
Servlets Packages
Main Classes Hierarchy
HttpServlet
DoGet() Method
DoPost() Method
Generating the Response
The HttpServletRequest Object
Getting Parameters
Getting Parameters – Multiple Values
Getting Parameters – Generic Names
The init() and destroy() Methods
ServletContext
Sharing Resources
Getting Initialization Parameters
Logging
Threading Issues
Synchronizing Data
SingleThreadModel
Request Dispatching
The RequestDispatcher Interface
Response Redirection
Motivation
Back to the Stone Age
Cookies
Sending and Receiving Cookies
Expiration Date
HttpSession
The HttpSession Interface
Summary
Application Life Cycle
Overview
How Does It Work ?
Registering Listeners
ServletContextListener
ServletContextAttributeListener
HttpSessionListener
HttpSessionAttributeListener
HttpSessionBindingEvent
What is JSP
But We Already Have Servlets
Divide and Conquer
Choose One
Enjoy the Best of Both World
How Does it Work
JSP Basics
JSP Comments
Regular Static HTML
The Page Directive
Available Packages
JSP Scripting Elements
Expressions
Declarations
Scriptlets
Implicit Objects
The Request Object
The Out Object
The Include Directive
The Include Action
The Forward Action
The Param Action
Cookies
Handling Errors
Summary
Adding Some Magic Beans
Beans Conventions
Using Beans – Getting a Handle
Using Beans – Getting a Property
Using Beans – Setting a Property
Scopes
The Request Scope
The Session Scope and Implicit Object
The Application Scope and Application Object
Useful Resources

רוצה לדבר עם יועץ?

האם אתה בטוח שאתה רוצה לסגור את הטופס ולאבד את כל השינויים?