2 Replies Latest reply on Oct 14, 2004 5:19 AM by Shoaib Akhtar

    Spring framework and JBossMQ

    Shoaib Akhtar Newbie

      I am using the spring framework in conjuction with jboss 3.2.5 and using no ejbs. All of my application is web based and use POJO . I just want to ask a simple question that i am using multiple resource (database and jms) together that is why i need to use distributed transaction with XA enabled resources, but when i get jms as resource from java:/JmsXA it gives me the connection factory...... BUT DOES IT ENLIST IN ONGOING JTA TRANSACTION
      .... i dont think so beacuse i read from

      The management of JMS as a resource is available to all EJB types, session, entity and message-driven, but not (as far as I know) from the web container. The reason behind this is that the web container does not know how to handle transactions.

      So should i get enlisted in transaction from POJO or not please help me asap

      Shoaib Akhtar[/url]

        • 1. Re: Spring framework and JCA
          Adrian Brock Master

          Your question falls under the "suck it and see" category.

          Score -1

          You are also in the wrong forum. This is a question about JCA.

          Score -2

          Whoever wrote the statement in your quote, obviously never heard of user transactions.
          And neither have you.

          Score -3

          Why are you using Spring when it exposes you to specifications you don't
          understand and you have no other spec to guide you?

          Score -4

          I'll answer your question with a question.
          Why should JCA care who makes the thread's transaction association?

          And a warning:
          If you are not doing something similar to EJB transaction demarcation all bets are off.

          • 2. Re: Spring framework and JBossMQ
            Shoaib Akhtar Newbie

            To tell you the truth you are very ill-mannered person and u better need to see some doctor to get the screws of your head a bit tighter. I damn care for your app server and a mad person like you. You mental sick, ill-mannered , ill-literate

            Shoaib akhtar