title: How to list all JNDI entries in "java:global" namespace
body: <p>Goal is to list all the JNDI entries programmatically. <code>new InitialContext().list("java:global")</code> doesn't work. </p>
  
  <p>EJB 3.1, Wildfly or Glassfish 4</p>