Last changed May 16, 2008 10:29 by
Federico Grilli
In this presentation from QCon San Francisco 2007, Jason Rudolph gives an overview and demonstration of Grails. Topics covered include Java/Grails integration, Grails plugins, creating a complete Grails sample application from scratch, the structure of a Grails application, data querying and persistence, validation, controllers and tag libraries.
Watch video
If it just wasn't that Grails is a much cooler name... you probably just should have replied with this image :-D
hmmm, yes rather amusing
.. well its no big deal really.. i prefer just grails anyway. If you don't mind I will probably delete your comment as this is a ..ahem.. "family" site and we don't condone such references to foul language 
I' ve heard, oracle is supporting grails, great!
http://www.infoworld.com/article/06/05/11/78223_Hnoraclejavaone_1.html
"[Oracle] will also announce intentions to contribute engineering resources to the open source Grails proje
ct."
Hi, everyone
I downloaded 0.2 and use it created a project, just a very simple test, one domain class, but when I use the command "grails run-app" to start it , an exception raised as below:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.codehause.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean#114d18f' defined in resource loaded through InputStream: Initialization of bean failed; nest exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is Java.sql.SQLException: unsupported features
how to do with it?
Thanks, Robin
Hi Robin,
Your database doesn't support auto-detection of the Hibernate dialect so you would need to set it explicity for whichever product you are using (see http://grails.org/Configuration for details) on setting a custom dialect.
In future could you post questions like this to the mailing list (see http://grails.org/Mailing+lists) ? You are likely to get a quicker response and the wiki is not really the place for such questions.. thanks!!
Graeme
Hi Graeme,
Thank you for your answer, it works, but another problem occurs. I have a table which has a column named id, but the id is not a Long type, it is a String and editable as other columns, how to implement this? In Grails domain class, the id is fixed as Long type and can not be edit.
Thanks. Robin
Hi Graeme,
Since I believe you have an open mind about Groovy and at least some voice about it, I direct this suggestion to you. Groovy has to find a way to catch more errors at compile time. A programmer can type junk into a Groovy class and the compiler will not catch it, if it could possibly be a method call or a field that magically appears at runtime. Here is one suggestion. Define a keyword, such as "nonDynamic". If a programmer writes a class that should not have any fields or methods added at runtime, then they could use the keyword, such as
nonDynamic class Foo {
}
Then the compiler, seeing the "nonDynamic" keyword would flag any reference to a nonexistent method in class Foo as a compile error.
Hopefully we can find a way to get the benefits of a dynamic languange without drawbacks. Thanks.
Eric
I would like to use groovy and grails to implement a service . I would need a final service jar to use it along with my existing application. How do we do that ? Grails only currently allows only to build a war. Will I be able to get my specific service component and it dependents from this war? Pls explain
thanks
bar