-
1. Re: Nuke and hibernate?
julien1 Dec 7, 2003 3:11 AM (in response to tol)"cooper" wrote:
yes you are right, maybe we will use it later in Nukes.
the only thing you will not have in using hibernate on jboss right now is the fact thtat hibernate transactions will not participate in the transactions driven by the JBoss/J2EE transaction manager.
*BUT* Gavin King is working on making the Hibernate integration for JBoss. Per a mail from him, he has done quite a lot of work on this and has something usable though not yet finished.
The integration will give :
hibernate session will participate in J2EE transactions.
hibernate deployer
and sure other things
so my advice is : use hibernate if what you are doing is not critical on the transaction side, then when the hibernate/jboss integration stuff is done, use it.
julien -
2. Re: Nuke and hibernate?
tol Dec 7, 2003 4:26 AM (in response to tol)cool - thanks! ok than i'll try using hibernate :-)
I'm still feeling slightly befoged: Tomcat, JBOSS, Nuke and now hibernate - some points i got very well, and some are very unclear, so from time to time I bomb you with some questions hoping somewhere down the road I understand it all ;-)
(And I hope my english is not to confused and awful! :-? )
my next questions:
I 've to place the hibernate-jar and 3rd party libs into the class-context-path. At a pure tomcat: webapps/mycontext/lib. But where to place at nuke?
The tomcat is somewhere included, ...
I've to setup the JNDI Ressource (tomcat: conf/server.xml), where I can setup at nuke? I assume jboss/server/default/conf/ ... but alle the files seem to be the wrong place.
more questions at next time ;-)
tol -
3. Re: Nuke and hibernate?
sgwood Jan 21, 2004 12:48 PM (in response to tol)This is incorrect.
"julien" wrote:
yes you are right, maybe we will use it later in Nukes.
the only thing you will not have in using hibernate on jboss right now is the fact thtat hibernate transactions will not participate in the transactions driven by the JBoss/J2EE transaction manager.
*BUT* Gavin King is working on making the Hibernate integration for JBoss. Per a mail from him, he has done quite a lot of work on this and has something usable though not yet finished.
The integration will give :
hibernate session will participate in J2EE transactions.
hibernate deployer
and sure other things
so my advice is : use hibernate if what you are doing is not critical on the transaction side, then when the hibernate/jboss integration stuff is done, use it.
julien
Hibernate 2.X (at least) right now comes with a JMX Bean that creates a JNDI source that can participate in JTA transactions. Gavin et al are apparently working on sliding Hibernate into JBoss (4.X?) as a core part of the CMP engine and JDO implementation.
Cheers,
Sherman