Java Training Overview
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.
Java Training Audience
Java programmers who need to learn about Java EE 6.
Java Training Prerequisites
Java Programming.
Java Training Course Duration
4 Days
Java Training Course outline
1. Course Introduction
- Course Objectives
- Course Overview
- Using the Workbook
- Suggested References
2. Introduction to Java EE 5
- 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
- Stateelss 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
- Entity Lifecycle
- Creating and Removing Entities
- 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
Appendix A - Underlying Technologies:
RMI, JNDI, 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
- 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
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
|