*
The moose likes Groovy and the fly likes Standalone GORM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Standalone GORM" Watch "Standalone GORM" New topic
Author

Standalone GORM

Liz Ardu
Greenhorn

Joined: Feb 20, 2008
Posts: 7
What's the status of standalone GORM? A year or so ago I attempted to use GORM without Grails and had difficulty. Does the Groovy Recipe book discuss standalone GORM?

The codehaus page at http://docs.codehaus.org/display/GRAILS/GORM+-+StandAlone+Gorm is pretty decent but it may be dated since it discusses 0.5.6 GORM.

Anyone have news or links to a current guide?

thanks
[ February 20, 2008: Message edited by: Liz Ardmore ]
Dave Klein
author
Ranch Hand

Joined: Aug 29, 2007
Posts: 77
Originally posted by Liz Ardmore:
What's the status of standalone GORM? A year or so I attempted to use GORM without Grails and had difficulty. Does the Groovy Recipe book discuss standalone GORM?


I had heard that this was going to get more attention after the 1.0 release of Grails was done, so hopefully something will be coming soon.

Dave


Author of Grails: A Quick-Start Guide
S Davis
Author
Ranch Hand

Joined: Feb 07, 2006
Posts: 40
I'll ask Graeme Rocher about it this weekend at the Groovy/Grails Experience. He's the leader of the Grails project.

As nice as GORM is, remember that there is a lot that we owe to being in a container -- Hibernate, Spring, etc. are all there and optimized to work together in a fairly constrained way. All of the magical GORM methods get dynamically added by virtue of the directory that the POGO is in, and so on. Taking any old POGO and making the persistence magic on it could potentially be a wee bit more problematic.

I'm not saying it's not a good idea, and I'm not saying that it wouldn't be awesome. I just think that GORM outside of a well defined container might be more problematic than what you see at first glance...
 
wood burning stoves
 
subject: Standalone GORM