Book Image

Vaadin 7 Cookbook

Book Image

Vaadin 7 Cookbook

Overview of this book

Table of Contents (19 chapters)
Vaadin 7 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Rich Internet Applications are web applications that have the features and the functionalities of desktop applications. In Vaadin, we can create whole applications just using server-side code written in Java. That brings a completely different approach to web application development. We create Vaadin applications as a composition of Vaadin components, instead of making HTML pages that redirect between themselves. We will see one way of designing composition of Vaadin components and building an application.

Model View Presenter (MVP) design pattern seems to be the perfect choice for Vaadin applications, because it separates an application into layers and thus provides good basics for making testable architecture. We will explore MVP in three recipes.

At the beginning, we make a simple login feature. The recipe will be as easy as possible, so we can concentrate on the principles behind MVP instead of complex code. Then we create a more complex application with two layouts. The...