geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent ForĂȘt <l.fo...@clipack.com>
Subject Re: [PATCH] Submitted directory structure for new 'mail' module
Date Wed, 27 Aug 2003 08:15:57 GMT
Further more, I repeat my suggestion .
One spec =  one Implementation  ===> flexibility, transparency.

>From my point of view, the minimum is to separate into different module.

I don't think that a servletContainer developper is interested in how the
jsp spec is implemented or how the EJBContainer is implemented.
I also think that jmx should be developped in another part of the project. I
know, it's more difficult to do this at the beginning, but if the spec is
well done, the developper just has to respect the spec.

Laurent ForĂȘt.

----- Original Message ----- 
From: "Alex Blewitt" <Alex.Blewitt@ioshq.com>
To: <geronimo-dev@incubator.apache.org>
Sent: Wednesday, August 27, 2003 9:55 AM
Subject: Re: [PATCH] Submitted directory structure for new 'mail' module


> On Tuesday, Aug 26, 2003, at 18:38 Europe/London, Dain Sundstrom wrote:
>
> > Chill.  We will add a mail module later, but we really don't need it
> > now.  Right now core contains EJB and that will be moved later also.
> > Once we get something going we will do a big refactor and move out
> > EJB, mail and anything not deemed core.
>
> I think it can safely be assumed that 'JavaMail' is as much as an
> independent component as EJB, Web, Twiddle etc.
>
> The reason that the EJB is in core is that's what was there in the
> import build. Since then, other things have been added, and where
> sensible they have gone into separate modules.
>
> Given that it is highly unlikely that JavaMail will ever be just
> tightly integrated into the Geronimo core (indeed, other Apache
> developers have expressed an interest in being able to access it) there
> is no real reason to put it in core when it can be put in its own
> module. Putting it into core with the intent of later refactoring just
> delays the refactoring process until later and makes it potentially
> harder than starting in the right direction.
>
> There are also configuration files which must be a part of the JavaMail
> implementation, and should not be mistaken for other code. Introducing
> it into the core module now would result in that extra piece of
> information potentially coming lost during a refactoring process.
>
> Given that I have already written the module's project.xml file (with
> necessary dependencies) and set up the resources correctly, there is no
> extra cost involved in setting up a module to handle it. It also
> separates out the source code from other parts of the Geronimo core, so
> that (for example) it is possible to run the JavaMail implementation
> tests separately from the Core tests. As the JavaMail is in its
> infancy, I don't think that it will be passing all of its tests for a
> while, and it would only serve to annoy 'core' developers that lots of
> tests in what is an unrelated module.
>
> Given that there are many reasons to have a separate module, and only
> 'we don't really need it now' against, I think it is clear that a
> separate module is the right way to go.
>
> Alex.
>
>


Mime
View raw message