Book description
A practical guide for building effective enterprise solutions with Java EE 8
About This Book- 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
This book is for developers who want to become proficient with Java EE 8 for their enterprise application development. Basic knowledge of Java is assumed
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
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.
Style and approachTask based learning guide to help ease application development with Java EE.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Foreword
- Contributors
- Preface
-
New Features and Improvements
- Running your first Bean Validation 2.0 code
- Running your first CDI 2.0 code
- Running your first JAX-RS 2.1 code
- Running your first JSF 2.3 code
- Running your first JSON-P 1.1 code
- Running your first JSON-B code
- Running your first Servlet 4.0 code
- Running your first Security API code
- Running your first MVC 1.0 code
-
Server-Side Development
- Using CDI to inject context and dependency
- Using Bean Validation for data validation
- Using servlet for request and response management
- Using Server Push to make objects available beforehand
- Using EJB and JTA for transaction management
- Using EJB to deal with concurrency
- Using JPA for smart data persistence
- Using EJB and JPA for data caching
- Using batch processing
- Building Powerful Services with JSON and RESTful Features
- Web- and Client-Server Communication
- Security of Enterprise Architecture
- Reducing the Coding Effort by Relying on Standards
- Deploying and Managing Applications on Major Java EE Servers
- Building Lightweight Solutions Using Microservices
- Using Multithreading on Enterprise Context
-
Using Event-Driven Programming to Build Reactive Applications
- Introduction
- Building reactive applications using asynchronous servlets
- Building reactive applications using events and observers
- Building reactive applications using websockets
- Building reactive applications using message-driven beans
- Building reactive applications using JAX-RS
- Building reactive applications using asynchronous session beans
- Using lambdas and CompletableFuture to improve reactive applications
- Rising to the Cloud – Java EE, Containers, and Cloud Computing
- Appendix: The Power of Sharing Knowledge
- Other Books You May Enjoy
Product information
- Title: Java EE 8 Cookbook
- Author(s):
- Release date: April 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788293037
You might also like
book
Java EE 8 Application Development
Develop Enterprise Java applications compliant with the latest version of the Java EE specification About This …
book
Java EE 8 High Performance
Get more control of your applications performances in development and production and know how to meet …
book
Architecting Modern Java EE Applications
Find out how to craft effective, business-oriented Java EE 8 applications that target customer’s demands in …
book
Java Servlet & JSP Cookbook
With literally hundreds of examples and thousands of lines of code, the Java Servlet and JSP …