4 Replies Latest reply on Oct 11, 2007 12:29 PM by wolfc

    XIDFactory in EJB3

      Francisco thinks it is obsolete?
      http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas?view=rev&revision=65811

      Is that true?

      Looks like this is for EJB3 in embedded mode.

      Does EJB3 in head use JCA1.5 exclusively now?
      Can this class be removed?

        • 1. Re: XIDFactory in EJB3
          bill.burke

          EJB3 uses JCA exclusively.

          Embedded only has it because I didn't know if it was needed or not. Embedded uses Arjuna TM.

          • 2. Re: XIDFactory in EJB3

            Ok, it can be removed then. The XIDFactory was only used by the old
            JMSContainerInvoker style ServerSessionPool (which was copied to EJB3 at some point)

            It what was a bogus optimization anyway. :-)
            TransactionManagers already do the 1PC optimization that this was doing.

            • 3. Re: XIDFactory in EJB3

              I found a reference to this in
              ejb3/src/resources/standalone/dist/embedded-jboss-beans
              as well as a reference to the old transaction manager.

              Is this still used with embedded project?

              I'm going to remove these references to keep things tidy.
              If its still used then it needs replacing with the jbossjta config.

              • 4. Re: XIDFactory in EJB3
                wolfc

                embedded should only use stuff from the embedded module. Any reference in the ejb3 module can be deleted.