Submit a Form

Hi ,

I am new to Vaadin and basically my experience is in web application development using jsp,ajax,javascript,css etc.

I am looking out for an example on how to submit a vaading form data to a database .

Eg : A vaadin Emp form to create a new employee .

I couldnt find any example of this kind .

Any help will be appreciated.


No need to do any “submit”, your data always lives on the server. You need to let go of some of the mindset that comes with regular web development. When creating apps with Vaadin, try to think of it as more like developing a desktop application, where you don’t need to care about any client-server communication.

So to save your data to a database, just use whatever you know on the server side, e.g. connect to your database, make an SQL statement.