3 Replies Latest reply on Jan 21, 2004 12:48 PM by Sherman Wood

    Nuke and hibernate?

    tol Newbie

      I plan the use of hibernate. Is that tool working with nuke?? If I understand it right, than is Nuke an Application on JBOSS, JBOSS has Tomcat included and hibernate works with Tomcat. The theoretic conclusion should be that hibernate works with Nuke, but what tells the reality?

        • 1. Re: Nuke and hibernate?
          Viet Master

           

          "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 Newbie

            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?
              Sherman Wood Apprentice

              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