We're looking at technologies for an up and coming project here and I really want to use Guice as our dependency injection framework, I also want to use Hessian for client/server comms, but it doesn't seem to be compatible with Guice.
public class WebMobule extends ServletModule {
@Override
protected void configureServlets() {
serve("/fileupload").with(FileUploadServlet.class);
// this doesn't work! AuthenticationServlet extends HessianServlet
// HessianServlet extends GenericServlet - Guice wants something that extends
// HttpServlet
serve("/authentication").with(AuthenticationServlet.class);
}
Has anyone managed to solve this problem - if so how did you do it?
cheers
Phil