You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kunal H. Parikh" <ku...@carsales.com.au> on 2004/06/08 02:02:06 UTC
[OT] JBoss EJBs or Hibernate
Hi All!
I just wanted a view of people in the industry on their preferences for
PERSISTENCE, and if possible, WHY!
I intend to run everything in the same JVM and most likely be using JBOSS.
TIA,
Kunal
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT] JBoss EJBs or Hibernate
Posted by Axel Stahlhut <as...@neusta.de>.
Kunal H. Parikh wrote:
>Hi All!
>
>I just wanted a view of people in the industry on their preferences for
>PERSISTENCE, and if possible, WHY!
>
>I intend to run everything in the same JVM and most likely be using JBOSS.
>
>TIA,
>
>Kunal
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
Hi Kunal,
i had some projects with JBoss CMP and some with Hibernate, and i dont
see any reasons for using EJB if i don't want to distribute Beans over
different servers. Hibernate is quick, easy to maintain and you have all
possibilities you like, from an own query lanbguage over building
criterias with objects down to using raw sql.
If you want all of this features with cmp ejb, you have to use JBoss
specifical, non standard practices, which makes it really hard to switch
the Container on a later point of the project. With Hibernate you simply
take your persistent-jars and throw them intoi another container or
runtime, and it will still work.
Regards Axel
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org