Realdolmen Education

Details

What's New in Java EE7

This course is currently not scheduled on the open calendar, but can be organized on request.

Request Course

Duration

2 day(s)

Audience

Java EE developers and architects who wish to learn the new features and enhancements introduced in Java EE 7.

Prerequisites

Having good knowledge of the Java programming language. At least some proficiency with Java EE 6 or earlier editions is required.

Objectives

Delve into the different improvements from the new and latest version of Java EE.

Methods

Classroom training with hands on exercises

Description

The latest version of Java Enterprise Edition has been released. The Java EE 7 SDK is ready for download, as is the open source Glassfish 4 reference implementation. Application Servers such as Wildfly are ready for production. It is now time for Java developers to start exploring the new features of Java EE 7!.

With this new release, development of Java enterprise applications has never been easier or faster. The Java EE platform provides developers with a powerful set of APIs that can be applied in any situation, and promises shorter development times, reduced complexity and improved performance. At the same time several improvements and new features were introduced. This course means to help participants explore what's new in Java EE 7 and help deliver high quality, scalable enterprise applications using this new specification.

The course will discuss the new APIs such as WebSockets and JSON support, the simplified JMS 2.0 API, support for Batch applications, server-side concurrency utilities, improved JAX-RS (2.0) and several other enhancements in the CDI, EJB, JPA, and JSF specifications. Code examples and hands-on exercises will help participants to experience how Java EE 7 will support them in their future projects.

Contents

  • What's new in JEE 7?
    • Goal
    • Agenda
    • Reference Books
  • Introduction
    • Understanding Java EE
    • Java EE Features
    • Programming Model
    • Java EE History
    • New Features in JEE 7
    • Exercise Setup
  • What's new in CDI 1.1?
    • @Priority
    • @AroundConstruct
    • New Scopes
    • Other Improvements
  • What's New In Bean Validation 1.1?
    • Method Validation
    • CDI injection
    • Error Message Interpolation
  • What's New in EJB 3.2?
    • Stateful Session Beans Life-cycle Transactionality
    • Optional Passivation
    • Simpler Remote and Local interfaces
  • What's New in JPA 2.1?
    • Automatic Schema Generation
    • Converters
    • Entity Graphs
    • Exercise Java Persistence
  • What's New In JAX-RS 2.0?
    • Client API
    • Asynchronous Services
    • Validation
    • Filters
    • Interceptors
  • What's New In Servlet 3.1?
    • Non-Blocking I/O
  • What's new in JSF 2.2?
    • Flows
    • HTML5 Support
    • View Actions
    • File Upload
    • Support for CDI
    • Exercise JavaServer Faces
  • What's new in Java Messaging?
    • Messaging Specifications Overview
    • What's new in JMS 2.0?
    • What's new in EJB 3.2?
    • Java Messaging Service APIs
    • Classic API
    • Simplified API
    • ConnectionFactory
    • Destination
    • Messages
    • JMSContext
    • JMSProducer and JMSConsumer
    • Writing Message Producers
    • Producing a Message outside a Container
    • Producing a Message inside a Container
    • Producing a Message inside a Container with CDI
    • Writing Message Consumers
    • Synchronous Delivery
    • Asynchronous Delivery
    • Writing Message-Driven Beans
    • @ActivationConfigProperty
    • MDBs as Consumers and Producers
    • Handling Exceptions
    • JMS Summary Code
    • Exercise Messaging
  • WebSockets
    • What are WebSockets?
    • WebSocket Protocol
    • WebSocket JavaScript API
    • Java Support for WebSockets
    • Simple Example
    • Server Endpoints
    • @OnMessage
    • Path Parameters
    • @OnOpen
    • @OnClose
    • @OnError
    • Integration with CDI
    • WebSocket Client
    • Encoders and Decoders
    • Integration with JEE Security
    • Exercise WebSockets
  • JSON Processing
    • What is JSON?
    • JSON Support in Java
    • Comparing Stream vs Object Model APIs
    • Creating a Stream Parser
    • Parser Stream Events
    • Reading Stream Events
    • Creating a Stream Generator
    • Writing Stream Events
    • Creating an Object Model Reader
    • Reading Object Models
    • Building Object Models
    • Writing Object Models
    • Exercise JSON Processing
  • Batch Processing
    • Batch Introduction
    • Batch Vocabulary
    • Chunk-Oriented Processing
    • A Batch Example
    • Starting, Restarting and Cancelling Jobs
    • Exception Handling
    • Batchlet Processing
    • Job Sequence
    • Flow
    • Split
    • Decision
    • Exercise Batch
  • Concurrency Utilities
    • Situating Concurrency Utilities
    • Rationale
    • Managed Executor Service
    • Review of Runnable, Callable and Future
    • Submitting Tasks
    • Managed Scheduled Executor Service
    • Scheduling Tasks
    • Exercise Concurrency
  • Summary