You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by Chapuis Bertil <bc...@agimem.com> on 2011/04/14 09:01:02 UTC

0.0.2 issues

Hello all,

I'd like to start working on DROIDS-108 and I have several questions
regarding this issue.

First, does everybody agree on the necessity to replace the current
factories by a single WorkerFactory since it introduce lots of api changes.
In my opinion having a single worker factory will simplify Droids a lot.

Second, I recently worked with Guice for dependency injection. I think this
library is a perfect fit to create a consistent object graph. In our case we
may
use guice Providers to instanciate workers and the sub components like the
parser which are not threadsafe. Injection may be use for components like
the Fetcher.

This refactoring is huge and difficult to split in several tasks. Does
someone with a greater experience than mine wants to get involved in this
refactoring? Do you have any suggestions about a good way to perform these
changes?  The codebase I use for my personnal projects includes these
changes without using guice, I may commit it in a branch to give an overview
of the direction I propose. WDYT?

Best regards,

--
Bertil Chapuis
Agimem Sàrl
http://www.agimem.com