Groovy on Grails is open source application framework build on java language using groovy scripting languages.what is groovy framework:-
Groovy is scripting programming language which runs on java virtual machine. Groovy is a java module that has one dependency jar file.Groovy is a scripting framework for building applications on top of java. It will reduce a lot of java code to write the applications and the files are saved with extension as .groovy. The syntax for groovy and java looks similar.
Grails is a java web application development framework for building rapid web applications. Grails are integrated with spring and hibernate technologies to develop the applications very quickly. In Grails, to story any model object, we don’t define any configuration or much files to do crud on the model. just by coding by convention approach, we can simplify the development and do our logic quickly.
Grails applications can be built by java developers as well as developers who have development experience easily.
support for building web applications quickly without focusing on software conventionsIntegrate with persistent ORM frameworks like hibernate and other frameworks like springProvide richer templates build on Groovy server pages to build standard UI elements and MVC featuresGood documentation and lot of companies are using these technologiesLearning framework is easy and building web applications with this framework is straightforward.Generate code automatically based on templates.Building new applications is very easy
It is developed on Java, the learning curve is there for non-java developersIntegrating with existing custom frameworks is very difficult and complex.There is time-consuming process while compiling grails apps as Interpretation of the scripts and conversion to .class files is to be done.
Grails is integrated with Maven for building grails projects.
Grails project code architecturecontrollers – grails-app/ controllers:- here we can write the groovy files for controller related codedomain – grails-app/domain Contains the list of groovy model objects with package structure
view - grails-app/views
has the list of GSP files which are groovy based server pages to display the UI elements. Groovy server pages are like java server pages with the support of Groovy scripting languages.
This is just basic idea that i got to know and blogged.
[Anonymous]( “email@example.com”) - Jul 4, 2012
Also add this too in disadvantage… “Lack of knowledge guidance and reference. Less people to resolve doubts and errors”