|
From: Michael M. <mic...@ga...> - 2013-03-07 14:41:10
|
Hi all,
Using the latest beta and I'm deploying outside of Jboss with an embedded container. I'm using Jetty, so I have a main method that looks like this:
public static void main(String[] args) throws Exception {
Server server = new Server(8080);
ProtectionDomain domain = MyServer.class.getProtectionDomain();
URL location = domain.getCodeSource().getLocation();
WebAppContext webapp = new WebAppContext();
webapp.setContextPath("/");
webapp.setWar(location.toExternalForm());
server.setHandler(webapp);
server.start();
server.join();
}
>From what I understand from chapter 33, RESTeasy has some libraries that help with Netty, TJWS and the Sun server. Is there any reason why these isn't a library for using Jetty? Would it not bring any value adds?
Thanks,
Michael
|