Skip navigation
2014

In June 2014 the book Practical Java EE 7 Development has been published. The book, as the name suggests, is a practical guide covering all aspects of Java EE 7 Development with special focus on the new API and the upgrade of the existing ones.

 

Table of Contents:

 

Chapter 1, Getting started with WildFly covers the installation of the server platform and introduces the Java EE 7 platform most significant changes. You will learn as well how to install the tools required for developing applications

Chapter 2, Getting ready for development discusses the basic steps for configuring the foundation of your Maven projects using the available WildFly archetypes.

Chapter 3, Programming Servlet is a first access to application development using the long-lived Servlet API. The chapter spans from the basics to the new Java EE 7 non-blocking I/O feature.

Chapter 4, Developing Enterprise Java Beans, is about developing applications using the available EJB types, thus including the basic Stateless and Stateful beans, and the other variants (EJB Timers and Singleton EJB).

Chapter 5, Context Dependency Injection discusses about the CDI API starting from the basics and then diving into more advanced concepts like Interceptors, Decorators, Alternatives, Events and the new Transactional option.

Chapter 6, Java Server Faces covers the Java Server Faces API with particular focus on building applications using Facelets, shaping navigation between JSF views and the new exciting features of Java Server Faces 2.2

Chapter 7, Learning the Java Persistence API after a quick introduction to Java Persistence API, describes how to set up a proof of concept project, how to spice it up using JPA 2.1 new features. Finally, this chapter describes some advanced development strategies such as Caching data and Listeners.

Chapter 8, Testing applications using Arquillian is a deep dive into the application server integration testing framework. You will learn how to test our application across several different contexts, including a managed environment, a remote environment and an OpenShift cloud-hosted environment.

Chapter 9, Developing applications with WebSockets teaches you how to leverage a full client-server WebSockets application including advanced examples using Encoders/Decoders and Asynchronous communication.

Chapter 10, Developing SOAP based Web services discusses about creating, deploying, and testing web services using the JBoss JAX-WS implementation (Apache CXF) and avanced features such as JAX-WS Handlers.

Chapter 11, Developing RESTful Web services covers concrete examples of REST Web services including the new JAX-RS client API and some advanced topics such as Interceptors and Filters.

Chapter 12, Developing applications with JMS introduces the basics of the messaging service, showing off how to use the new JMS 2.0 API to code producers and consumers and how to create remote WildFly JMS clients.

Chapter 13, JSON Processing discusses, after a quick introduction to JSON Structure, some practical aspects of JSON such as creating and parsing JSON models using the Object Model API and the JSON Streaming API.

Chapter 14, Batch Processing covers Batch jobs and its specification language as specified by JSR-352. In this chapter, you will learn the two core components of batch jobs: Chunks and Batchlets and some advanced concepts such as Flows and Decision flows.

Chapter 15, Java EE Concurrency introduces the Java EE Concurrency API (JSR 236) which outlines a standard way for executing more tasks in parallel on a Java EE Container using a set of Managed resources.

Chapter 16, Securing WildFly applications gets you quickly to know WildFly security subsystem, showing how to set up login modules to Web applications and EJB applications and how to use the Secure Sockets Layer (SSL) to encrypt their communication.

The book code examples are freely available on Git Hub at: fmarchioni/practical-javaee7-development-wildfly · GitHub

 

Feel free to clone, suggest changes or hints. Any valuable change request, idea or suggestion will be included in the book. As for the WildFly 8 Administration guide, regular updates of the eBook will be provided by email every 4-6 months.