更新时间:2021-08-27 18:40:38
封面
Title Page
Copyright and Credits
Data-Centric Applications with Vaadin 8
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Foreword
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Code in Action
Conventions used
Get in touch
Reviews
Creating New Vaadin Projects
Technical requirements
About the demo applications
Understanding the source code
Understanding the architecture of a Vaadin application
Creating a new project from scratch
Maven dependencies
Servlets and UIs
Maven plugins
Components and layouts
Listeners and binders
Events and listeners
Data binding
Resources and themes
Widget sets and add-ons
Summary
Modularization and Main Screens
Creating a multi-module Maven project
Implementing an application's main screen
Defining an API for an application's main screen
Implementing support classes
Implementing a concrete application's main screen
Adding and configuring the required UI components
Implementing the ApplicationLayout interface
Implementing the menu
Modularizing Vaadin applications
Identifying alternatives for modularization
Registering modules with the application
Discovering modules
Implementing new modules
Implementing Server-Side Components with Internationalization
Using extensions to develop a UI component
Extending VerticalLayout
Why avoid extension?
Using composition to develop custom components
Implementing a factory
Using the Composite class
Using the LoginForm class
Using internationalization for Multiple Language Support
Removing hardcoded strings
Getting localized strings
Getting and setting the locale
Implementing Authentication and Authorization
Implementing public and private views
Using the HTTP session and cookies to identify users
Keeping track of authenticated users
Implementing the login/logout process
Implementing the remember me feature
Enabling features according to a user's roles
Coding authorization logic in UI components
Coding authorization using request data
Getting request information
Routing requests to a UI component
Coding authorization with the help of a Navigator
Connecting to SQL Databases Using JDBC
Introduction to JDBC
Adding a JDBC driver for your database
Establishing a database connection through a connection pool
Creating a statement and executing an SQL query
Getting and processing a result set
Closing a database connection
Implementing data repositories
Defining a domain model
Implementing repositories and services
The active record pattern
Connecting to SQL Databases Using ORM Frameworks
Using object-relational mapping frameworks
Connecting to SQL databases using JPA