
Jakarta EE for Java Developers
Build Cloud-Native and Enterprise Applications Using a High-Performance Enterprise Java Platform
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Jakarta EE for Java Developers
Build Cloud-Native and Enterprise Applications Using a High-Performance Enterprise Java Platform
About this book
Develop Enterprise Systems on Cloud Infrastructure Using a Rich Java Ecosystem.
Key Features
? Every chapter and concept is illustrated through the use of the Jakarta Project.
? Extensive hands-on demonstration of Jakarta EE specifications and capabilities.
? Practical examples of securing Java applications with Jakarta Security are provided.
Description
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.
What you will learn
? Create and use Servlets to build applications.
? Get to know CDI and practice how to create the CDI Interceptor and Decorator.
? Learn to build RESTful services and make use of Jakarta Enterprise Bean in your application.
? Use Jakarta Servlet and Jakarta RESTful to expose HTTP endpoints.
? Create a relational database-integrated application.
? Use authentication and authorization to build a secure application.
Who this book is for
This book is for Java developers who want to learn how to create a Jakarta project, work with the Jakarta EE specifications, and use it in best practices.
Table of Contents
1. Introduction to Jakarta EE
2. Jakarta Servlet
3. Jakarta Context and Dependency Injection
4. Jakarta RESTful Web Service
5. Jakarta Enterprise Bean
6. Jakarta Persistence
7. Jakarta Messaging
8. Jakarta Security
9. Jakarta Bean Validation
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
CHAPTER 1
Introduction to Jakarta EE
Introduction
Structure
- Understanding what Jakarta EE is
- From Java EE to Jakarta EE
- Understanding the Jakarta EE tiers
- Jakarta EE profiles
- Server applications
- Requirements for working with Jakarta EE
Objectives
Understanding what Jakarta EE is
J2EE and Java EE
- J2EE Platform: It is a standard platform that follows the J2EE specifications and is the host to J2EE applications. It is known as an application server.
- J2EE Compatibility Test Suite: A set of tests to verify if an implementation of J2EE follows the J2EE specifications.
- J2EE Reference Implementation: Each specification should have a reference implementation to demonstrate how the specification works.
- Sun Blueprints Design Guidelines for J2EE: It describes the standard programming model for the development of the multi-tier applications.
Cloud computing
- Pay per use: The end-user pays only for the resources used. It can save a lot of money for the business.
- Resilience: The environment can recover after a failure.
- Self-service provisioning: The computational resource can be scaled up according to the demands in an easier and faster way, using an interface, eliminating the traditional need for the IT administrators to provision and manage to compute resources.
- Elasticity: The computational resource can be scaled up or down at any time.
- Fault Tolerance: As the environment can be run in many local areas, across many global regions, this environment has more fault tolerance.

Microservice architecture

Twelve-factors
- Codebase: One codebase is tracked in the revision control, while many deploy.
- Dependencies: Explicitly declare and isolate dependencies.
- Config: Store config in the environment.
- Backing services: Treat the backing services as attached resources.
- Build, release, run: Strictly separate the build and run stages.
- Processes: Execute the app as one or more stateless processes.
- Port-binding: Export the services via port binding.
- Concurrency: Scale-out via the process model.
- Disposability: Maximize robustness with a fast startup and graceful shutdown.
- Dev/prod parity: Keep development, staging, and production as similar as possible.
- Logs: Treat logs as event streams.
- Admin processes: Run admin/management tasks as one-off processes.
Table of contents
- 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
- 2. Jakarta Servlet
- 3. Jakarta Context and Dependency Injection
- 4. Jakarta RESTful Web Service
- 5. Jakarta Enterprise Bean
- 6. Jakarta Persistence
- 7. Jakarta Messaging
- 8. Jakarta Security
- 9. Jakarta Bean Validation
- Index
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app