I'm looking at ORMs for Java and Active Objects caught my eye. Apparently, it was inspired by Rails' ActiveRecord. Based on what I've read, this approach seems to solve a lot of problems with existing Java ORMs by embracing convention over configuration.
What's been your experience with it?
Be careful that you don't wander into "silver bullet syndrome"... I just hear devs saying "convention over configuration" and think it's a great thing...
Daniel Spiewak is a solid programmer, I've learned a lot from his blog, but this is a fairly simple API. That means, don't expect a ton of experience with production usage, working in a high-load environment, etc. But sometimes, all you need is simple, and well, there are other projects, like Databinder that integrate with Active Objects. (Wicket + Databinder is a pretty nice, lightweight web framework for Java.)
But, for example, I'd stay away from a persistence framework like this if I was doing a lot of batch processing. Mostly, because I want:
COPY
I've solved a lot of DB performance problems by just writing straight SQL code, replacing the use of an ORM that wasn't suited for the task.
DISCLAIMER: I am the primary developer working on a project called ActiveJDBC which shares some design goals with ActiveRecord and is actively in development:
http://javalite.io
Active Objects is under active development at the moment, thanks in part to being picked up by Atlassian as a likely plugin data persistence engine to use with its suite of enterprise software.
The Active Objects project is now housed at http://java.net/projects/activeobjects/pages/Home
The Atlassian plugin that uses Active Objects is tracked at https://studio.atlassian.com/browse/AO
In particular, note that Atlassian have just started to build the documentation for the Active Objects Library, at https://developer.atlassian.com/display/AO/Active+Objects
The code hosting is being migrated to BitBucket, and the SCM from svn to mercurial. Watch bitbucket.org/activeobjects/ for progress on that front.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With