1 Reply Latest reply on Dec 13, 2006 4:27 PM by normanb

    @Service and @Resource

    normanb

      Hi,

      I have looked at ejb-jar_3_0.xsd, and jboss_5_0.xsd and am trying to inject a resource string into a service generated using the @service annotation.

      I would be grateful for an example (or a pointer to) storing this resource in an external file such as ejb-jar.xml using parameter.

      Many thanks,

      Norman

        • 1. Re: @Service and @Resource
          normanb

          Hi,

          I have been looking into this for a while now, and wonder if there is a solution using XMBeans, and the twiddle command?

          I notice that if my management interface for the @service class implements getMBeanInfo() then this operations gets called. Is there a way to load an XMBean document generated by twiddle and pass this back?

          thanks,

          Norman