public class Server extends TestServerBase {
protected void run() {
try {
ProviderFactory pf = new ProviderFactory();
String f = getClass().getResource("resources/hello_world.js").getFile();
pf.createAndPublish(new File(f), "http://localhost:9000/SoapContext/SoapPort", false);
f = getClass().getResource("resources/hello_world.jsx").getFile();
pf.createAndPublish(new File(f), "http://localhost:9100", false);
} catch (Exception ex) {
ex.printStackTrace();
}
}