Developing Java Web Applications
Course Description
This course teaches you how to create Web interfaces using JavaServer Pages technology. It covers the very latest technologies that are now available to the Java Web application developer, including the JSP Standard Tag Library,
Struts, JavaServer Faces, Portlets and the JSP Expression Language as well as JSP architecture, working with JavaBeans, and how to interface with Enterprise JavaBeans and Web services. The training course can be delivered using a number of development tools, including IBM Rational Application Developer, Oracle JDeveloper, Eclipse, or a basic text editor. The training course can be delivered on most deployment environments, including Tomcat, WebSphere, Oracle AS, JBoss, and WebLogic.
Struts, JavaServer Faces, Portlets and the JSP Expression Language as well as JSP architecture, working with JavaBeans, and how to interface with Enterprise JavaBeans and Web services. The training course can be delivered using a number of development tools, including IBM Rational Application Developer, Oracle JDeveloper, Eclipse, or a basic text editor. The training course can be delivered on most deployment environments, including Tomcat, WebSphere, Oracle AS, JBoss, and WebLogic.
Course Duration
4 days
Course Objectives
At the end of this training course, students should be able to:
• Identify the core components of a Java Web application
• Write and deploy a Java Servlet
• Process form data from a Java Servlet
• Understand the JSP lifecycle
• Use scriptlets , expressions, and standard actions in a JSP
• Use the JSP Standard Tag Library (JSTL)
• Integrate XML into a Web application
• Use the JSP Expression Language (EL)
• Build applications using the Struts Framework
• Implement a Portlet and deploy it to a Portlet Container
• Add appropriate content metadata to JSP and other content items
• Develop interfaces to Web services
• Develop interfaces to Enterprise Java Beans
• Identify some of the architectural, design, and implementation considerations when working with JSP technology
• Identify the core components of a Java Web application
• Write and deploy a Java Servlet
• Process form data from a Java Servlet
• Understand the JSP lifecycle
• Use scriptlets , expressions, and standard actions in a JSP
• Use the JSP Standard Tag Library (JSTL)
• Integrate XML into a Web application
• Use the JSP Expression Language (EL)
• Build applications using the Struts Framework
• Implement a Portlet and deploy it to a Portlet Container
• Add appropriate content metadata to JSP and other content items
• Develop interfaces to Web services
• Develop interfaces to Enterprise Java Beans
• Identify some of the architectural, design, and implementation considerations when working with JSP technology
Course Content
Introduction to Web Applications
Java Servlets; JavaServer Pages; JavaBeans; Tag Libraries
Introduction to Java Servlets
What is a Java Servlet; Java Servlet lifecycle; Introduction to the Servlet API; How to develop and deploy Java Servlets
Session Tracking
Processing form data from Java servlets; Working with Cookies; Working with URL re-writing; Using the HttpSession
object
Java Server Pages
What is a Java Server Page?; Directives in JSP; Scriptlets in JSP; Scripting Elements in JSP; Standard Actions in JSP
JavaBeans and JavaServer Pages
What are JavaBeans; Using JavaBeans with JSP; JSP and Servlet interaction; Web application architecture
The Expression Lauguage (EL)
EL Syntax; EL Functions; EL Operators
JavaServer Page Tag Libraries
What are Tag Libraries; Components of a Tag Library; The JavaServer Pages Standard Tag Library (JSTL);
JSTL Tag Overview
The JSTL Core Tags
The Core Actions; Flow control actions; URL actions; Handling errors using catch; Outputting content using the out tag
Introduction to Jakarta Struts
Purpose of the Struts Framework; The Action Servlet; The ActionForm object; The Action object; The ActionMapping object
Implementing a Jakarta Struts Application Building a Struts
Application; Building the pages; Creating ActionForm objects; Creating Action objects; Configuring struts-config.xml
Introduction to JavaServer Faces (JSF)
What is JSF; Benefits of JSF over Struts; Overview of a JSF Application; Struts and JSF compared
JSP and Databases
JDBC Overview; The SQL Actions; Configuring Data Sources in Tomcat; Delegation and using JavaBeans
JSP and XML
The XML Actions; Applying XSLT transformations using JSTL; Processing DOM objects using JSTL
Portals and Portlets
What is a Portal; What is a Portlet; The JSR 168 Portlet Specification; Implementing a Portlet; Deploying a Portlet
Portals States and Modes
Working with Portlet States; Working with Portlet Modes; Implementing a Multi Mode Portlet
Creating Tag Librariies
Creating tags; Deploying tags
Enterprise JavaBeans and JSP
Overview of EJB; Invoking EJBs from a Web application; Design considerations
Securing Web Applications
Security options for Web applications; J2EE Principals and Roles; Declarative security; Programmatic security
Java Servlets; JavaServer Pages; JavaBeans; Tag Libraries
Introduction to Java Servlets
What is a Java Servlet; Java Servlet lifecycle; Introduction to the Servlet API; How to develop and deploy Java Servlets
Session Tracking
Processing form data from Java servlets; Working with Cookies; Working with URL re-writing; Using the HttpSession
object
Java Server Pages
What is a Java Server Page?; Directives in JSP; Scriptlets in JSP; Scripting Elements in JSP; Standard Actions in JSP
JavaBeans and JavaServer Pages
What are JavaBeans; Using JavaBeans with JSP; JSP and Servlet interaction; Web application architecture
The Expression Lauguage (EL)
EL Syntax; EL Functions; EL Operators
JavaServer Page Tag Libraries
What are Tag Libraries; Components of a Tag Library; The JavaServer Pages Standard Tag Library (JSTL);
JSTL Tag Overview
The JSTL Core Tags
The Core Actions; Flow control actions; URL actions; Handling errors using catch; Outputting content using the out tag
Introduction to Jakarta Struts
Purpose of the Struts Framework; The Action Servlet; The ActionForm object; The Action object; The ActionMapping object
Implementing a Jakarta Struts Application Building a Struts
Application; Building the pages; Creating ActionForm objects; Creating Action objects; Configuring struts-config.xml
Introduction to JavaServer Faces (JSF)
What is JSF; Benefits of JSF over Struts; Overview of a JSF Application; Struts and JSF compared
JSP and Databases
JDBC Overview; The SQL Actions; Configuring Data Sources in Tomcat; Delegation and using JavaBeans
JSP and XML
The XML Actions; Applying XSLT transformations using JSTL; Processing DOM objects using JSTL
Portals and Portlets
What is a Portal; What is a Portlet; The JSR 168 Portlet Specification; Implementing a Portlet; Deploying a Portlet
Portals States and Modes
Working with Portlet States; Working with Portlet Modes; Implementing a Multi Mode Portlet
Creating Tag Librariies
Creating tags; Deploying tags
Enterprise JavaBeans and JSP
Overview of EJB; Invoking EJBs from a Web application; Design considerations
Securing Web Applications
Security options for Web applications; J2EE Principals and Roles; Declarative security; Programmatic security
Who should attend?
Web developers who need to be able to build enterprise Java based Web applications using JSP.
Pre-requisites
Delegates must be familiar with XML, and they must also be familiar with Web technologies such as HTML and HTTP. Java programming experience is desirable but not essential for this training course. If you do not have Java, then some
scripting experience would be extremely advantageous.
scripting experience would be extremely advantageous.