integrating GWT with CDI (Seam/Weld)
问题 What's the best way to integrate CDI with GWT? In particular, I'd like to know how to make dependency injection work for my RemoteServiceServlet extensions. Apparently CDI won't work with classes derived from javax.servlet.Servlet. I'm happy to ditch RemoteServiceServlet if there is an alternative. I don't really need DI on the GWT client-side, but would happily use it if it Just Worked. 回答1: It turns out to be a bug in Weld, which is already fixed in version 1.1.0. Intellij IDEA X also has