guice
Jersey Guice JSP how to?
I\'m using tomcat 6, jersey 1.8 with jersey guice and guice 3. I\'m having problem using JSP with my setup.[详细]
2023-03-30 16:54 分类:问答Using Dependency Injection as an alternative to Singletons
I\'ve always known Singletons to be \"bad\", but only now 开发者_Go百科that I\'ve made the move to Java from C++ have I decided to find a way around them. From a bit of reading, I\'ve found that eithe[详细]
2023-03-29 23:23 分类:问答Eclipse OSGi bundle reqiure another bundle's fragment
This might be simple question but have confused me开发者_如何学运维 for sometime. I\'m developing an OSGi bundle which rely on google guice. Google guice has one main bundle and several fragment like[详细]
2023-03-29 12:02 分类:问答Inject a Class<T> with GIN
Is there a way to inject a class type Class<T> in gin? I can\'t seem to get it working, for example:[详细]
2023-03-28 13:15 分类:问答JAX-WS and Guice 3
Is there some way to take SOAP web service 开发者_运维问答classes creates with JAX-WS and inject them with, say, Guice 3.0 (guice-persist) transactions or even just plain ol\' dependency injection? Th[详细]
2023-03-28 06:40 分类:问答Pulling dependencies out of "god" objects in a DI framework
I have a Servlet that has a lot of existing code. I\'m trying to add dependency injection into one part of it. Currently I am doing it manually:[详细]
2023-03-28 05:39 分类:问答Guice servlet 405 err: seems to not set Content-type set to "text/json" for MediaType.APPLICATION_JSON
I\'m making a call from jQGrid to a Guice servlet that has the following binding: @Prod开发者_运维百科uces({MediaType.APPLICATION_JSON})[详细]
2023-03-27 22:20 分类:问答Guice CreationException - No implementation for type Foo was bound
Need some help to understand this error and possible way to solve it. So I have a Type like this: class Foo {[详细]
2023-03-27 16:21 分类:问答Spring injection bind toInstance
Is there a way to bind an injected object to a specific instance using Spring DI similar to Google Guice\'s[详细]
2023-03-26 05:04 分类:问答Gwt + Guice tutorial
I\'m a Gwt beginner. My remote service implementation now uses a DAO. For the sake of example, I\'m creating it myself:[详细]
2023-03-25 13:40 分类:问答