From: Dmitri C. <di...@bi...> - 2003-05-28 11:53:37
|
[cc'd to hibernate for the last paragraph] Hi Craig, > How goes it, nice to hear from you again! its going ok. <shamless-plug>I'm actually working with a friend of mine atm trying to get a small company (partnership at this stage) off the ground - set our own rules, see things done properly etc. So if anyone has any projects they'd like to see a very high quality proposal for then let me know!</shameless-plug>. > So what's Hibernate like? You using it with JBoss? Does it support all > the transactional handling of JBoss (e.g. pessimistic or optimistic > locking, and rollbacks etc), and if so, is it easy? I first looked at it a last year, but didn't really have a chance to work with it properly. For the past few months I've been using it with Tomcat as a lighter alternative to running EJBs... when developing for small businesses, being able to run on tomcat instead of requiring an EJB server saves them a few $$$. Hibernate's transactional model is very pluggable. As I understand it, Hibernate supports JTA and is well supported inside JBoss (I've cc'd this to the hibernate list where you might be able to get more info). A also believe that it supports plugging in of alternative transactional models through its own API, although I'm not sure of the status of this - its something I read on the mailing list. Re locking, it supports optimistic locking - check the docs (http://hibernate.sf.net). Version 2 betas are very stable from my experience, and I believe the only reason that version 2 hasn't been made final is for one or two pieces of functionality. Certainly worth a look. It also has good XDoclet support in XDoclet CVS. cheers dim |