1 Reply Latest reply on Nov 24, 2010 6:03 AM by tchize

    java SE and transaction manager

    tchize
      Hello,

      i am currently evaluating CDI+openEJB+JPA on a standalone application as an alternative to Spring+Hibernate+config files.

      We currently have a problem concerning Transaction. Upon startup, Weld mention that he couldn't find a Transaction manager


      WELD-000101 Transactional services not available. Injection of @ Inject UserTransaction not available.

      We can provide transaction manager JOTM ou the openEJB one to weld, but how does weld find the transaction manager, and how do i say to weld to use a specific TxManager ?


        • 1. Re: java SE and transaction manager
          tchize

          Looking at source code, it seems WELD SE hardcode the list of available services and there is no way / no doc to easily provide your own JTA implementation or EJB implementation, except by recoding the whole bootstrap yourself