Audience
This training course is aimed at developers who need to create distributed applications for the Java EE 7 platform.
Prerequisites
Delegates must have experience using the Java programming language. Attending our Java Programming class would provide you with the ideal prerequisite knowledge.
Familiarity with creating distributed applications would be beneficial but is not a requirement.
Duration
5 days. Hands-on.
Course Objectives
Java Enterprise Edition defines a platform for multi-tier enterprise development.
This training course describes how to use Java EE 7 to create Web applications, implement middle-tier application components, and persist data to a back-end database. The course covers the latest techniques and APIs in the Java EE 7 platform.
- Understanding Java EE architecture and components
- Implementing a Web site using servlets, JSP, and JSF
- Defining and accessing EJB components
- Using JNDI and CDI to manage components
- Implementing message-based solutions using JMS
- Creating and consuming REST and SOAP Web services
- Implement Web Socket solutions
Course Content
Java EE Architecture
Multi-tier architectures
Issues confronting distributed programming and web deployment
Java EE overview
Java EE application development
Java EE deployment
Java Database Connectivity (JDBC) Overview
Database connections
JDBC drivers
Table access
JDBC types
Transactions
Connection pooling
Java Naming and Directory Interface (JNDI)
Introduction to JNDI
Performing naming operations
Using JNDI in Java EE
Java Servlets
A request-response model for web usage
HTML 5 support
Servlet requests and responses
Parameterizing servlets
Servlet lifecycle
Session tracking
Cookies
HTTP headers
Annotation-based configuration via the Servlet 3.0 specification
Java Server Pages
Embedding active content or results on a web page
JSP syntax
JSP and servlets
Expression Language (EL)
JSP Standard Tag Library (JSTL)
JavaServer Faces (JSF)
Overview of JSF
Creating a simple JSF-based Web application
Overview of templating
Introduction to Enterprise JavaBeans (EJBs)
Overview of EJBs
Types of EJBs
Session EJBs
Overview of session beans
Stateless session beans
Stateful session beans
Transactions
Security management
Simplified packaging via EJB 3
Contexts and Dependency Injection (CDI)
Overview of CDI
Injection points
Bean scopes
Producers
Decorators
Interceptors
Events
Java Connector Architecture (JCA)
Overview of JCA
JAC key components
Using JCA in practice
Persistence in Java EE
Entity beans.
EntityManager and Persistence Units.
Mapping entity classes to relational databases.
Using the Java Persistence API (JPA).
Java Message Service (JMS)
Reliable asynchronous messaging.
JMS features.
Point-to-point messaging.
Publish–subscribe messaging.
Quality-of-service control.
Message-driven beans.
SOAP-Based Web Services
Overview of Web services and SOAP.
Creating a SOAP Service.
Consuming a SOAP Service.
REST-Based Web Services
Overview of RESTful services
Creating a RESTful service
Consuming a RESTful service
Handling JSON data
Web Sockets
Overview of Web sockets
Defining a web sockets server
Defining a Web sockets web page client
Defining a Web sockets Java client
Additional techniques