Since we are comparing O/R tools here, the EJB 3.0 developments shouldn’t be missed either.
EJB 3.0 in a nutshell, An overview and critical analysis of the latest EJB specification by Anil Sharma, offers an excellent survey! Moreover, after reading this article, it also seems that Hibernate and EJB 3.0 have (quite) some similarities.
To me the attribute oriented nature looks a lot like what I’m doing with Xdoclet right now, which I find a convenient way of developing (only focussing on the implementation class).
Summarizing, the EJB 3.0 developments seem to be promising indeed! The only thing I’m afraid of is that it might come a little late. Even worse, it may take quite some time before the major application servers support EJB 3.0.
Read this for some rightfully negative comments on the EJB 3 spec: http://jroller.com/page/fate/?anchor=ejb3_what_childish_examples_don
(just ignore the silly use of language)
In that respect, a Sequence Bean isn’t that bad after all 🙂
Great article! I’m even getting a bit enthousiastic about the whole thing, who could’ve thought..
I agree with the author on the incorporation of SQL-snippets in the entitybean-code (especially this line of code in the Address class:
@Id(generate=SEQUENCE generator="ORDER_SEQ")
) – it’s making my skin crawl