Ajax Training: Ajax for Java Developers
EJB Training: Introduction to Enterprise Java Beans
Groovy for Java Developers
Hibernate Training
Intermediate Java Training
Introduction to Java Programming Training
Introduction to XML Training
Jakarta Struts Training
Java Development for Secure Systems
Java EE 5 (JEE - including EJB3)
Java Programming with Eclipse
JavaServer Faces (JSF) : Using JSF to Build J2EE Web Apps on the JBoss Application Server
JavaServer Faces Training: Introduction to JSF Training
JavaServer Pages Training: Introduction to JSP and Servlets Training
JBoss Training: Administering the JBoss 4.x Application Server
JBoss Training: Administering the JBoss® 5.X Application Server
JBoss Training: Enterprise JavaBeans (EJB 3) on the JBoss Application Server
JBoss Training: Enterprise JavaBeans 3.0 (EJB3) and the Java Persistence API (JPA) on the JBoss Application Server
JBoss Training: Java EE with Servlets JSP & JDBC on JBoss AS
JBoss Training: Servlets/JSP on the JBoss Application Server
JBoss Training: SOA and Java Web Services (JAX-WS) on the JBoss Application Server
Patterns In Frameworks Workshop
Software Design Training: Effective Software Development Training Boot Camp
Spring Framework Training (Spring 3)
Test Driven Development (TDD) for Java
The JSP Standard Tag Library (JSTL)
Web Development Using Grails Training
Web Services Training: Developing Java Web Services
XML Programming Using Java
    

Java EE 5 (JEE - including EJB3)

  Course #:  NT261
  Duration:  4 days

J2EE Training Overview

nTier's intense Java EE 5 training course teaches Java programmers how to develop enterprise applications using the ease of development features introduced in Java EE 5. Students will learn how to create dynamic web applications with JSP, Java Servlets, JSTL, and JSF. They will use JAX-WS to develop SOAP based web services. Students will learn about session and message-driven EJBs, as well as the new Persistence API. They will also be introduced to JavaMail, Java Message Service, Java Transaction API, and Java Management Extensions.

J2EE Training Learning Objectives

  • Describe the architecture and use of JEE technologies.
  • Write web applications that combine Java Servlets, JavaServer Pages, and JavaBeans using the Model-View-Controller architecture.
  • Develop web applications using the component-based and event-driven JavaServer Faces framework.
  • Send and receive asynchronous messages with the Java Message Service.
  • Interface with mail servers with JavaMail.
  • Describe the Enterprise JavaBean architecture.
  • Write session and message-driven EJBs.
  • Access a relational database with the Java Persistence API.
  • Handle transactions with the Java Transaction API.
  • Integrate legacy systems with JAX-WS web services.

J2EE Training Prerequisites

Students should have an understanding of Java, Servlets, JSP's, & EJB’s

J2EE Training Outline

  1. Introduction to Java EE 5
    • Java SE Building Blocks
    • Servlets, JSPs, and Web Applications
    • Web Services
    • Enterprise JavaBeans
    • Additional Java EE APIs
    • Java EE Clients
    • POJO, Dependency Injection, and Annotations
    • The Java EE Platform
  2. Introduction to JSP and JSTL
    • MVC and Web Applications
    • JSP As the View
    • JSP Scripting Elements
    • Expression Language
    • EL Operators
    • Request and Response
    • include and forwards
    • JSTL
    • Conditionals and Iteration in JSTL
    • JSTL Variables And Output
  3. Introduction to Java Servlets and JavaBeans
    • Java Servlets as the Controller
    • HttpServlet
    • HTTPServletRequest
    • HTTPServletResponse
    • HttpSession
    • RequestDispatcher
    • JavaBeans as the Model
    • Bean Scopes
    • web.xml
  4. JavaServer Faces
    • Frameworks
    • JSF Benefits
    • JSF Tag Libraries
    • Components
    • Managed Beans
    • Event handling
    • Navigation
    • Validators and Converters
    • Lifecycle
    • JSF Application Structure
  5. JMS
    • Messaging Concepts
    • What is JMS ?
    • Point-to-Point
    • Publish/Subscribe
    • Message Object
    • Session
    • Creating the Client
  6. JavaMail
    • Mail Systems and JavaMail
    • The javax.mail Packages
    • Establishing a Session
    • The MimeMessage Class
    • Sending a Message
    • Retrieving Email Messages
    • Multi-part Messages
  7. EJB3 Overview
    • The Enterprise JavaBean
    • EJB Benefits
    • Defining the Bean Interface
    • Defining the Bean Class
    • Creating a Client Servlet
    • Assembly and Deployment of EJBs
  8. Session Beans and Message-Driven Beans
    • A Session Bean
    • Stateless Session Beans
    • PostConstruct and PreDestroy
    • Lifecycle of a Stateless Session Bean
    • Stateful Session Beans
    • Lifecycle of a Stateful Session Bean
    • Lifecycle Callbacks
    • Dependency Injection
    • Message-Driven Beans
    • MDB Lifecycle
    • Sending a Message
  9. Introduction to the Persistence API
    • What is Java Persistence?
    • Persistence Objects and Metadata
    • Creating an Entity Class
    • The Entity Manager
    • Looking up Entities
    • The Persistence Unit
    • Deployment
  10. Persisting Entities
    • EntityManager and Persistence Context
    • Entity Lifecycle
    • Creating and Removing Entities
    • Transactions
    • Mapping Entities to Tables
    • Entity Relationships
    • Primary Keys
    • Lazy Loading and Cascading
  11. Transactions
    • Transaction Terminology
    • The Java Transaction API
    • The UserTransaction Interface
    • Transactions in Java EE
    • Bean-Managed Transactions
    • Container-Managed Transactions
    • Transaction Attributes
    • Transaction Rollbacks
  12. Data Binding with JAXB 2.0
    • W3C XML Schema
    • XML Data Binding Basics
    • JAXB Architecture
    • Compiling Schema to Java
    • JAXBContext
    • Unmarshalling
    • Marshalling
    • Validation
    • Custom Binding Declarations
    • Java to Schema
  13. Java API for XML-Based Web Services (JAX-WS)
    • JAX-WS
    • Creating a Web Service Endpoint
    • The Service Implementation
    • The Service Interface
    • apt and wsgen
    • Generated Files
    • Packaging and Deploying the Application
    • A JAX-WS Client
    • wsimport
  14. Java Management Extension (JMX)
    • What is a JMX?
    • MBeans
    • Creating a Standard MBean
    • Object Names
    • The MBean Server
    • Local Client
    • Remote Client
    • JConsole
    • Notifications
  15. Case Study
    • Persistence
    • Stateless Session Bean
    • Web Tier Client: HTML
    • Web Tier Client: Controller Servlet
    • Web Tier Client: Data Transfer JavaBean
    • Web Tier Client: JSP
    • Web Tier Client: web.xml
    • Message-Driven Bean
    • JMS Client
    • JAX-WS Endpoint
    • Web Service Client

Appendix A.  Learning Resources

System Requirements
Hardware – minimal: Pentium 500MHz, 128 meg RAM, 500 meg HD.
Hardware – recommended:   Pentium 1.5gHz, 512 meg RAM, 1 gig HD.