2 Replies Latest reply on Nov 5, 2003 8:36 AM by Michael Lipp

    EJB DB access, JMS and Transactions

    Michael Lipp Newbie

      I have an EJB doing something in the database and writing a message to a JMS queue (using jdbc persistence in the same database) in one transaction. Do I need an RDBMS with distributed transaction support for this?

      A container could find out that the queue access should use the same db connection (it does so when different EJBs access the DB in one transaction) , but I have the impression that JMS uses its own connection, so we have one DB user for EJBs accessing the DB and another DB user for accessing the queue tables. Am I right?

      - Michael