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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]