Anchit Pancholi
Anchit Pancholi

Reputation: 1214

Vaadin With Grails

I am new to vaadin, couple of days back i have downloaded vaadin dashboard demo application.

http://demo.vaadin.com/dashboard/ vaadin quickticket demo application

And i found it amazing and become a fan of vaadin.

I am swing developer and about to start new project using vaadin. I am confused about database communication to vaadin. I am using MySql database.

As i did not stared writing code, can some one guide me which approach would be best.

  1. Use vaadin with grails
    • fast in development use spring and hibernate. Do it impact any performance as there is number of layer?
    • I have no idea about grails, if it best with vaadin then i will learn it.
  2. Directly use TableQuery and SQLContanier.
  3. Use Hibernate independently to fetch the data from database.
  4. Use JSON and make api call to another webservices to get the data . as the vaadin quickticket demo application is doing.

Which approch should i use or can anyone guide me which could be the best practices with vaadin with MySql database.

Should i used grails with vaadin i am developing dashboard application for tracking inventory. Will it cause any major issue with performance or speed.

Upvotes: 4

Views: 438

Answers (1)

Anchit Pancholi
Anchit Pancholi

Reputation: 1214

I have decided to go with vaddin7 + grails as this provide good support for ORM and logging , CURD opration so i don't need to write all database logic from begin.

Upvotes: 2

Related Questions