I'm migrating the 
application from Jetty 6.1.19 to Jetty-9.1.1. I have few doubts in the 
code used to start the server. The existing code in Jetty6 uses 
webAppDeployer to deploy but the same class is replaced by 
webAppProvider in jetty-9.
In the below code from Jetty6 , when I change to Jetty 9, I have few doubts written near to code lines,
    this.jettyWebServer = new Server(); --->
       
 ThreadPool threadPool = new ThreadPool(threadPoolSize); -> 
ThreadPool class not available .    .         only ThreadPool  interface
 in Jetty9( can we use QueueThreadPool in jetty9)
        jettyWebServer.setThreadPool(threadPool);       
       
 Connector connector = new SelectChannelConnector(); --> 
SelectChannelConnector not avialble in jetty9, any alternative for this 
class ?
        connector.setPort(port);  --> connector will be ServerConnector ?
        this.jettyWebServer.setConnectors(new Connector[]{connector}); 
        WebAppDeployer webAppDeployer = new WebAppDeployer(); -> webAppProvider  ?
        webAppDeployer.setContexts(this.jettyWebServer);
        webAppDeployer.setWebAppDir(warpath); --> no method in webAppProvider  to set WebAppDir
        webAppDeployer.setExtract(true);
        webAppDeployer.setParentLoaderPriority(true);
        webAppDeployer.start();
        this.jettyWebServer.setStopAtShutdown(true);
        this.jettyWebServer.setSendServerVersion(false);        
       this.jettyWebServer.start();
        this.jettyWebServer.join();
Is the code above is enough to start Jetty-9 ?. or anything missing ?.