Course JAV102 - JavaEE Application Development
Duration: 5 Days
Intended Audience
This course is aimed at Java programmers who will be developing, deplying and maintaining JavaEE applications.
Synopsis
This course is an introduction to JavaEE up to version 7 of the Java Enterprise Edition API. It covers the various JEE technologies and their uses in building large scale web based applications.
The course covers Servlets, JSP and Java Server Faces, and will also cover the creation of business components using EJB. Additionally it introduces techniques for developing programs to access remote databases and illustrates how to integrate JNDI, JMS and Web Services and REST into applications.
Course Outline
- Overview
- The JEE Environment
- How the various components fit together
- Java annotations - an introduction
- Database Connectivity (JDBC)
- Connecting to Databases
- Statements
- Result Sets
- Releasing Database Resources
- Metadata
- Prepared Statement Objects
- Stored Procedures
- Pooled Connections
- Transactions
- Transaction Isolation and Data Locking
- 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
- Implementing and running an HTTP Servlet
- Request Parameters
- Servlet Initialization Parameters, and Context Parameters
- Session Management and Maintaing Web Application State Using Servlets
- Java Server Pages (JSP)
- Principles underlying JSP
- Impelementing a Java Server Page
- JSP / XML Elements
- Servlet To JSP Request Dispatching
- Action Elements
- Implicit Objects
- Error Pages
- Custom Tags and Tag Libraries
- JSP Expression Language
- EL expressions
- Variables
- Functions
- Java Server Faces (JSF)
- The JSF Life Cycle
- Creating JSF Components
- Navigating JSF Pages
- Event Handling
- Input Validation
- Persistence Issues
- Java Messaging Services (JMS)
- Messaging scenario
- Message Domains
- Configuring a JMS Application
- Messaging Activity
- Asynchronous Message Consumption
- Transactions
- Messages
- JNDI
- Features of naming services
- The Initial Context
- Naming Example
- Directory Services
- JNDI and J2EE
- Object Storage
- Enterprise Java Beans (EJB)
- Motivation for EJBs
- The EJB Architecture
- The EJB server
- The EJB container
- Types of EJBs - Session Beans, Entity Beans
- Session bean
- Entity beans
- EJB roles
- Bean developer
- Application assembler
- Deployer
- Container provider
- Server provider
- System administrator
- XML
- Overview of XML
- Overview of techniques for parsing XML in Java - SAX and DOM parsing
- JSON
- Overview of JSON
- Overview of techniques for parsing JSON in Java
- Introduction to Web Services
- Examples of Web Services
- Rationale Underlying Web Services
- The Web Services Protocol Stack
- SOAP, WSDL and UDDI
- Introduction to the REST Protocol
- Overview of JAX-RS - Java API for RESTful Web Services
- The Jersey reference implementation of JAX-RS
- Overview of the JAX-RS annotations
- Creating and using RESTful services in Java