code: @SuppressWarnings("unchecked")
  	public static <T> T lookup(String name) {
  		try {
  			return (T) new InitialContext().lookup(name);
  		} catch (NamingException e) {
  			throw new IllegalStateException(e);
  		}
  	}
docs: Get the named object in the starting context.
  
  @throws IllegalStateException
  wrapping any NamingException