This is a description of EJB-8 feature and steps to verify the expected behavior. We already went over some of it during last week's iteam. I'd like to propose this as the formal QA/Doc Handoff document. If anyone, especially QA and Doc, have questions, feel free to raise it in iteam. description: By default, vendor-specific default JNDI names are applied automatically for backward compatibility. GlassFish-specific JNDI names can be disabled in one of 2 ways: (1), set the property disable-nonportable-jndi-names to true under <ejb-container> element in domain.xml. This will take effect for all EJBs deployed to the server, unless overridden by means of (2). For example, asadmin set server.ejb-container.property.disable-nonportable-jndi-names="true" Command set executed successfully. (2), set the property disable-nonportable-jndi-names to true under <glassfish-ejb-jar> element in glassfish-ejb-jar.xml. For example, the following is a complete glassfish-ejb-jar.xml with this property set to true. This will take effect for all EJBs packaged inside the current ejb-jar file: <?xml version="1.0" encoding="UTF-8"?> Both properties default to false. Acceptable values are "true" or "false". The property in glassfish-ejb-jar.xml, if explicitly set, overrides the one in domain.xml. devtest: This devtest verifies the expected behavior by looking up a GlassFish-specific jndi name of a stateless bean that should not exist since it has been disabled. The test passes if the lookup failed with javax.naming.NamingException. manual test: $ asadmin list-jndi-entries The output should not contain any GlassFish-specific jndi names for the deployed application. resources: http://wikis.sun.com/display/GlassFish/GlassFishv3.1EJBOnePager |