[GLASSFISH-19052] Implement new predefined JNDI name java:comp/InAppClientContainer Created: 05/Sep/12  Updated: 27/Apr/13  Resolved: 06/Dec/12

Status: Resolved
Project: glassfish
Component/s: naming
Affects Version/s: 4.0
Fix Version/s: 4.0_b68_EE7MS3

Type: New Feature Priority: Major
Reporter: Nigel Deakin Assignee: guojun.shan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 3 weeks
Time Spent: Not Specified
Original Estimate: 3 weeks

Issue Links:
Dependency
blocks GENERICJMSRA-52 Make use of new Java EE new predefine... Open
Tags: ee7platspec, jms-2-implementation

 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.



 Comments   
Comment by Tim Quinn [ 07/Sep/12 ]

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

Comment by Tom Mueller [ 19/Oct/12 ]

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

Comment by David Zhao [ 25/Apr/13 ]

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.

Comment by guojun.shan [ 27/Apr/13 ]

will modify it in GLASSFISH-20407

Generated at Wed Jul 01 15:30:16 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.