code: public void init( ServletConfig config )
              throws ServletException
      {
          super.init( config );
  
          // Setup logging
          _log = new Logger( config, getResourceBundle() );
          _log.addDebug( "Initializing" );
  
          // Get extension from Servlet configuration, or use default
          JnlpResource.setDefaultExtensions( config.getInitParameter( PARAM_JNLP_EXTENSION ),
                                             config.getInitParameter( PARAM_JAR_EXTENSION ) );
  
          JnlpFileHandlerHook hook = createHook( config.getInitParameter(PARAM_JNLP_FILE_HANDLER_HOOK) );
  	_jnlpFileHandler = new JnlpFileHandler( config.getServletContext(), hook, _log );
          _jarDiffHandler = new JarDiffHandler( config.getServletContext(), _log );
          _resourceCatalog = new ResourceCatalog( config.getServletContext(), _log );
      }
docs: Initialize servlet