Developing Applications with Java EE - A 5 Day Course
Course Synopsis
This course introduces delegates to version 5 of the Java Enterprise Edition API. It explains the JEE technologies and how they can be used to build large scale web based applications.
Delegates will learn how to develop Java systems that generate front end web pages using tools such as Servlets, JSP and Java Server Faces, and will also create business components using EJB version 3.0. In addition, we will develop programs to access remote databases and show how technologies such as JNDI, JMS and Web Services can be integrated into the overall solution.
The delegate will practice:
- JDBC
- Remote Method Invocation
- Servlets
- Java Server Pages
- Java Server Faces
- Java Messaging Services
- JNDI
- Enterprise Java Beans 3.0
- Web Services
Course Objectives
By the end of the course delegates should be able to:
- Understand the Java Enterprise Architecture
- Write java programs to interface with databases
- Run method calls on remote objects
- Write code to generate dynamic HTML pages
- Create web applications using Servlets
- Use tag libraries to develop Java Server Pages
- Use Java Server Faces to product web components
- Configure the Java Messaging Service
- Understand the Java Naming and Directory Interface
- Create business components with the EJB specification
- Write web services
Suitable for
- This course is aimed at programmers who need to understand and program in the Java enterprise architecture.
Prerequisites
- Java Programming course or development experience using Java
Publicly scheduled dates, locations, and prices
London — £1595 (+VAT)
- 22–26 Mar 2010
- 14–18 Jun 2010
- 16–20 Aug 2010
- 4–8 Oct 2010
- 29 Nov–3 Dec 2010
Contents
Overview
- The JEE Environment
- System Architecture
- Putting It All Together
Database Connectivity (JDBC)
- Connecting to Databases
- Statements
- Result Sets
- Releasing Database Resources
- Exercise
JDBC (cont.)
- Metadata
- Prepared Statement Objects
- Stored Procedures
- Pooled Connections
- Transactions
- Transaction Isolation and Data Locking
- Exercise
Remote Method Invocation
- The Distributed Computing Model
- Designing the Remote interface
- Building a Remote Object
- Dynamically Downloading Classes
- The RMI Registry
Servlets
- Servlets and HTTP Requests
- The HTTP Servlet Model
- The MVC Architecture
- The HTTP Servlet Hierarchy
- The HTTP Servlet Lifecycle
- Writing an HTTP Servlet
- Executing an HTTP Servlet
- Request Parameters
- Exercise
- Servlet Initialization Parameters
- Servlet Context Parameters
- Web Application State Using Servlets
- Session Management
- Exercise
Java Server Pages (JSP)
- How JSPs work
- Creating a Java Server Page
- Exercise
- JSP / XML Elements
- Servlet To JSP Request Dispatching
- Action Elements
- Implicit Objects
- Error Pages
- Exercise
- Custom Tags and Tag Libraries
- Commercially available tag libraries
- Exercise
- JSP Expression Language
- EL expressions
- Variables
- Functions
- Exercise
Java Server Faces (JSF)
- The JSF Life Cycle
- Creating JSF Components
- Navigating JSF Pages
- Exercise
- Event Handling
- Input Validation
- Persistence Issues
- Exercise
Java Messaging Services (JMS)
- Messaging scenario
- Message Domains
- Configuring a JMS Application
- Messaging Activity
- Asynchronous Message Consumption
- Transactions
- Messages
JNDI
- Similarities with JDBC
- Features of naming services
- The Initial Context
- Naming Example
- Directory Services
- JNDI and J2EE
- Object Storage
- Exercise
Enterprise Java Beans (EJB)
- Why EJBs?
- The EJB Architecture
- The EJB server
- The EJB container
- Exercise
- Types of EJBs
- Session bean
- Entity beans
- Exercise
- EJB roles
- Bean developer
- Application assembler
- Deployer
- Container provider
- Server provider
- System administrator
Web Services
- Examples of Web Services
- Reasons to Use Web Services
- The Web Services Protocol Stack
- SOAP, WSDL and UDDI
- Exercise
