@AfterClass
 public static void stopServer() {
   if (server != null) server.stop();
 }
 @BeforeClass
 public static void startServer() throws IOException {
   server = new SunHttpServerEmbedded();
   server.start();
 }