J2EE Applications
Introduction
JBoss and Tomcat are now a well-established alternatives for deploying
distributed, scalable enterprise applications. This course demonstrates
how to build applications for both the Tomcat Web container and the JBoss
application server using open source tools such as Ant, and then to then
test and deploy those applications. Throughout the course, students will
build an end to end J2EE application. They will also see some of the
common design patterns that can be applied in Java applications.
Course Objectives
By the end of the course you will be able to:
-
Understand the J2EE architectural paradigm, and appreciate how
it can be used
-
Develop and deploy Java Server Pages, Servlets and Java Beans
within a web container
-
Be able to implement the Jakarta Struts framework
-
Use JNDI to locate distributed objects, including enterprise
Java beans, and application server specific components
-
Develop and deploy Entity Enterprise Java Beans
-
Develop and deploy Session Enterprise Java Beans
-
Appreciate the alternative persistence strategies, identifying
the pros and cons of each
-
Deploy a complete J2EE application within a J2EE compliant
application server
|
Content
1. Introduction to J2EE - What is J2EE? - What technologies does J2EE
encapsulate? - What is the architecture of J2EE applications? - When
should I be considering J2EE in my applications?
2. Introduction to
Java Servlets - What is a Java Servlet - Java Servlet lifecycle -
Introduction to the Servlet API - How to develop and deploy Java Servlets
3.
More on Java Servlets - Processing form data from Java Servlets -
Session tracking from Java Servlets
4. JavaServer Pages - What
is a JavaServer Page? - Directives in JSP - Scriptlets in JSP - Scripting
Elements in JSP - Standard Actions in JSP
5. JavaBeans and
JavaServer Pages - Using JavaBeans with JSP - JSP and Servlet
interaction - Web application architecture
6. Introducing the JSP
Standard Tag Library - The Core Actions - Using the EL in Tags
7.
Introducing Jakarta Struts - The need for frameworks - Struts overview
- Components of a Struts application
8. Implementing Jakarta Struts
- Building a Struts Application - Working with Forms - Validation with
ActionForms - Processing with Action Objects
9. Introducing
JavaServer Faces - What is JSF - The JSF Architecture - Implementing
JSF Applications - JSF compared with Struts
10. Enterprise Java Bean
Overview - The four types of EJB - Issues associated with EJB -
Packaging EJBs for deployment
11. Entity Beans - Entity bean
architecture - Home and Remote interfaces - Finder Methods - Primary Keys
- Entity Context - Deploying entity beans
12. JNDI - What is
JNDI? - How to use JNDI Locating remote objects - Registering remote
objects
13. Session Beans - Session bean home and remote
interfaces - Using JNDI to locate entity beans - Using entity beans from
session beans - Session Context - Deploying session beans - Accessing
session beans from within JSP - Design issues surrounding EJB development
14.
Web Applications and EJB - Web applications and EJB interaction -
Design considerations - Architectural example
15. Java Messaging
Service - Introduction to JMS - Topics and Queues - Implementing
messaging using Java
16. Message Driven Beans - The role of the
MDB - Building an MDB - Deploying an MDB
17. Using JDO for
Persistence - What is JDO - When to use JDO - JDO Example
18.
Using Hibernate for Persistence - What is Hibernate - Hibernate
architecture - - Hibernate Example - Using Hibernate from Session beans
19.
Working with Ant - The Build process - Tasks and targets - Properties
20.
Testing with JUnit - The importance of testing - JUnit architecture -
Writing tests - Running tests - Creating test reports