Jersey Robot

Results 104 comments of Jersey Robot

@glassfishrobot Commented vokiel said: I've been reading the various issues on Guice with Jersey 2.0 & HK2 and I have to say I'm a bit confused as to what the...

@glassfishrobot Commented cowwoc said: Jersey 2.0 doesn't support Guice, period. Development is being held up on the Jersey end of things, not HK2. Anyone wishing to help should take a...

@glassfishrobot Commented cowwoc said: I finally figured out how to wedge Guice support into Jersey 2 (mostly through trial and error). Can someone from the Jersey team please review and...

@glassfishrobot Commented @jwells131313 said: That's a gr8 solution. I'd still like to see a more integrated solution though...

@glassfishrobot Commented reinert said: It is not possible to just substitute H2K to Guice? I don't like the idea of two DI containers working together. I would rather prefer just...

@glassfishrobot Commented cowwoc said: @jwells, what did you have in mind? @reinert, I don't think Jersey gives us an option. I believe it forces the use of HK2.

@glassfishrobot Commented cowwoc said: Bad news. The above solution won't work. It only initializes one direction of HK2's bi-directional bridge. I am beyond frustrated with this, having spent **days** trying...

@glassfishrobot Commented cowwoc said: I found a way to beat the circular dependency for Injector. You can create the main Injector before the Application. Once you're inside Application, you create...

@glassfishrobot Commented jontro said: @cowwoc Would you mind trying out the solution outlined in [https://java.net/jira/browse/HK2-121](https://java.net/jira/browse/HK2-121) ?

@glassfishrobot Commented cowwoc said: @jontro I replied to your solution, in [HK2-121](https://java.net/jira/browse/HK2-121 "Guice-servlet integration"). Let's keep the discussion there to reduce noise for everyone else watching this issue.