On 5/15/07, Danny Angus <[EMAIL PROTECTED]> wrote:
On 5/15/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote:

> My suggestion is to place the core non-avalon code in the main class and
> then write an avalonized wrapper to that class (or an extended version
> implementing avalon interfaces).

+1 I would be stronger and say that that is a pattern which we would
like to apply to all of James, separate POJO's with single
responsibilities from wrappers which impose or implement lifecycle.

i'd like to go even further than that :-)

IMHO each JAMES subproject should be a pure component containing POJOs
suitable for reuse with no coupling on JAMES server. a library module
in the server should adapt the component for use in JAMES. a
deployment module should tool the component for deployment by
providing configuration and other services.

- robert

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

Reply via email to