Re: how to integrate juice with axis2

2009-08-20 Thread Richard Nichols
You need to write a custom ServiceObjectSupplier which creates your service object using your Guice injector (http://ws.apache.org/ axis2/1_1/api/org/apache/axis2/ServiceObjectSupplier.html) I don't have the code in front of me at the moment but we have implemented this successfully in our Guice/

Re: Why not use ClassLoaders instead of Guice?

2009-10-26 Thread Richard Nichols
If the only problem you are trying to solve is testing of singletons, then Guice doesn't offer you much advantage. Remember that Guice is primarily designed to make implementation of dependency injection simpler, and that's a design pattern which will affect your entire code base, if your code is

Guice AOP caching library for non-distributed projects

2010-05-24 Thread Richard Nichols
Hey everyone, Thought I'd give a heads up and solicit some feedback about a caching solution I've released for Guice as part of visural-common, an Apache 2.0 licensed open source Java library. The cache uses Guice AOP, but differs from other caching solutions in that it's designed to be used lowe