public static void main ( String [ ] args ) throws Exception { Server server = new Server ( 8080 ) ; server . setStopAtShutdown ( true ) ; server . setHandler ( new WebAppContext ( "web" , "/dwr" ) ) ; server . start ( ) ; server . join ( ) ; }
Sets up and runs server .