Sunday, December 29, 2013

Grails and GWT

I've been working with the Grails framework and the Groovy language for the past three years. I've recently switched jobs and have begun working with GWT again for the first time since 2008. I've really enjoyed working with Groovy and Grails and it has been one of the most enjoyable and productive technologies I've worked with.

As I'm relearning and transitioning to a GWT project, I want to document the differences I find between the frameworks and each of their pros and cons. I understand that it's a little like comparing apples and orangutans since Grails is a full stack framework and GWT is primarily a web tier framework, but maybe there can be some benefit from the comparison anyway. I also know that I will be biased toward Groovy and Grails since I am more comfortable with that framework, but I'll try and be as impartial as possible.

I will implement the same application in both technologies. The application will be very simple, basically it is just a single page CRUD web application that will manage a book library. The database will have books and authors tables, so we'll have a simple many to many relationship. I would like to use an embedded database in development mode and PostgreSQL when deployed in production.

To try and make the comparison a little more equal, I will add spring (on the server side) and hibernate to the sample GWT project. I will add a JavaScript front-end to the sample Grails project. I'm not sure which JavaScript front-end to add to Grails, I'm thinking either AngularJS or EmberJS (I don't really know either one, just looking for something new to learn).

After this is done and I'm more comfortable with GWT, I would like to look at the Google Web Toolkit for Grails plugin and evaluate the possibility of having a Grails server side and a GWT front end.


  1. I agree with your thoughts!!! As the demand of java programming application keeps on increasing, there is massive demand for java professionals in software development industries. Thus, taking training will assist students to be skilled java developers in leading MNCs.
    Java Training in Chennai

  2. Thanks for sharing your informative article on Hive ODBC Driver. Your article is very descriptive and assists me to learn whole concept in detail. Hadoop Training in Chennai | Big Data Training in Chennai

  3. Learning new technolgoy would help oneself at hard part of their career. And staying updated is the only way to survive in current position. Your content tells the same. Thanks for sharing this information in here. Keep blogging like this.

    JAVA Training in Chennai | JAVA Training Institutes in Chennai | hadoop course in chennai

  4. Great discussion and inform on where is web design going in 2016. Each and every year web design is growing and plenty of innovative and impressive things are shared and published every day.Business Blog

  5. MarketPress sets the standard for WordPress eCommerce arrangements, giving an exquisite shopping background that backings all real installment passages and permits you to effortlessly oversee dissemination and shopping costs with custom transportation alternatives.
    Wordpress Online Shop And Plugins Store

  6. nice blog..
    SEO training in hyderabad by experts in digital markeing And by prosessional experts in seo.All the training by placement and also guide by the professionals.BEst SEO training in hyderabad

  7. Helpful Information
    Freshers jobs way provide freshers jobs ,walkins,direct recruitment,openings for freshers and experienced and recruiting experienced and freshers Walkins

  8. useful information

    Online recruitment for bank jobs and government jobs and you can get Notification and application to apply online for bank jobs and govt jobs

  9. My Arcus offer java training with 100% placement. Our java training course that includes fundamentals and advance java training program with high priority jobs. java j2ee training with placement having more exposure in most of the industry nowadays in depth manner of java

    java training in chennai

  10. Useful information:
    General Awareness and Current Affairs with Latest Current Affairs Quiz, GK Updates, General Knowledge Last 6 Months Current Affairs, Placement Papers, Model Papers, Interview Questions @

  11. Hibernate Training Institutes in ChennaiHibernate Training Institutes in Chennai Hibernate Online Training Hibernate Online Training Hibernate Training in Chennai Hibernate Training in Chennai Java Online Training Java Online Training

  12. Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
    Web Designing Course in Chennai | web designing training in chennai

  13. Sometimes it is so hard to find good and useful posts out there when doing research. Now I will send it to my colleagues as well. Thank you for being one of them.
    limo service va