▶Book Description
Java EE is a collection of technologies and APIs to support Enterprise Application development. The choice of what to use and when can be dauntingly complex for any developer. This book will help you master this. Packed with easy to follow recipes, this is your guide to becoming productive with Java EE 8.
You will begin by seeing the latest features of Java EE 8, including major Java EE 8 APIs and specifications such as JSF 2.3, and CDI 2.0, and what they mean for you.
You will use the new features of Java EE 8 to implement web-based services for your client applications. You will then learn to process the Model and Streaming APIs using JSON-P and JSON-B and will learn to use the Java Lambdas support offered in JSON-P. There are more recipes to fine-tune your RESTful development, and you will learn about the Reactive enhancements offered by the JAX-RS 2.1 specification.
Later on, you will learn about the role of multithreading in your enterprise applications and how to integrate them for transaction handling. This is followed by implementing microservices with Java EE and the advancements made by Java EE for cloud computing.
The final set of recipes shows you how take advantage of the latest security features and authenticate your enterprise application.
At the end of the book, the Appendix shows you how knowledge sharing can change your career and your life.
▶What You Will Learn
⦁ Actionable information on the new features of Java EE 8
⦁ Using the most important APIs with real and working code
⦁ Building server side applications, web services, and web applications
⦁ Deploying and managing your application using the most important Java EE servers
⦁ Building and deploying microservices using Java EE 8
⦁ Building Reactive application by joining Java EE APIs and core Java features
⦁ Moving your application to the cloud using containers
⦁ Practical ways to improve your projects and career through community involvement
▶Key Features
⦁ Recipes to get you up-and-running with Java EE 8 application development
⦁ Learn how to apply the major Java EE 8 APIs and specifications
⦁ Implement microservices and Reactive programming with Java EE 8
▶Who This Book Is For
This book is made for developers who would like to learn how to meet real enterprise application needs using Java EE 8. They should be familiar with application development and need to have knowledge of least basic Java, the basic concepts of cloud computing, and web services.
The readers should want to learn how to combine a bunch of APIs in a secure and fast solution, and for this, they need to know how the APIs work and when to use each one.
▶What this book covers
⦁ Chapter 1, New Features and Improvements, explains the main changes to the Java EE 8 specification and what the reader can do with them. It also shows the new features and briefly explores the benefits of them. All these topics are supported by code examples.
⦁ Chapter 2, Server-Side Development, deep dives into the most important APIs and most commonly used features for server-side development. The readers here will go through real recipes for solving real problems.
⦁ Chapter 3, Building Powerful Services with JSON and RESTful Features, creates web services for different enterprise scenarios. Readers will go deep into the JAX-RS, JSON-P, and JSONB APIs.
⦁ Chapter 4, Web- and Client-Server Communication, deals with the communication generated by web applications in a fast and reliable way using the latest Java EE 8 features, such as HTTP2 and Server Push.
⦁ Chapter 5, Security of Enterprise Architecture, gives the readers information on the tools using the best Java EE features to create secure architectures.
⦁ Chapter 6, Reducing the Coding Effort by Relying on Standards, describes the services and features that Java EE application servers give to the applications they host. Those features not only let the readers rely on a standard and build their application based on it, but also allow them to write less code, as they don't need to implement features that have been already implemented by the server.
⦁ Chapter 7, Deploying and Managing Applications on Major Java EE Servers, describes the use of each of the most commonly used Java EE application servers on the market, giving special attention to the way you deploy and manage them.
⦁ Chapter 8, Building Lightweight Solutions Using Microservices, makes you understand how microservice architectures work and how readers can easily use Java EE 8 to build microservice and/or break down their monoliths in order to implement this paradigm. Continuous Delivery and Continuous Deployment are also described, as no successful microservice project is complete without a mature building and deployment process.
⦁ Chapter 9, Using Multithreading on Enterprise Context, describes the use of multithreading and concurrency when building enterprise applications.
⦁ Chapter 10, Using Event-Driven Programming to Build Reactive Applications, describes the use of Java EE 8 and core Java to create low-latency, efficient, and high-throughput applications.
⦁ Chapter 11, Rising to the Cloud –. Java EE, Containers, and Cloud Computing, describes how to combine Java EE and containers to run applications on the cloud.
⦁ Appendix, The Power of Sharing Knowledge, describes how the community is vital for the whole Java EE ecosystem (even if readers don't know about it) and how they can improve their own daily work by joining the Adopt a JSR initiative.