Building and Deploying Java EE Applications

Contact Us for Dates
4 days practical workshop for up to 12 people.

Only £1580 per person

Contact us for Onsite Price

This training course demonstrates how to build enterprise Java EE applications. Throughout this training course, students will build an end to end Java EE application. They will learn how to work with all the core Web technologies including JAX-RS, JPA, CDI, and EJB. They will also see some of the common design patterns that can be applied in Java enterprise applications. This course can be delivered on your preferred application server. It is commonly delivered using a combination of Tomcat, JBoss, WildFly, Glassfish, WebSphere, or WebLogic. Additional optional chapters are available covering SOAP services and Web frameworks for front end development using JSP and Tag libraries or Thymeleaf. Through the course, students will build a complete end to end JEE REST API using best practice with JEE. Optionally, a front end can be added as well.


This training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice. The exercises specifically build on what has been recently taught and are built up as the training course progresses.

Training Course Objectives

  • Understand the Java EE architectural paradigm, and appreciate how it can be used
  • Use CDI to inject distributed objects, including enterprise Java beans, and application server specific components
  • Develop and deploy Persistence Units
  • Use EJB to create a business layer
  • Use JPA to create a persistence layer
  • Use JAX-RS to create a REST API layer
  • Apply JAAS Security to an application
  • Manage transactions using JTA
  • Build and deploy a complete Java EE application within a Java EE compliant application server
  • Understand JEE security
  • Understand and implement JMS based applications
  • Learn best practice architectural and design principles when building JEE applications

Who it is for

This training course is aimed at experienced Java developers, who need to learn the skills required to build enterprise applications using open source tools for Tomcat and the JBoss application server.

Training Course Prerequisites

  • Delegates should be familiar with the Java Programming language as far as at least being comfortable with its basic use and with OO concepts.


Chapter 1 Introduction to Java EE

  • What is Java EE?
  • What technologies does Java EE encapsulate?
  • What is the architecture of Java EE applications?
  • When should I be considering Java EE in my applications?

Chapter 2 Creating REST based Web services

  • The REST Principles
  • Working with JAX-RS
  • Setting Paths and Parameters
  • Controlling the binding to XML and JSON
  • Deployment considerations

Chapter 3 The Java Persistence API (JPA)

  • What is the Java Persistence API
  • Hibernate and the JPA
  • The JPA Entity beans
  • Using Annotations with Entity beans
  • A Hibernate example using JPA

Chapter 4 Persistence Units

  • What is a persistent unit
  • Configuring a persistence unit
  • Understanding persistence.xml
  • Deploying a persistence unit

Chapter 5 Enterprise Java Bean Overview

  • Session bean overview
  • Message Driven Bean overview
  • Packaging EJBs for deployment

Chapter 6 Session Beans in EJB3

  • Session bean local and remote interfaces
  • Session Context
  • Annotating session beans
  • Deploying session beans
  • Dependency injection with Session beans

Chapter 7 The Entity Manager

  • The role of the entity manager in JPA
  • Configuring a Hibernate Entity manager
  • Entity manager methods
  • Entity object lifecycle
  • Working with an entity manager from a session bean
  • Transaction management using JTA

Chapter 8 JNDI

  • What is JNDI?
  • How to use JNDI Locating remote objects
  • Registering remote objects
  • Using Dependency injection

Chapter 9 Context Dependency Injection

  • The role of CDI in enterprise applications
  • Creating @Default and @Alternative beans
  • Working with custom qualifiers
  • Decorators and Interceptors
  • Working with Events

Chapter 10 Web Applications and EJB

  • Web applications and EJB interaction
  • Design considerations
  • Architectural example
  • Maven based projects for EAR files

Chapter 11 Java Messaging Service

  • Introduction to JMS
  • Topics and Queues
  • Implementing messaging using Java

Chapter 12 Message Driven Beans

  • The role of the MDB
  • Building an MDB
  • Deploying an MDB

Chapter 13 Securing JEE Applications

  • Realms, Principals, and Roles
  • Configuring Authentication
  • Configuring Authorization
  • Programmatic and Declarative Security