Developing Middleware in Java EE 8
- Take advantage of EJBs to build middleware solutions for enterprise and distributed applications
- Work with the latest advancements in middleware design like Web services, event-based and message-driven and Websockets
- Overcome challenges of designing and maintaining large-scale systems, as well as vendor disputes
Middleware is the infrastructure of software-based applications that enables businesses to solve problems, to operate more efficiently, and to make money. As soon as the usage of the middleware extends beyond a single application, the importance of having it written by experts increases substantially.That's where this book and you fit in. This book will help you to become an expert in developing middleware for a variety of applications like mobile applications, web browsers, etc.
The book starts off by exploring the latest JAVA EE 8 APIs with newer features and magaing dependencies with CDI 2.0. You will learn how to implement Object-to-Relational mapping using JPA 2.1 and validate the data using bean validation. Moving on you will work with different types of EJBs to develop business logic along with designing RESTful APIs by utilising different HTTP methods and activating JAX-RS features in enterprise application.Later on you will be introduced to serialzation/deserialization of JSON objects and JMS architecture for communication. You will learn to secure your middleware with JAVA security 1.0 and implement various authentication Technics like OAuth authentication. In the end you will be using various test technologies like Junit, Mockito for testing the application and use Docker to deploy your enterprise application.
By the end of the book, you will be a proficient in developing robust, effective and distributed middleware for your business.
What you will learn
- Implement latest JAVA EE 8 APIs and manage dependencies with CDI 2.0
- Perform CRUD operations and access database with JPA 2.1
- Use Bean validation API 2.0 to validate the data
- Develop the business logic with EJB 3.2
- Incorporate REST architecture and RESTful APIs design patterns
- Perform serialization and deserialization Json documents using JSON-B
- Utilize JMS for messaging and queuing models and secure application with Java Security 1.0
- Test application using Junit, Mockito and deploy using Docker