Java Enterprise Edition 6 – 4-Day JAV500
Learn how to develop Enterprise Edition 6 Applications in this four-day java course. Java programmers will learn 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 in this Java class. 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.
Java EE 6 – 4 Days – JAV500 Request a Class Date
Java programmers will learn how to develop enterprise applications using the ease of development features introduced in Java EE 5 and 6.
Java EE 6 Learning 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.
Course ID: JAV500 Duration: 4 days
Audience:Prerequisites: Java Programming.
Java EE 6 Course Curriculum
- Course Objectives
- Course Overview
- Using the Workbook
- Suggested References
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
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
Introduction to Java Servlets and JavaBeans
- Java Servlets as the Controller
- HttpServlet
- HTTPServletRequest
- HTTPServletResponse
- HttpSession
- RequestDispatcher
- JavaBeans as the Model
- Bean Scopes
- WAR File
Introduction to JavaServer Faces
- Frameworks
- JSF Benefits
- JSF Tag Libraries
- Components
- Managed Beans
- Event handling
- Navigation
- Validators and Converters
- Lifecycle
- JSF Application Structure
JMS
- Messaging Concepts
- What is JMS ?
- Point-to-Point
- Publish/Subscribe
- Message Object
- Session
- Creating the Client
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
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
- What is Java Persistence?
- Persistence Objects and Metadata
- Creating an Entity Class
- The Persistence Unit
- The Entity Manager
- Looking up Entities
- Deployment
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
Transactions
- The Java Transaction API
- The UserTransaction Interface
- Transactions in Java EE
- Bean-Managed Transactions
- Container-Managed Transactions
- Transaction Attributes
- Transaction Rollbacks
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 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
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 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