Practical Java EE 7 development on WildFly

 

JBoss Wildfly 8 book

Published: June 2014

Author: Francesco Marchioni

Pages: 345

 eBook (PDF) Price: 14.99 €

PreviewClose PreviewBuy NowAdd To Cart

 

Updated to WildFly 8.1.0 Final !

 Credit Card Payments are performed using Skrill Payment gateway. Skrill is the easy way to make safe and fast online payments internationally, with the highest security standards. Learn more about Skrill here 

Description

A hands-on practical guide disclosing all areas of Java EE 7 development on the newest WildFly application server. Covers everything from the foundation components (EJB, Servlets, CDI, JPA) to the new technology stack defined in Java Enterprise Edition 7 hence including the new Batch API, JSON-P Api, the Concurrency API,Web Sockets, the JMS 2.0 API, the core Web services stack (JAX-WS, JAX-RS). The testing area with Arquillian framework and the Security API complete the list of topics discussed in the book.

What you will learn from this book:

  • How to set up your development environment which includes WildFly AS, Eclipse, JBoss Tools plugins and Apache Maven. How to organize and create your Java EE 7 projects with Maven and its plugins
  • Learning the foundation components that constitute the backbone of your applications: EJB 3.2 and CDI 1.1 API for the business rules and JPA 2.1 for storing data on a RDBMS
  • Mastering the Web layer, using the Servlet 3.1 API, the Java Server Faces stack and the newest WebSockets API 
  • Learn how to integrate your applications using the straightforward JMS 2.0 API, the standard SOAP Web Services stack or the new features of JAX-RS API
  • Learn how to test your applications with Arquillian in a managed environment, remote environment and even on the cloud!
  • Discover how to develop Concurrent and Compliant Java EE applications using the Concurrency API and how to define Batch Jobs using WildFly's implementation of JSR
  • Secure all kind of applications (Web/EJB) with standard and custom login modules. How to encrypt the communication of EJB applications and Web applications.

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.

Print Version

You can buy the Print Version of the eBook at Lulu BookStore.

Print Book Price: 26,99 € 
Support independent publishing: Buy this book on Lulu.

Special Offer

Buy WildFly 8 Administration guide + Practical Java EE 7 Development at just 24.99 € !

Scroll down this page to catch the Offer.

Special Offer !

Price: 24,99 € for two eBooks (PDF)

Buy NowAdd To Cart

Buy both books and save 5€ !  

 

 

Francesco Google+