Jakarta EE for Java Developers: Build Cloud-Native and Enterprise Applications Using a High-Performance Enterprise Java Platform

  • 2h 59m
  • Rhuan Rocha
  • BPB Publications
  • 2021

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.

About the Author

Rhuan Rocha is Principal Software Engineer at DigiBee, a Jakarta EE specialist, and Co-founder of Cloud Conference Day. Throughout your career, he has developed many Enterprise Java applications for private companies and governments in Brazil, using Java EE/Jakarta EE and technologies of its ecosystem. Rhuan Rocha is an Open Source contributor and contributed to JNoSQL, RestEasy, TomEE, Quarkus, and others.

In this Book

  • Errata
  • Introduction to Jakarta EE
  • Jakarta Servlet
  • Jakarta Context and Dependency Injection
  • Jakarta RESTful Web Service
  • Jakarta Enterprise Bean
  • Jakarta Persistence
  • Jakarta Messaging
  • Jakarta Security
  • Jakarta Bean Validation