james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron.Kn...@vodafone.co.nz
Subject Re: JavaMail as the message store
Date Sun, 02 Feb 2003 20:37:51 GMT

Sounds fine to me.



There is no magic.

                    "Noel J.                                                             
                    Bergman"             To:     "James Developers List" <james-dev@jakarta.apache.org>
                    <noel@devtech.       cc:     "Alexander Zhukov" <zhukov@ukrpost.net>
                    com>                 Subject:     JavaMail as the message store   
                    Please respond                                                       
                    to "James                                                            

As I've mentioned, Alex Zhukov has expressed interest in working with us on
James v3.  His message from mid-December said, in part:

> i have already wrote to noel that javamail while being not very
> efficient (too much parsing too early) is pretty usable for
> mailrepository in its current state, but we can try to convince bill
> shannon (person responsbile for javamail at sun - javamail@sun.com) to
> improve it. from previous talk with him i can say he is willing to
> cooperate.

Alex will also be interested to see that we're talking about using JNDI.
Since I don't know if he stayed subscribed to our list, I am cc'ing him on
this reply (and including Serge's message.

If we agree on that direction, let's talk with Alex about working with us
it, and see whom wants to start working on converting over to JavaMail for
the store.

For the internal migration, I propose we would only use JavaMail in
LocalDelivery and the POP3 handler.  That allows us to introduce JavaMail
mail boxes without breaking the rest of James.  At the appropriate point,
can change ToRepository and the rest of the code.  Basically, it means that
work can start on this process now.

Doing this will also allow Kenny and Darrell, and whomever else wants to
work on IMAP, to start using JavaMail and live data.  I think it will
accellerate the development of our IMAP package.

           --- Noel

-----Original Message-----
From: Serge Knystautas [mailto:sergek@lokitech.com]
Sent: Saturday, February 01, 2003 23:18
To: James Developers List
Subject: Re: Repositories

Noel J. Bergman wrote:
> Serge suggested JavaMail as the message stores interface.  I'm not sure
> the performance is, but we do have the JavaMaildir author to help out,
> I'm sure that he is familiar with the performance.

Basically I mean to suggest that we take the existing file and database
repositories, and rework/add necessary methods to make them implement
the JavaMail javax.mail.Folder (maybe also implement javax.mail.Store).
  I think this is a good idea for the following reasons:

1. familiarity because it's a standard API

2. makes our store implementations more re-usable (our Store
implementation could be bundled as a separate jar to let a servlet app
access the database store)

3. makes it easier to drop in other mail store implementations

and more importantly...

4. If you look at the functionality/methods we need to add to our
existing mail repository interface to let it support NNTP and IMAP, you
basically have javax.mail.Folder.

> Also, please note that we're not considering JavaMail for the spool.  The
> spooler needs to be high performance, but it will only move the Mail
> which have a looser reference to the MimeMessage.  The MimeMessage
> move as much as it does in the current scheme, cutting down on that
> overhead.

Agreed... spools require the Mail object, and there's the whole spooling
logic itself which most mail repositories don't need, and there's the
desire to have that implemented separately.

Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com/
p. 1.301.656.5501
e. sergek@lokitech.com

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

Have you seen our website?.... http://www.vodafone.co.nz

CAUTION: This correspondence is confidential and intended for the named recipient(s) only.
If you are not the named recipient and receive this correspondence in error, you must not
distribute or take any action in reliance on it and you should delete it from your system
notify the sender immediately.  Thank you.

Unless otherwise stated, any views or opinions expressed are solely those of the author and
not represent those of Vodafone New Zealand Limited.

Vodafone New Zealand Limited
21 Pitt Street, Private Bag 92161, Auckland, 1020, New Zealand
Telephone + 64 9 357 5100
Facsimile + 64 9 377 0962

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

View raw message