𝔖 Scriptorium
✦   LIBER   ✦

📁

Practical Vaadin: Developing Web Applications in Java

✍ Scribed by Alejandro Duarte


Publisher
Apress
Year
2021
Tongue
English
Leaves
334
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Table of Contents


Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Part I: Getting Started
Chapter 1: The World of Vaadin
A CRUD in One Line of Code
The Web platform
HTML
JavaScript and DOM
CSS
Web Components
Server-Side Technologies
Web Servers
CGI
Servlets
Web Development with Vaadin
Summary
Chapter 2: Setting Up the Development Environment
Installing the JDK
Installing the IDE
Using the Examples of This Book
Importing the Code in the IDE
Running the Examples
Your First Vaadin Application
Routes and Views
UI Components and Layouts
Events and Listeners
Debugging
Server-Side Debugging
Client-Side Debugging
Summary
Part II: The Fundamentals of Vaadin
Chapter 3: Layouts
Vertical and Horizontal Layouts
Component Composition
The Composite Class
Implementing Reusable UI Components
Accessing the Component Tree
Padding, Margin, and Spacing
Sizing
Grow
Alignment
Justify-Content Mode
Scrolling
FlexLayout
Direction
Wrap
Alignment
Shrink
Other Layouts
Summary
Chapter 4: UI Components
Input Components
Text Input
Password Input
Boolean Input
Date and Time Input
Numeric Input
Single Selection Input
Multiple Selection Input
File Upload
Interaction Components
Buttons
How Are Events Sent to the Server?
Links
Menus
Visualization Components
Notifications and Dialogs
Tabs
Icons
Images
Summary
Chapter 5: Data Binding
Implementing Data Binding Manually
Implementing the Domain Model
Implementing the View
Implementing the Form
The Binder Helper Class
Defining Bindings Programmatically
Defining Bindings Using Property Names
Using Automatic Binding
Defining Bindings for Nested Properties
Data Conversion and Validation
Using Converters
Implementing Validation Rules
Using Jakarta Bean Validation
Summary
Chapter 6: The Grid Component
Adding Columns
Managing Columns by Key
Defining Columns with ValueProvider
Adding Rows
In-Memory Data
Lazy Loading
Sorting
Handling Row Selection
Adding UI Components to Cells
Component Columns
Item Details
Exporting to CSV
Summary
Part III: Advanced Features
Chapter 7: Multiview Navigation and Routing
Routes
Defining Routes at Runtime
Router Layouts
Navigation Lifecycle
Before Enter Observer
Before Leave Observer
URL Parameters
URL Templates
Typed Parameters
Query Parameters
Updating the Page Title
Summary
Chapter 8: Server Push
When Is Server Push Used?
How Server Push Works
Performing Asynchronous UI Updates
Automatic Server Push Updates
Manual Server Push Updates
Using Thread Pools
WebSocket vs. Long Polling
Summary
Chapter 9: The Element API
Creating DOM Elements
Creating Custom Components
Styling
Mixin Interfaces
Handling Events
JavaScript Integration
Adding JavaScript to a Vaadin Application
Invoking JavaScript from Java
Invoking Java from JavaScript
Summary
Chapter 10: Custom Styles and Responsiveness
Built-In Themes
Using Theme Variants
Using Component Variants
Styling with CSS
Importing CSS Files
Using Lumo Theme Properties
Adding CSS Classes to UI Components
Styling Shadow DOM
Responsive Web Design
FormLayout
AppLayout
CSS Media Queries
Summary
Chapter 11: Client-Side Views with TypeScript
Vaadin Flow vs. Vaadin Fusion
Quick Introduction to TypeScript
Installing the TypeScript Compiler
Implementing “Hello, World” in TypeScript
Static Typing
Web Components with Lit
Creating a New Lit Project
Creating a “Hello, World” Web Component
Client-Side Views with Vaadin Fusion
Enabling Client-Side Bootstrapping
Adding a Client-Side View
Adding Vaadin Components
Event Listeners
Reactive Views
A Word on Offline Capabilities
Summary
Part IV: Integrations and Database Connectivity
Chapter 12: Spring Boot
Creating a New Spring Boot Project
Creating a New Database
Configuring the Database Connection
Implementing an Entity
Adding a Repository
Inversion of Control and Dependency Injection
Implementing a CRUD
Summary
Chapter 13: Jakarta EE
Creating a New Jakarta EE Project
Creating a New Database
Configuring the Database Connection
Implementing an Entity
Adding a Repository
Contexts and Dependency Injection
Implementing a CRUD
Summary
Index


📜 SIMILAR VOLUMES


Web Application Development Using Java
✍ Dodda, Suresh 📂 Library 📅 2024 🏛 Independently Published 🌐 English

Title: Web Application Development Using JavaDescription:Unlock the full potential of web application development with "Web Application Development Using Java." This comprehensive guide is designed for both beginners and experienced developers who want to build powerful, efficient, and scalable web

Secure Java For Web Application Developm
📂 Library 📅 2010 🏛 CRC Press 🌐 English

<h3>Kurzbeschreibung</h3><p>When used together effectively, computer-aided design (CAD) and geospatial information systems (GIS) have a solid track record for streamlining decision making and reducing inefficiencies in the design, planning, and execution of critical operations and projects. And a gr

Secure Java: For Web Application Develop
✍ Abhay Bhargav, B. V. Kumar 📂 Library 📅 2010 🏛 CRC Press 🌐 English

Most security books on Java focus on cryptography and access control, but exclude key aspects such as coding practices, logging, and web application risk assessment. Encapsulating security requirements for web development with the Java programming platform, Secure Java: For Web Application Developme