Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Two new blogs featuring Vaadin

Bobby Bissett
1 decade ago Feb 13, 2012 7:40pm
Matti Tahvonen
1 decade ago Feb 14, 2012 1:24pm
Bobby Bissett
1 decade ago Feb 23, 2012 8:44pm

Matti Tahvonen: That is some really cool stuff you are working with and it inspires to work hard on this side. I really admire your energy considering your longish career.

BTW. Monty Widenius used to sit in our board. Maybe you can next join his company to create similar stuff for MySQL or MariaDB. :grin:

Sure, one database at a time! :) Thanks for the note on the blog and old man career, heh heh.

It took me a while to get to it, but I've posted another one that has the source code, along with explanations, of the Vaadin app that I used in the db migration screen cast above:


It's probably not the ideal Vaadin app, but I hoped it might get some new people interested in how easy it is to create an application like this. For people already using Vaadin, there are a few things in there that might be of interest:

1. How to map the Vaadin application to something other than / so that other static content can be accessed easily. Also, one method for including an index.jsp file for redirecting users (this index.jsp could also be used for a login screen).

2. One simple (IMO) way to get an EJB reference inside a Vaadin application.

3. How to use both Vaadin's SQLContainer and JPA in the same app using the same JDBC resource (nice to be able to define it in one place!). I'm having the DB generate primary keys and have set up the JPA entities to do the right thing.

4. How to use a custom theme with background.

5. How to get a combo box without any paging present. See http://dev.vaadin.com/ticket/5381

There are a few things I left out that I normally do in an app, like override terminalError(Terminal.ErrorEvent) to give the user error feedback, but I wanted to keep it simple. Anyway, I hope someone finds it useful.


Last updated on Feb, 23rd 2012