Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Standalone GORM

 
Liz Ardu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
S Davis
Author
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic