Jakarta EE for Java Developers: Build Cloud-Native and Enterprise Applications Using a High-Performance Enterprise Java Platform
- Length: 310 pages
- Edition: 1
- Language: English
- Publisher: BPB Publications
- Publication Date: 2021-12-16
- ISBN-10: 935551008X
- ISBN-13: 9789355510082
- Sales Rank: #5244544 (See Top 100 Books)
This book provides a practical introduction to Enterprise Java Edition, Jakarta EE, including detailed features and capabilities. Equipped with numerous projects, each chapter demonstrates Jakarta EE capabilities with clean coding.
The book starts with an introduction to Jakarta EE and its architecture. This will help to create a project using the Jakarta Servlet and exposure of an HTTP endpoint. The CDI is then used to inject dependencies, work with events asynchronously, and interact with CDI interceptors. Then, in the RESTful style, it can help to create a Jakarta RESTful resource to expose HTTP endpoints. We then investigate the Jakarta Enterprise Bean, which teaches us how to manage transactions and schedule tasks. The Jakarta Persistence is then used to integrate an application into a relational database, and the Jakarta Message is used to create an application using the Message Oriented Middleware (MOM). In terms of security, we use Jakarta Security to secure the endpoint of a Jakarta application.
By the end of this book, the reader will be able to set up a Jakarta project and write applications that expose HTTP endpoints, integrate with a database, and deal with authentication and authorization.
Cover Page Title Page Copyright Page Dedication Page About the Author About the Reviewer Acknowledgement Preface Errata Table of Contents 1. Introduction to Jakarta EE Introduction Structure Objectives Understanding what Jakarta EE is J2EE and Java EE Cloud computing Microservice architecture Twelve-factors Jakarta EE Goals Jakarta EE Specification Process Jakarta NoSQL Eclipse enterprise for Java From Java EE to Jakarta EE Jakarta EE 9 Understanding the Jakarta EE Tiers Jakarta EE profiles Server applications Requirements for working with Jakarta EE Conclusion 2. Jakarta Servlet Introduction Structure Objectives Understanding what is Jakarta Servlet Creating a Servlet Filtering the request and response Understanding Forward and RequestDispatcher Asynchronous processing Using Nonblocking I/O Using Server Push Conclusion 3. Jakarta Context and Dependency Injection Introduction Structure Objectives Understanding Jakarta Context and Dependency Injection Creating and injecting beans CDI life cycle Using producer method, producer field, and dispose method Creating a CDI interceptor Creating a CDI decorator Using CDI event Conclusion 4. Jakarta RESTful Web Service Introduction Structure Objectives Jakarta RESTful web service Creating a RESTful resource class Creating a Jakarta RESTful client Asynchronous invocation in the client Using CompletionStage Understanding how to use server-sent events Conclusion 5. Jakarta Enterprise Bean Introduction Structure Objectives Understanding the Jakarta Enterprise Bean Session beans Understanding the stateless bean, stateful bean, and singleton bean Stateless bean Stateful Singleton Understanding how the Jakarta Enterprise Bean manages the transaction Container-managed transaction Commit and rollback Creating a schedule Persistent schedule Scheduling programmatically Understanding how we can create a message-driven beans Conclusion 6. Jakarta Persistence Introduction Structure Objectives Understanding the Jakarta Persistence Entity EntityManager Creating an entity Creating an entity relationship Using JPQL Controlling concurrent access to entity data Creating fetch plans and entity graphs Conclusion 7. Jakarta Messaging Introduction Structure Objectives Understanding the Jakarta Messaging Queue Topic Message Creating a producer to queue Creating the consumer to queue Creating a producer to topic Creating a consumer to topic Creating a consumer using message-driven bean Conclusion 8. Jakarta Security Introduction Structure Objectives Understanding Jakarta Security HTTP authentication mechanism Identify store Credential Context security Securing a Web application Securing Jakarta RESTful resource Implementing a user’s authentication programmatically Using custom form-based HTTP authentication Securing a Jakarta Enterprise Bean Implementing a Custom Identity Store Conclusion 9. Jakarta Bean Validation Introduction Structure Objectives Understanding the Jakarta Bean Validation Validating method Validation annotations Using bean validation in a RESTful resource Validating persistence Creating a custom constraint Customizing validator messages Conclusion Index
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.