Grails is a Web framework similar to Rails. It is built on Spring, Hibernate, and other frameworks and can be seamlessly integrated with the Java platform. Java developers are easier to use than RoR. Grails provides a complete WebApplication development platform with built-in JettyServer and powerful functions, such as simple object relationship ing (ORM) and automatic re-loading of applications, provides code for CRUD (add, query, modify, and delete) Operations
Grails is a Web framework similar to Rails. It is built on Spring, Hibernate, and other frameworks and can be seamlessly integrated with the Java platform. Java developers are easier to use than RoR.
Grails provides a complete Web Application Development Platform with built-in Jetty Server and powerful functions, such as simple object relationship ing (ORM) and automatic re-loading of applications, provides automatic code generation support for CRUD (add, query, modify, and delete) operations ). In addition, Grails also provides some common syntaxes in Java, including interceptor using the AOP idea, dynamic tag library, JSP and GSP (Groovy Servers Pages) support.
Grails is short for Groovy on Rails, which is an implementation of Ruby on Rails (ROR) in java. Another implementation is JRuby on Rails (JROR ).
My current system is Ubuntu7.10 + jdk 1.5 + mysql 5.
You can use the following script to configure the grails environment in Ubuntu:
Grails. sh
# Download grails
Wget http://dist.codehaus.org/grails/grails-bin-1.0.zip
# Unzip
Unzip grails-bin-1.0.zip
# Move to/opt/grails
Mv grails-bin-1.0/opt/grails
# Let shells has permission to execute
Chmod 774/opt/grails/bin /*
Chmod 744/opt/grails/ant/bin /*
# Set environment variable
Echo 'export GRAILS_HOME =/opt/grails '>/etc/bash. bashrc
Echo 'export PATH = $ PATH: $ GRAILS_HOME/bin'>/etc/bash. bashrc
Source/etc/bash. bashrc
# Test
Grails
Build http://www.linuxidc.com/Linux/2011-12/49602.htm Based on Jenkins + Git + Grails continuous integration environment
Grails details: Click here
Grails: Click here