On Nov 2, 2007 12:54 AM, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
> Robert Burrell Donkin ha scritto:
> > the problem is that session is used in two different senses: database
> > session and a session of a (session-oriented) protocol
> >
> > if you're using a transactional datastore then yes, you'll need a
> > datastore session to execute transactions but there is no necessity
> > for this to equal the MailboxAPI session
>
> Maybe there are *3* different sessions: the protocol session (for POP3,
> IMAP, SMTP), the mailboxapi session, the datastore session.
> Or you are saying that the MailboxAPI session will be the same as (or 1
> to 1 to) the protocols session?

it's not clearly defined how the MailboxAPI session relates to the
protocol and database sessions

i've done a class diagram for the interfaces in MailboxAPI see
http://wiki.apache.org/james/BackendMailboxAPI

IMO this is excessively complex

in particular:

* what is the difference between the various Mailbox interfaces and
the various MailboxSession interfaces?
* why are so many interfaces necessary?

- robert

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

Reply via email to