docs: public static String lookup(String resourceName) {
          String resource = null;
  
          // 1. Check in the JNDI tree
          Context ctx = null;
          try {
              ctx = (Context) new InitialContext().lookup(JNDI_ENVIRONMENT);
              resource = (String) ctx.lookup(resourceName);
          }
          catch (NamingException ignore) {}
  
          // 2. Check among system properties
          if (null == resource || resource.length() == 0) {
              System.out.println("Resource \"" + resourceName + "\" not published through JNDI...");
              try {
                  resource = System.getProperty(resourceName);
              }
              catch (Exception ignore) {}
          }
  
          if (null == resource || resource.length() == 0) {
              System.out.println("Resource \"" + resourceName + "\" not published through system properties...");
          }
          return resource;
      }