Beginning Jakarta EE web development : using JSP, JSF, MySQL, and Apache Tomcat for building Java web applications /
Start building Java-based web applications now, even if youre a complete newcomer to Java. Comprehensive and example-driven, this book is all you need to develop dynamic Java-based web applications using JSP, connect to databases with JSF, and put them into action using the popular open source Java...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress,
2020.
|
Edición: | 3rd ed. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro
- Table of Contents
- About the Authors
- About the Technical Reviewer
- Introduction
- Chapter 1: Introducing JSP and Tomcat
- Installing Java
- What About Linux and macOS?
- Java Test
- Installing Tomcat
- What About Linux and macOS?
- Introduction to HTML
- What Is JSP?
- Viewing a JSP Page
- Hello World!
- Installing MySQL
- What About Linux and macOS?
- Installing Eclipse
- What About Linux and macOS?
- Eclipse Test: JSP in a New Web Project
- Listing the HTML-Request Parameters
- Summary
- Chapter 2: JSP Elements
- Introduction
- Scripting Elements and Java
- Scriptlets
- Expressions
- Declarations
- Data Types and Variables
- Objects and Arrays
- Operators, Assignments, and Comparisons
- Selections
- Iterations
- Implicit Objects
- The application Object
- Example: Using an Attribute to Enable and Disable Conditional Code
- The config Object
- The exception Object
- The out Object
- The pageContext Object
- The request Object
- More on Request Parameters and Client Info
- Example: Listing the Headers
- Example: Reading the Request Body
- The response Object
- The session Object
- Directive Elements
- The page Directive
- The include Directive
- The taglib Directive
- Summary
- Chapter 3: JSP Application Architectures
- The Model 1 Architecture
- The Model 2 Architecture
- E-bookshop
- E-bookshop's Structure
- The E-bookshop Home Page
- The E-bookshop Servlet
- More on E-bookshop
- Summary
- Chapter 4: Databases
- DBMS
- Structured Query Language
- INSERT
- UPDATE
- DELETE
- SELECT
- Introducing eshop application
- Entities and Operations
- Product Categories
- Books
- Shopping Cart
- Order
- Creating MySQL Schema and Tables
- MySQL/Tomcat Test
- Database Architecture
- Summary
- Chapter 5: Eshop Application
- A Better Online Bookshop
- Importing Eshop WAR File into Eclipse
- The Customer Interface
- The E-shop Architecture
- The Model
- The Controller
- Servlet Initialization
- Request Handling
- The View
- The E-shop Database Access
- Connecting to the Database
- Accessing Data
- The executeQuery Method
- The executeUpdate Method
- Transactions
- The E-shop Data Model
- Summary
- Chapter 6: JSP in Action
- JSP Standard Actions
- Actions: forward, include, and param
- Action: useBean
- Actions: setProperty and getProperty
- Actions: element, attribute, and body
- Action: text
- Actions: plugin, params, and fallback
- Comments and Escape Characters
- JSP's Tag Extension Mechanism
- Bodyless Custom Actions
- Step 1: Define the Tag Handler
- Step 2: Define the TLD
- Step 3: Use the Custom Action
- Bodied Custom Actions
- Step 1: Define the Tag Handler
- Step 2: Define the TLD
- Step 3: Use the Custom Action
- Tag Files
- Bodyless Tag
- Bodied Tag
- The tag Directive
- The attribute Directive
- The variable Directive
- JSTL and EL
- JSP Expression Language
- EL Expressions
- Using EL Expressions