improved JNDI utility classes