Re: [jira] Created: (JAMES-521) Mail/Spool/Message repositories refactoring

2006-06-04 Thread Joachim Draeger
Stefano Bagnara wrote: An alternative is (if we really care about switching implementations) is to just bundle our own JavaMail impl. Geronimo has a JavaMail impl we could code share (as you say), or whatever's appropriate. There could be intersections. There are algorithms needed for IMAP

Re: [jira] Created: (JAMES-521) Mail/Spool/Message repositories refactoring

2006-06-03 Thread Joachim Draeger
Serge Knystautas schrieb: The biggest design deficiency of Javamail is the lack of interfaces. That's why using javamail means being limited in hierarchy, and being unable to completely replace implementations. This is an interesting point... should we create interfaces that mirror the

Re: [jira] Created: (JAMES-521) Mail/Spool/Message repositories refactoring

2006-06-03 Thread Stefano Bagnara
Joachim Draeger wrote: Serge Knystautas schrieb: The biggest design deficiency of Javamail is the lack of interfaces. That's why using javamail means being limited in hierarchy, and being unable to completely replace implementations. This is an interesting point... should we create

Re: [jira] Created: (JAMES-521) Mail/Spool/Message repositories refactoring

2006-06-03 Thread Stefano Bagnara
Joachim Draeger wrote: - MessageKey created while storing, and not userprovided. This would make implementation of existing standard a lot easier. Are there disadvantages? When I store the same message into different repositories I've to care about the repository keys myself when I want

[jira] Created: (JAMES-521) Mail/Spool/Message repositories refactoring

2006-06-02 Thread Stefano Bagnara (JIRA)
Mail/Spool/Message repositories refactoring --- Key: JAMES-521 URL: http://issues.apache.org/jira/browse/JAMES-521 Project: James Type: Task Components: James Core, MailStore MailRepository Reporter: Stefano Bagnara

Re: [jira] Created: (JAMES-521) Mail/Spool/Message repositories refactoring

2006-06-02 Thread Joachim Draeger
Stefano Bagnara (JIRA) schrieb: - Introduce a MessageRepository interface for MimeMessages (not Mail objects) to replace the current MailRepository usage: we could even use JavaMail Store/Folders but maybe we should have our own interface and a wrapper. The biggest design deficiency of

Re: [jira] Created: (JAMES-521) Mail/Spool/Message repositories refactoring

2006-06-02 Thread Serge Knystautas
On 6/2/06, Joachim Draeger [EMAIL PROTECTED] wrote: The biggest design deficiency of Javamail is the lack of interfaces. That's why using javamail means being limited in hierarchy, and being unable to completely replace implementations. This is an interesting point... should we create