6 Replies Latest reply on May 5, 2003 9:41 AM by kbirch

    EJB 2.1 DD not supported?

    kbirch

      The EJB 2.1 DD does not seem to be supported by jboss-head. How then do I deploy an MDB and configure and activation-spec for an associated RA?

      I notice that there is an activation-spec element in the testadapter-15-ds.xml dd, but I'm not sure if it is what I am supposed to use. If it is, then how would the MDB get deployed without its own ejb-jar.xml dd?

      thanks,
      kevin

        • 1. Re: EJB 2.1 DD not supported?
          davidjencks

          Hi Kevin,

          There are 2 problems right now:

          1. the only kind of mdb you can deploy is a jms MessageListener. I have to change the mdb deployment code to use a dynamic proxy like the other bean types do. I misread the jca 1.5 spec originally :-((

          2. a ejb 2.1 dd for an mdb is not processed at all. Personally I think the metadata handling will need a pretty much complete replacement but no one has started on this.

          However... if you are trying to deploy a jms message listener and only need to set up the ActivationSpec for it, you can follow the example of the jca 1.5 test adapter. Also, deploy the mdb using the ejb 2.0 dd. The activationspec configuration will find the mdb from the jndi name.

          In the future the activation spec part of this should be generated from the ejb 2.1 dd.

          • 2. Re: EJB 2.1 DD not supported?
            kbirch

            Are items 1 and 2 planned for a version 4 release?

            What I want to do is to have an MDB that is a JMS message listener, but not driven by the container. I have my own inbound RA that will pass JMS messages to it.

            How can I configure the MDB's DD so that the container won't pass it JMS messages?

            • 3. Re: EJB 2.1 DD not supported?
              kbirch

              Are items 1 and 2 planned for version 4?

              What I want to do is have an MDB that is a JMS message listener, but receives its messages from an inbound RA, and not from the container. How would I write the MDB's DD to reflect this without support for EJB 2.1?

              thanks,
              kevin

              • 4. Re: EJB 2.1 DD not supported?
                kbirch

                testing 1... 2... 3...

                • 5. Re: EJB 2.1 DD not supported?
                  kbirch

                  testing 1... 2... 3...

                  • 6. Re: EJB 2.1 DD not supported?
                    kbirch

                    testing, are my replies getting posted?