Brett,

> Do we really need N libraries each containing two classes?
> 
> I would think there should be one interface to marshal/unmarshal a model
> from a source, and then N providers. maven-model-tools can provide the main
> ones we want to distribute, but others could be plugged in by third parties
> if they wanted to.

These interfaces (ModleMarshaller and ModelUnmarshaller) could probably 
be consolidated into a single factory with multiple methods to create,
read, update, and delete models from some backing store.  IMO the factory
interfaces along with the default factory implementation (XML) should be 
part of the core project containing the model value object classes.

In the end you have a framework for providers and can distribute the most
common model store factories and still allow others to provide their own
model store factories.  However it might be nice to keep the different 
factory implementations within separate projects just for management sake.

Cheers,
Alex



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to