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?
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.
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...
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss