Jakarta EE Application Development Build Enterprise Applications with Jakarta CDI, RESTful Web Services, JSON Binding, Persistence, and Security
Jakarta EE stands as a robust standard with multiple implementations, presenting developers with a versatile toolkit for building enterprise applications. However, despite the advantages of enterprise application development, vendor lock-in remains a concern for many developers, limiting flexibility...
Other Authors: | |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Birmingham, England :
Packt Publishing
[2017]
|
Edition: | Second edition |
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009805127606719 |
Table of Contents:
- Intro
- Title Page
- Copyright and Credit
- Contributors
- Table of Contents
- Preface
- Chapter 1: Introduction to Jakarta EE
- Introduction to Jakarta EE
- Contributing to Jakarta EE
- Jakarta EE APIs
- One standard, multiple implementations
- Jakarta EE, Java EE, J2EE, and the Spring Framework
- Summary
- Chapter 2: Contexts and Dependency Injection
- Named beans
- Dependency injection
- Qualifiers
- CDI bean scopes
- CDI events
- Firing CDI events
- Handling CDI events
- Asynchronous events
- Event ordering
- CDI Lite
- Summary
- Chapter 3: Jakarta RESTful Web Services
- Introduction to RESTful web services
- Developing a simple RESTful web service
- Configuring the REST resources path for our application
- Developing a RESTful web service client
- Seamlessly converting between Java and JSON
- Query and path parameters
- Query parameters
- Path parameters
- Server-sent events
- Testing server-sent events
- Developing a server-sent events client
- JavaScript server-sent events client
- Summary
- Chapter 4: JSON Processing and JSON Binding
- Jakarta JSON Processing
- The JSON Processing Model API
- The JSON Processing Streaming API
- Jakarta JSON Binding
- Populating Java objects from JSON with JSON Binding
- Generating JSON data from Java objects with JSON Binding
- Summary
- Chapter 5: Microservices Development with Jakarta EE
- An introduction to microservices
- The advantages of a microservices architecture
- The disadvantages of a microservices architecture
- Microservices and Jakarta EE
- Developing microservices using Jakarta EE
- Developing microservices client code
- The controller service
- The persistence service
- Summary
- Chapter 6: Jakarta Faces
- Introduction to Jakarta Faces
- Facelets
- Optional faces-config.xml
- Standard resource locations.
- Developing our first Faces application
- Facelets
- Project stages
- Validation
- Grouping components
- Form submission
- Named beans
- Static navigation
- Dynamic navigation
- Custom data validation
- Creating custom validators
- Validator methods
- Customizing default messages
- Customizing message styles
- Customizing message text
- Summary
- Chapter 7: Additional Jakarta Faces Features
- Ajax-enabled Faces applications
- Jakarta Faces HTML5 support
- HTML5-friendly markup
- Pass-through attributes
- Faces Flows
- Faces WebSocket support
- Additional Faces component libraries
- Summary
- Chapter 8: Object Relational Mapping with Jakarta Persistence
- The CUSTOMERDB database
- Configuring Jakarta Persistence
- Persisting data with Jakarta Persistence
- Entity relationships
- One-to-one relationships
- One-to-many relationships
- Many-to-many relationships
- Composite primary keys
- Jakarta Persistence Query Language
- Criteria API
- Updating data with the Criteria API
- Deleting data with the Criteria API
- Bean Validation support
- Final notes
- Summary
- Chapter 9: WebSockets
- Developing WebSocket server endpoints
- Developing an annotated WebSocket server endpoint
- Developing WebSocket clientsin JavaScript
- Developing JavaScript client-side WebSocket code
- Developing WebSocket clients in Java
- Summary
- Chapter 10: Securing Jakarta EE Applications
- Identity stores
- Setting up an identity store stored in a relational database
- Setting up an identity store stored in an LDAP database
- Custom identity stores
- Authentication mechanisms
- Basic authentication mechanism
- Form authentication mechanism
- Custom form authentication mechanism
- Summary
- Chapter 11: Servlet Development and Deployment
- What is a servlet?
- Writing our first servlet
- Testing the web application.
- Processing HTML forms
- Request forwarding and response redirection
- Request forwarding
- Response redirection
- Persisting application data across requests
- Passing initialization parameters to a servlet via annotations
- Servlet filters
- Servlet listeners
- Pluggability
- Configuring web applications programmatically
- Asynchronous processing
- HTTP/2 server push support
- Summary
- Chapter 12: Jakarta Enterprise Beans
- Session beans
- A simple session bean
- A more realistic example
- Invoking session beans from web applications
- Singleton session beans
- Asynchronous method calls
- Message-driven beans
- Transactions in enterprise beans
- Container-managed transactions
- Bean-managed transactions
- Enterprise bean life cycles
- Stateful session bean life cycle
- Stateless and singleton session bean life cycle
- Message-driven bean life cycle
- Enterprise bean timer service
- Calendar-based enterprise bean timer expressions
- Enterprise bean security
- Summary
- Chapter 13: Jakarta Messaging
- Working with message queues
- Sending messages to a message queue
- Retrieving messages from a message queue
- Browsing message queues
- Working with message topics
- Sending messages to a message topic
- Receiving messages from a message topic
- Creating durable subscribers
- Summary
- Chapter 14: Web Services with Jakarta XML Web Services
- Developing web services with Jakarta XML Web Services
- Developing a web service client
- Sending attachments to web services
- Exposing Enterprise Beans as web services
- Enterprise Beans web service clients
- Summary
- Chapter 15: Putting it All Together
- The sample application
- The landing page
- Creating customer data
- Viewing customer data
- Updating customer data
- Deleting customer data
- Implementing pagination
- Summary
- Index.
- Other Books You May Enjoy.