2 Replies Latest reply on Feb 7, 2006 12:33 PM by starksm64

    ENC for the EAR?

    bill.burke

      A user brought up an interesting point that

      a) He like the new JNDI EAR scoping rules for EJBs

      b) He had no nice way of determining the EAR's name.

      He gave the idea of creating an EAR ENC, is this something we should think about? This would require changes us to add a servlet filter and interceptor to EJB to push/pop the EAR's ENC, but I think it would be a positive change.

      Thoughts?

        • 1. Re: ENC for the EAR?
          starksm64

          I don't agree with an ear jndi context. All that is needed is an expansion of the existing component jboss specific contexts like the java:comp/env/security one providing access to deployment info outside of j2ee.

          We should define a java:comp/jboss context and what gets linked to this to provide more access to the DeploymentInfo type of metadata.

          • 2. Re: ENC for the EAR?
            starksm64

            There should also be a stable api for this info as the enc is not the best integration api. I should be able to access this info independent of a live component in the context of a request with the proper enc.