glassfish
  1. glassfish
  2. GLASSFISH-19052

Implement new predefined JNDI name java:comp/InAppClientContainer

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0_b68_EE7MS3
    • Component/s: naming
    • Labels:
      None

      Description

      In the draft Java EE 7 platform spec, section EE.5.17 "Application Client Container Property" states that "An application may determine whether it is executing in a Java EE application client container by using the pre-defined JNDI name java:comp/InAppClientContainer."

      This issue requests the implementation of this feature.

      The complete text of that section is

      An application may determine whether it is executing in a Java EE application client container by using the pre-defined JNDI name java:comp/InAppClientContainer. This property is represented by a Boolean object. If the application is running in a Java EE application client container, the value of this property is true. If the application is running in a Java EE web or EJB container, the value of this property is false.

        Issue Links

          Activity

          Hide
          guojun.shan added a comment -

          will modify it in GLASSFISH-20407

          Show
          guojun.shan added a comment - will modify it in GLASSFISH-20407
          Hide
          David Zhao added a comment -

          It is expected that java:comp/InAppClientContainer should not be set in "client without the ACC" mode (i.e. a lookup throws a NamingException), since this is not a Java EE environment of any kind and it is incorrect to set it.

          Show
          David Zhao added a comment - It is expected that java:comp/InAppClientContainer should not be set in "client without the ACC" mode (i.e. a lookup throws a NamingException), since this is not a Java EE environment of any kind and it is incorrect to set it.
          Hide
          Tom Mueller added a comment -

          Targeting for 4.0 release because these are Java EE 7 RI/SDK related.

          Show
          Tom Mueller added a comment - Targeting for 4.0 release because these are Java EE 7 RI/SDK related.
          Hide
          Tim Quinn added a comment -

          Changing component to "naming." This change needs to occur inside naming, not in the ACC.

          Show
          Tim Quinn added a comment - Changing component to "naming." This change needs to occur inside naming, not in the ACC.

            People

            • Assignee:
              guojun.shan
              Reporter:
              Nigel Deakin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 weeks
                3w
                Remaining:
                Remaining Estimate - 3 weeks
                3w
                Logged:
                Time Spent - Not Specified
                Not Specified