We describe what Jakarta EE is needed for and how it relates to modern development paradigms
Section: Standardized Specifications
Section: Multitiered Applications
Section: Why Jakarta EE
Section: Jakarta EE Servers And Licensing
Section: Excursion to Micro Services
Section: Jakarta EE Applications And The Cloud
Chapter 2: Prerequisites: The Java 8 Language
The relation to the Java Standard Edition JSE gets explained
Section: The Java Standard Edition JSE8
Section: The Java 8 Language
Chapter 3: Getting a Jakarta EE Server to Work
We introduce the Glassfish application Server and explain how to install and use it
Section: Getting And Installing Glassfish
Section: Glassfish Administration
Chapter 4: Setting up an IDE
We introduce Eclipse as an IDE for developing Jakarta EE applications
Section: Installing Eclipse for Jakarta EE Development
Section: Using Eclipse
Section: Your First Jakarta EE Application
Chapter 5: Building Page-Flow Web Applications With JSF
We introduce Java Server Faces for building web frontends
Section: Servlets And JSF Pages
Section: Overview Over The JSF Page-Flow
Section: Using XHTML Pages
Section: JSF Tags
Section: Accessing Objects From JSF Pages
Section: Expression Language in JSF Pages
Section: Localized Resources
Section: Using Converters And Validators
Chapter 6: Building Single-Page Web Applications With REST And JSON
We introduce single page web applications and explain how to build them inside Jakarta EE
Section: A RESTful Server Inside Jakarta EE
Section: Single Page Web Applications
Section: Processing JSON Data
Chapter 7: Adding a Database With JPA
We introduce database access from Jakarta EE
Section: Abstracting Away Database Access With JPA
Section: Setting up a SQL Database
Section: Accessing SQL Data
Section: Using Non-SQL Databases
Chapter 8: Modularization with EJBs
We introduce enterprise Java Beans (EJBs)
Section: Defining EJBs
Section: Accessing EJBs
Chapter 9: Dealing With XML Data
We explain how to handle XML within Jakarta EE
Section: XML Processing
Section: Web Services
Chapter 10: Messaging With JMS
We introduce asynchonous messaging via JMS in Jakarta EE
Section: Getting Message Brokers to Work
Section: Writing And Reading Messages
Chapter 11: Maintaining State Consistency With JTA Transactions
We describe transactions via JTA and explain how to handle them inside Jakarta EE
Section: Modularization in Time: Transaction Demarcation
Section: The ACID Paradigm
Section: Distributed Transaction Systems
Section: Declaring Transaction Units
Chapter 12: Securing Jakarta EE Applications
This chapter is for the description of security issues
Section: Securing Administrative Access
Section: Securing Web Access
Chapter 13: Logging Jakarta EE Applications
We talk about logging and what options we ave for logging inside Jakarta EE
Section: Logging Over The Admin Console
Section: Overview Over Logging Frameworks
Section: Using SLF4j And Log4j
Chapter 14: Monitoring Jakarta EE Applications
We describe how we can monitor Jakarta EE servers and applications
Section: Monitoring Over The Admin Console
Section: Enabling JMX Logging
Appendix: Solutions to Exercises
Solutions to the exercises presented in the chapters and sections.
Peter Späth graduated in 2002 as a physicist and soon afterwards became an IT consultant, mainly for Java-related projects. In 2016 he decided to concentrate on writing books, with his main focus set on software development. With two books about graphics and sound processing and two books for Android and Kotlin programming, his new book addresses beginning Jakarta EE developers willing to develop enterprise-level Java applications with Java 8.
Build Java-based enterprise applications using the open source Eclipse Jakarta EE platform. This feature-packed book teaches you enterprise Java development top to bottom. It covers Java web-tier development using servlets, JavaServer Faces (JSF), RESTful applications, and JSON. You’ll also cover Java data-tier development using persistence and transaction handling, messaging services, remote procedure calls, concurrency, and security to round out a complete Java-based enterprise application.
Step by step and easy to follow, Beginning Jakarta EE includes many practical examples. Written by a Java expert and technical trainer, this book contains the best information possible on enterprise Java technologies. You’ll see that Jakarta EE is the next evolution of Java EE 8 and how it is one of the leading Java platforms for enterprise application development.
You will:
Build enterprise Java applications using Jakarta EE
Set up your development environment
Create page-flow web applications with JSF
Write single-page web applications with REST and JSON
Persist data using JPA in Jakarta EE
Build enterprise Java modules using EJBs and CDI
Work with transaction engines using JTA
Secure, log, and monitor your Jakarta EE applications