code: public static Map<String,Object> getInitialProperties(javax.servlet.Servlet servlet, BasicServlet.SERVLET_TYPE servletType)
      {
          Map<String,Object> properties = new Hashtable<String,Object>();
          Enumeration<?> enumeration = servlet.getServletConfig().getInitParameterNames();
          while (enumeration.hasMoreElements())
          {
              String strParamName = (String)enumeration.nextElement();
              String strValue = servlet.getServletConfig().getInitParameter(strParamName);
              properties.put(strParamName, strValue);
          }
  
          properties.put(DBParams.SERVLET, DBConstants.TRUE); // Flag - yes this is a servlet
          if (properties.get(DBParams.FREEIFDONE) == null)
              properties.put(DBParams.FREEIFDONE, DBConstants.FALSE);   // Don't free when only the last app is running.
          if (properties.get(DBParams.LOCAL) == null)
              properties.put(DBParams.LOCAL, DBParams.JDBC); // Servlets uses Jdbc by default
          if (properties.get(DBParams.REMOTE) == null)
              properties.put(DBParams.REMOTE, DBParams.JDBC);
          if (properties.get(DBParams.TABLE) == null)
              properties.put(DBParams.TABLE, DBParams.JDBC);
          
          return properties;
      }
docs: init method.