This is the code repository for Java EE 8 Cookbook, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
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.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter01.
The code will look like the following:
User user = new User(
"elder",
"elder@eldermoraes.com",
asList(1,2));