Java Enterprise Edition 6

 

 

 

Java Enterprise Edition Training Class Summary

This intense four-day course teaches Java™ programmers how to develop enterprise applications using the ease of development features introduced in Java EE 5 and 6. Students will learn how to create dynamic web applications with JSP, Java Servlets, JSTL, and JSF. Next, they will learn how to send and receive asynchronous messages with the Java Message Service. Students then learn about session and message-driven EJBs, as well as the Java Persistence API and Java Transaction API. The course ends with XML topics including data binding with JAXB and developing SOAP based web services with JAX-WS.

Audience: Java programmers who need to learn about Java EE 6.

Prerequisites: Java Programming.

Class Length: 4 days

Java Enterprise Edition Training Class Objectives
  • Describe the architecture and use of Java EE 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.
  • 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.
  • Map XML content to domain-specific objects with JAXB.
  • Integrate legacy systems with JAX-WS web services.
Java Enterprise Edition Training Class Detailed Outline
  1. Course Introduction
    • Course Objectives
    • Course Overview
    • Using the Workbook
    • Suggested References
  2. Introduction to Java EE
    • Introduction to Java EE
    • Java SE Building Blocks
    • Web Applications
    • Web Services
    • Enterprise JavaBeans
    • Additional Java EE APIs
    • POJO, Dependency Injection, and Annotations
    • The Java EE Platform
  3. Introduction to JSP and JSTL
    • MVC and Web Applications
    • JSP As the View
    • JSP Scripting Elements
    • Request and Response
    • Expression Language
    • EL Operators
    • include and forwards
    • JSTL
    • Conditionals and Iteration in JSTL
    • JSTL Variables and Output
  4. Introduction to Java Servlets and JavaBeans
    • Java Servlets as the Controller
    • HttpServlet
    • HTTPServletRequest
    • HTTPServletResponse
    • HttpSession
    • RequestDispatcher
    • JavaBeans as the Model
    • Bean Scopes
    • WAR File
  5. Introduction to JavaServer Faces
    • Frameworks
    • JSF Benefits
    • JSF Tag Libraries
    • Components
    • Managed Beans
    • Event handling
    • Navigation
    • Validators and Converters
    • Lifecycle
    • JSF Application Structure
  6. JMS
    • Messaging Concepts
    • What is JMS ?
    • Point-to-Point
    • Publish/Subscribe
    • Message Object
    • Session
    • Creating the Client
  7. EJB3 Overview
    • The Enterprise JavaBean
    • EJB Benefits
    • A Simple EJB
    • Local and Remote EJB Access
    • Creating a Client
    • Assembly and Deployment of EJBs
    • Creating a Client
    • 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
    • Singleton Session Beans
    • Lifecycle of a Singleton Session Bean
    • Dependency Injection
    • Message-Driven Beans
    • MDB Lifecycle
    • Sending a Message
  9. Introduction to the Java Persistence API
    • What is Java Persistence?
    • Persistence Objects and Metadata
    • Creating an Entity Class
    • The Persistence Unit
    • The Entity Manager
    • Looking up Entities
    • Deployment
  10. Persisting Entities
    • EntityManager and Persistence Context
    • Managed and Detached Entities
    • Creating and Removing Entities
    • Bulk Updates and Deletes
    • Transactions
    • Mapping Entities to Tables
    • Primary Keys
    • Entity Relationships
    • Cascading
  11. Transactions
    • 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
  13. Java API for XML-Based Web Services (JAX-WS)
    • JAX-WS
    • Creating a Web Service Endpoint
    • The Service Implementation
    • The Service Interface
    • Generating Artifacts
    • Generated Files
    • Packaging and Deploying the Application
    • A JAX-WS Client
    • wsimport
  14. 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
  15. Appendix A – Underlying Technologies: RMI and JDBC
    • RMI
    • Steps to Create a Remote Object
    • An RMI Client
    • An RMI Server
    • RMI Utilities
    • The JDBC Connectivity Model
    • Connecting to the Database
    • Creating a SQL Query
    • Getting the Results
    • Updating the Database Data
  16. Appendix B - JavaMail
    • Mail Systems and JavaMail
    • The javax.mail Packages
    • Establishing a Session
    • The MimeMessage Class
    • Sending a Message
    • Retrieving Email Messages
    • Multi-part Messages