Instructor-led training
Java Enterprise Edition 6 Training in South Lyon, Michigan
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.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in South Lyon, Michigan or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
Course Introduction
Course Objectives
Course Overview
Using the Workbook
Suggested References
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
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
Java Enterprise Edition
Java Enterprise Edition
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
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
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
Persisting Entities
EntityManager and Persistence Context
Entity Lifecycle
Creating and Removing Entities
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, 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
Java Enterprise Edition
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
Why the breadth and the container make this course demanding
The Java syntax here is familiar to anyone who meets the prerequisite. The difficulty is that most of the work is declared (annotations, descriptors, scopes, transaction attributes) and carried out by a container, so you cannot step through it as ordinary code. The syllabus builds the layers in this order:
- Web tier. JSP with Expression Language and JSTL form the view. Servlets (
HttpServlet,HttpSession,RequestDispatcher) act as the controller, and JavaBeans with their scopes are the model. JavaServer Faces then replaces much of this wiring with components, managed beans, validators and converters, and a request lifecycle. - Messaging and business tier. JMS covers point-to-point and publish/subscribe. Stateless, stateful, singleton and message-driven beans each have their own lifecycle and callbacks (
PostConstruct,PreDestroy). - Persistence and transactions. The Java Persistence API covers entities, the persistence unit, the entity manager and persistence context, relationships and cascading. The Java Transaction API covers container-managed versus bean-managed transactions, transaction attributes and rollbacks.
- XML and SOAP services. JAXB binds XML Schema to Java. JAX-WS then generates artifacts and clients with
wsimport.
Common misconceptions include these:
- Treating a session bean like a plain object, when its lifecycle determines whether state survives between calls.
- Assuming a persisted entity is written to the database immediately, rather than managed by the persistence context within a transaction.
- Leaving scripting elements in JSP when EL and JSTL are the intended approach.
The case study near the end ties persistence, a session bean, a servlet and JSP client, a message-driven bean and a JAX-WS endpoint into one application. That is where the interactions between the layers show up.
Who it suits and what to take around it
The course suits working Java developers who need a survey of the enterprise platform across web, messaging, EJB, persistence, transactions and SOAP services. Training managers can use it to bring a team onto an existing Java EE codebase or to give them a shared vocabulary. The stated prerequisite is Java programming. If your team's core Java skills need refreshing first, start with the Java Programming courses and learning guide.
Four days cover a lot of ground, so some topics stay at survey depth. Teams that need deeper work on beans and persistence can follow with Fast Track to Enterprise JavaBeans 3.1 and JPA 2, which concentrates on those two areas over five days. The web services coverage here is SOAP-based JAX-WS. Teams that also build HTTP and resource-style APIs can add Developing RESTful Services Using Java, which addresses that style directly.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Order intake with asynchronous processing. A team might accept orders through a JSP or JSF form and a controller servlet, then hand each one to a JMS queue. A message-driven bean could pick it up and persist it through a JPA entity. This uses the web, JMS, MDB and entity topics together.
- Transactional updates across several operations. A team maintaining an existing application might use container-managed transactions and transaction attributes on session beans to decide which operations commit or roll back together. They could also work out where bean-managed transactions are warranted.
- Exposing a business service to partners. A team might publish a stateless session bean as a SOAP endpoint with JAX-WS and generate a client with
wsimport. Message formats would come from XML Schema through JAXB marshalling and validation.
Using AI coding assistants with these topics
AI coding assistants are useful for boilerplate here: a servlet skeleton, entity classes with mapping annotations, a JAXB-bound class, or a JSTL loop over a bean property. They are weaker where behavior depends on the container and lifecycle:
- Lifecycle and state. Generated code may keep mutable fields in a singleton bean or servlet, which is unsafe under concurrent requests. It may also assume a stateless bean remembers values between calls.
- Transactions. Suggested transaction attributes and rollback handling are often plausible but wrong for the use case. Lazy loading and flushing behavior depend on the persistence context.
- Versions and packages. Output may mix API generations, such as older and newer package namespaces, descriptor styles, or configuration approaches from other frameworks, that do not match your server.
- Security. Check generated SQL, request-parameter handling and output encoding for injection and cross-site scripting.
To verify, deploy to your actual container and test the rollback paths. Inspect the SQL the persistence layer produces. Validate generated XML against the schema, and review each lifecycle annotation against what the code expects.
Frequently asked questions
What level is this course, and what should I know beforehand?
It is a general-level, four-day course for Java programmers. The listed prerequisite is Java programming. You do not need prior enterprise experience, but you should be comfortable with core Java and object-oriented design.
What does the course cover?
The syllabus covers JSP, JSTL and Expression Language, servlets and JavaBeans, JavaServer Faces, JMS, session and message-driven EJBs, the Java Persistence API, the Java Transaction API, JAXB data binding and JAX-WS SOAP services. A case study combines several of these. Appendices cover RMI, JNDI, JDBC and JavaMail.
Can this be delivered privately for our team?
Yes. HSG delivers private training for organizations, either onsite at the client's location or live online.
Can the content be customized to our environment?
Private training can be customized, including tailoring to the technology versions your organization uses, including current releases. You can describe your needs through the training proposal request.Training locations
Java Enterprise Edition 6 training across the U.S. and beyond.
We provide private Java Enterprise Edition 6 training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Java Enterprise Edition 6 training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.