james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Angus <Danny_An...@slc.co.uk>
Subject [VOTE] POJO pattern
Date Mon, 11 Apr 2005 08:57:59 GMT
I propose that work commence to extract James's "value add" IP from classes
supporting Avalon specific lifecycle attributes, and Avalon component
dependance, to POJO classes.
I further propose that these POJO's are designed to support IoC but are
agnostic in their choice of SDI/CDI
Therfore I propose that these classes be designed along SDI lines in order
that the change is evolutionary and that they can later be factored to
allow their use by CDI frameworks by those people who wish to do so.

The basic pattern will be to have agnostic POJO's contain James' domain
specific code.
These POJO's will be extended to produce SDI, CDI, J2EE, or bespoke
pattern-specific lifecycle specialisations through inheritance, delegation
or injection.
These specialisations can then be used to assemble behavioural solutions in
CDI SDI or J2EE containers which can be maintaned independantly of the
domain specific code in the POJO's

For example:
SMTPHandler -> CDISMTPHandler
                             -> SpringSMTPHandler
                             -> JCASMTPHandler
                             -> AvalonSMTPHandler

Please indicate your prefrence:

[ ] +1 I agree that Agnostic SDI style POJO's are an effective first step
and will participate in the development work
[ ] +0 I neither agree nor disagree that Agnostic SDI style POJO's are an
effective first step but do not oppose the proposal
[ ] -0 I disagree that Agnostic SDI style POJO's are an effective first
step but do not oppose the proposal
[ ] -1 I disagree that Agnostic SDI style POJO's are an effective first
step and oppose the proposal because:..

d.


***************************************************************************
The information in this e-mail is confidential and for use by the addressee(s) only. If you
are not the intended recipient (or responsible for delivery of the message to the intended
recipient) please notify us immediately on 0141 306 2050 and delete the message from your
computer. You may not copy or forward it or use or disclose its contents to any other person.
As Internet communications are capable of data corruption Student Loans Company Limited does
not accept any  responsibility for changes made to this message after it was sent. For this
reason it may be inappropriate to rely on advice or opinions contained in an e-mail without
obtaining written confirmation of it. Neither Student Loans Company Limited or the sender
accepts any liability or responsibility for viruses as it is your responsibility to scan attachments
(if any). Opinions and views expressed in this e-mail are those of the sender and may not
reflect the opinions and views of The Student Loans Company Limited.

This footnote also confirms that this email message has been swept for the presence of computer
viruses.

**************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message