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

          Nigel Deakin created issue -
          Nigel Deakin made changes -
          Field Original Value New Value
          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 covers the implementation of this feature.
          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.
          Nigel Deakin made changes -
          Link This issue blocks MQ-193 [ MQ-193 ]
          Nigel Deakin made changes -
          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.
          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

          {quote}
          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.
          {quote}
          Nigel Deakin made changes -
          Link This issue blocks MQ-193 [ MQ-193 ]
          Nigel Deakin made changes -
          Comment [ MQ-193 is dependent on this feature ]
          Nigel Deakin made changes -
          Link This issue blocks GENERICJMSRA-52 [ GENERICJMSRA-52 ]
          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.
          Tim Quinn made changes -
          Component/s naming [ 10636 ]
          Component/s standalone_client [ 10619 ]
          Tim Quinn made changes -
          Assignee Tim Quinn [ tjquinn ] Cheng Fang [ cf126330 ]
          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.
          Tom Mueller made changes -
          Fix Version/s 4.0 [ 10970 ]
          Tim Quinn made changes -
          Assignee Cheng Fang [ cf126330 ] guojun.shan [ guojun.shan ]
          Tom Mueller made changes -
          Tags ee7platspec
          guojun.shan made changes -
          Original Estimate 3 weeks [ 1814400 ]
          Remaining Estimate 3 weeks [ 1814400 ]
          guojun.shan made changes -
          Fix Version/s 4.0_b68_EE7MS3 [ 15657 ]
          Fix Version/s 4.0 [ 10970 ]
          Ed Bratt made changes -
          Tags ee7platspec ee7platspec jms-2-implementation
          guojun.shan made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          guojun.shan made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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
          guojun.shan added a comment -

          will modify it in GLASSFISH-20407

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

            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