O'Reilly logo

Vaadin 7 Cookbook by Ondrej Kvasnovsky, Jaroslav Holan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Facilitating Development

In this chapter, we will cover:

  • Basics of test-driven development in Vaadin
  • Basics of mocking in Vaadin
  • Testing table with a container
  • Testing the UI with TestBench
  • Recompiling widgetsets in Maven
  • Auto-reloading changes in Maven
  • Blocking uncatched exceptions in the production mode

Introduction

This chapter will discuss testing, recompilation of widgetsets, auto-reloading changes on classpath in Maven, and will give a tip on how to handle uncatched exceptions in the production mode.

Simply put, day-to-day coding in Vaadin consists of working in Java source code, recompilation of the source codes, and refreshing the browser so that we can see the result of our work. Let's have a look at each activity separately.

Because ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required