I for one am hell for leather headed towards using Hibernate.  I used torque
before, but for various reasons decided to go for Hibernate.  You aren't
wasting your time building your project in torque however IF, and big IF,
you use a good seperation between objects and data objects.  If you have
business logic spewed all over your various Torque objects, then you will
hate life when it comes time to port.  But, if you have data objects
(torque) and then either wrappers or business objects that pull from data
objects, then porting is not too bad.

What I learned was the ORM tools may come and go.  Torque, then Hibernate,
but I bet is in time it'll be something else.  Hence the reason to seperate
it out.

Basically, if you can write your app with NO persistence, and then later add
your persistence in, then you wrote it correctly, and plugging in
Torque/Hibernate/JDO will be okay...

I use hibernate extensively and successfully with Turbine.  There is a
howto:
http://jakarta.apache.org/turbine/turbine-2.3/howto/hibernate-howto.html
available.  Getting started with Hibernate via Avalon also get's you ready
for T2.4 and lots of Avalonized components!

Also,
http://jakarta.apache.org/turbine/fulcrum/multiproject/fulcrum-security/inde
x.html there is a hibernate based security system.  And in the unit tests is
an example of using it in t2.3 with the turbine user/groups/roles etc...

Eric

> -----Original Message-----
> From: Matthew Pomar [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 09, 2003 5:09 PM
> To: [EMAIL PROTECTED]
> Subject: Hibernate or Torque... What's the Future?
>
>
> A proposal is included in Turbine version 2.3 to integrate Hibernate.
>
> It is my impression Hibernate is widely used and has fantastic
> documentation. There are a number of code generation
> utilities for it, and
> it appears to be well tested and high performance.
>
> I would like to make sure that I'm not wasting my time
> builing my project on
> Torque if it will be replaced by Hibernate in the near future.
>
> Does anyone know the status of the Hibernate integration?
>
> Thanks,
>  - Matt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to