Limit search to available items
Record 50 of 151
Previous Record Next Record
Book Cover
E-book
Author Duarte, Alejandro

Title Data-Centric Applications with Vaadin 8 : Develop and maintain high-quality web applications using Vaadin
Published Birmingham : Packt Publishing, 2018

Copies

Description 1 online resource (194 pages)
Contents Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Foreword; Contributors; Table of Contents; Preface; Chapter 1: 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; Chapter 2: Modularization and Main Screens; Technical requirements
Creating a multi-module Maven projectImplementing 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; Summary; Chapter 3: Implementing Server-Side Components with Internationalization
Technical requirementsUsing 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; Summary; Chapter 4: Implementing Authentication and Authorization; Technical requirements; Implementing public and private views; Using the HTTP session and cookies to identify users
Keeping track of authenticated usersImplementing 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; Summary; Chapter 5: Connecting to SQL Databases Using JDBC; Technical requirements; 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 queryGetting and processing a result set; Closing a database connection; Implementing data repositories; Defining a domain model; Implementing repositories and services; The active record pattern; Summary; Chapter 6: Connecting to SQL Databases Using ORM Frameworks; Technical requirements; Using object-relational mapping frameworks; Connecting to SQL databases using JPA; Defining a persistence unit; Creating an EntityManagerFactory; Implementing Entity classes; Executing queries; Implementing a Vaadin UI to list and save Entities
Summary Vaadin is an open-source Java framework used to build modern user interfaces. Vaadin 8 simplifies application development and improves user experience. The book starts with an overview of the architecture of Vaadin applications. You will also learn advanced concepts like, internationalization, authentication, authorization, and database connectivity
Notes Connecting to SQL databases using MyBatis
Print version record
Subject Application software -- Development.
Internet: general works.
Databases.
Programming & scripting languages: general.
COMPUTERS -- Software Development & Engineering -- General.
Computers -- Database Management -- General.
Computers -- Web -- General.
Computers -- Programming Languages -- Java.
Application software -- Development
Form Electronic book
ISBN 9781783288854
178328885X