On Feb 18, 2008, at 4:05 PM, David Blevins wrote:
You should be able to plumb that right into the
HttpServerFactory.createServerService() method.
Once that is done we likely don't need the jetty-httpejbd file
anymore. If someone adds jetty to their openejb install, it should
just detect it and use it without any need for extra configuration.
FYI, I added this to HttpServerFactory.createServerService():
try {
ClassLoader cl =
Thread.currentThread().getContextClassLoader();
cl.loadClass("org.mortbay.jetty.Connector");
return new JettyHttpEjbServer();
} catch (Throwable e) {
// We don't have jetty
}
So we should be good on the jetty detection thing.
-David