Java EE to Jakarta EE 10 recipes : a problem-solution approach for Enterprise Java /
Take a problem-solution approach for programming enterprise Java or Java EE applications and microservices for cloud-based solutions, enterprise database applications, and even small business web applications. Java EE to Jakarta EE 10 Recipes provides effective, practical, and proven code snippets t...
| Main Authors: | , |
|---|---|
| Format: | eBook |
| Language: | English |
| Published: |
New York, NY :
Apress,
[2022]
|
| Edition: | Third edition. |
| Subjects: | |
| Online Access: | Connect to the full text of this electronic book |
Table of Contents:
- Intro
- Table of Contents
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Jakarta Servlets
- 1-1. Setting Up a Jakarta EE Application Server
- Problem
- Solution
- How It Works
- 1-2. Developing a Servlet
- Problem
- Solution
- How It Works
- 1-3. Packaging, Compiling, and Deploying a Servlet
- Problem
- Solution
- Quick Start
- How It Works
- 1-4. Registering a Servlet Without web.xml
- Problem
- Solution
- How It Works
- 1-5. Displaying Dynamic Content with a Servlet
- Problem
- Solution
- How It Works
- 1-6. Handling Requests and Responses
- Problem
- Solution
- How It Works
- 1-7. Listening for Servlet Container Events
- Problem
- Solution
- How It Works
- 1-8. Setting Initialization Parameters
- Problem
- Solution #1
- Solution #2
- How It Works
- 1-9. Filtering Web Requests
- Problem
- Solution
- How It Works
- 1-10. Listening for Attribute Changes
- Problem
- Solution
- How It Works
- 1-11. Applying a Listener to a Session
- Problem
- Solution
- How It Works
- 1-12. Managing Session Attributes
- Problem
- Solution
- How It Works
- 1-13. Downloading a File
- Problem
- Solution
- How It Works
- 1-14. Dispatching Requests
- Problem
- Solution
- How It Works
- 1-15. Redirecting to a Different Site
- Problem
- Solution
- How It Works
- 1-16. Securely Maintaining State Within the Browser
- Problem
- Solution
- How It Works
- 1-17. Finalizing Servlet Tasks
- Problem
- Solution
- How It Works
- 1-18. Reading and Writing with Nonblocking I/O
- Problem
- Solution
- How It Works
- 1-19. Pushing Resources from a Server to a Client
- Problem
- Solution
- How It Works
- Chapter 2: Jakarta Server Pages
- 2-1. Creating a Simple Jakarta Server Page
- Problem
- Solution
- How It Works
- 2-2. Embedding Java into a Jakarta Server Page
- Problem
- Solution
- How It Works
- 2-3. Separating Business Logic from View Code
- Problem
- Solution
- How It Works
- 2-4. Yielding or Setting Values
- Problem
- Solution
- How It Works
- 2-5. Invoking a Function in a Conditional Expression
- Problem
- Solution
- How It Works
- 2-6. Creating a Jakarta Server Page Document
- Problem
- Solution
- How It Works
- 2-7. Embedding Expressions in Jakarta Expression Language
- Problem
- Solution
- How It Works
- 2-8. Accessing Parameters in Multiple Pages
- Problem
- Solution
- How It Works
- 2-9. Creating a Custom Jakarta Server Tag
- Problem
- Solution
- How It Works
- 2-10. Including Other Jakarta Server Pages into a Page
- Problem
- Solution
- How It Works
- 2-11. Creating an Input Form for a Database Record
- Problem
- Solution
- How It Works
- 2-12. Looping Through Database Records Within a Page
- Problem
- Solution
- How It Works
- 2-13. Handling Errors in Jakarta Server Pages
- Problem
- Solution
- How It Works
- 2-14. Disabling Scriptlets in Pages