Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Grails -- good for beginner proof of concept project?

 
Ranch Hand
Posts: 336
7
Tomcat Server Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to make a small web project to convince management to switch to a web application for a manufacturing production system. I maintain the existing system but it is 14 years old and is a DOS xbase system heavily dependent on Novell libraries. Would Grails buy me some time in developing the small project? I am an experienced programmer (25 years) but a beginner in Java. The web server--database server (Apache and Postgresql on Ubuntu ) is already running. The biggest time issue is my inexperience in web development. Would Grails be a tool to balance my inexperience?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Grails will definitely save you some time in the short term if you lack knowledge in building web applications in java. However, I can't emphasize enough the importance of understanding why grails does what it does, how the underlying technology (hibernate, spring, etc) works and basic JSP/Servlet specification. My advice is to dig into grails to get your proof of concept and then as you develop the system that will go live (which will just be your proof of concept with more stuff) try and understand a lot of the why. Without basic JEE knowledge you're going to run into situations that you'll have no way of overcoming.

I just can't stress this enough. Frameworks are great. But you better understand at least primitively what is happening without the framework.
 
Ranch Hand
Posts: 686
Netbeans IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, I would like to warn you since I work in a similar environment. Grails does not go well with legacy DB. I spent a lot of time in Grails than I would in Spring so I am not sure about the ROI factor.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Grails works *fine* with legacy DBs *if* you know Hibernate; the ROI is still big over plain-old-Java techs.

Grails is a huge productivity booster, but Groovy is a language just like Java is--as Gregg says it pays to know how and why it works. If nothing ever goes wrong it's not as big of an issue. However, you've had almost as much experience as I've had--and we know by now that something *always* goes wrong. Once something goes wrong without the basics of JEE development you're sunk.

If you're committed to Java-based technologies then Grails is a decent path, if you're not there are other options.
 
margaret gillon
Ranch Hand
Posts: 336
7
Tomcat Server Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as legacy DB the software to migrate the data and feed it into the postgresql database is done. I run the migration program from the current (legacy) production data to my postgresql server every morning and tweak the code to fix data that doesn't convert correctly. I am committed to Java. I appreciate that I need to learn why the framework functions before doing too much with it. I have worked with SQLserver frameworks and know that at some point the framework will fail or will have to be customized. Keeping those warnings in mind I will take Grails for a spin. Thanks for the perspectives.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well the first thing that you need is some understanding of how web applications work and are maintained .personally the grails book that i read doesn't explains that instead it explores on how and why it is better then java .and through out the book a examples are compared with their java equivalents.Although i love grail and it definetly is quick.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Im going to have to second some of these comments in that Grails offers a HUGE productivity advantage over trying to setup a j2ee application from scratch. The framework uses some of the industries best development tools/frameworks like Hibernate, Spring, sitemesh... I have developed non grails Java web apps and Grails apps... Grails is awesome, BUT you have to understand Java just in case. I have run into issues while developing in Grails and couldnt imagine troubleshooting without knowing java or how a web application works.

I am hooked on Grails ...

 
I don't like that guy. The tiny ad agrees with me.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic