don't know how i missed this... http://code.google.com/p/google-guice/. "Put simply, Guice alleviates the need for factories and the use of new in your Java code. Think of Guice's @Inject as the new new. You will still need to write factories in some cases, but your code will not depend directly on them. Your code will be easier to change, unit test and reuse in other contexts. "
No comments:
Post a Comment