> -----Original Message----- > From: Soren Hilmer [mailto:[EMAIL PROTECTED] > Sent: 22 December 2004 11:17 > To: James Developers List > Subject: Re: Repositories > > I feel very badly about doing that, as we suddenly demand installation of > a DB > to run James. > > I believe this is a major drawback for the installed userbase, much > greater > than a change from Java-1.3 to Java-1.4. > > I must admit that I have not followed the IMAP discussions closely, could > you > perhaps sum up, what the problem with the filebased repositories are in > regard to IMAP? >
File based repositories do not support 2 key IMAP requirements: They cannot be renamed or destroyed (deleted). To be honest the rest of the issues are just wiring. They're not trivial issues, but not show stoppers. My opinion (currently) is that MailRepository must have two additional methods: .deleteRepository() and .renameRepository(String newname) This mirrors the Java File() class in principal. However some people hav expressed a feeling that this is not very OO, as a factory of some sort should be responsible for this management. The issue I have with this is that the Cornerstone repositories create themselves without the use of a factory but after that have no additional management features other than that you can add and delete items from the repository "bucket". Related to this is that when you delete a user from James their mailbox never gets deleted! Does that make sense? > --Søren > > > On Wednesday 22 December 2004 11:34, Jason Webb wrote: > > I've only played with Cloudscape before (Derby's forerunner if you don't > > know, I'm sure Danny does!). How would people feel about dropping file: > > support altogether and only using db: repositories then? > > However this would mean that dbfile: wouldn't work. I don't want to kill > a > > feature "accidentally" that a lot of people rely on. > > > > Any thoughts? > > > > -- Jason > > > > > -----Original Message----- > > > From: Danny Angus [mailto:[EMAIL PROTECTED] > > > Sent: 22 December 2004 10:20 > > > To: James Developers List > > > Subject: Re: Repositories > > > > > > I've been messing with Derby recently and wondered if we shouldn't > > > just bundle derby for people who don't care what happens..? > > > > > > Otherwise I think we will need to deprecate the cornerstone ones in > > > favour of something better for our sanity if nothing else. These have > > > had "issues" for as long as I've been involved and I'd cheer, loudly, > > > if we saw the back of them. I believe that the NNTP server uses a much > > > simpler format for its file repo's, mabey you could re-use something > > > from that? > > > > > > d. > > > > > > On Wed, 22 Dec 2004 09:55:15 -0000, Jason Webb <[EMAIL PROTECTED]> wrote: > > > > Sorry to all those waiting for the IMAP work to be committed, but > what > > > > > > with > > > > > > > changing jobs and looking after 2 small people my time has become a > > > > > > little > > > > > > > tight... > > > > > > > > However, this has not stopped me thinking about the biggest issue > the > > > > > > IMAP > > > > > > > server faces and that is the repository interface. At the moment I > feel > > > > > > I'm > > > > > > > trying to ram a very square peg into a very round hole and it's > fairly > > > > painful. > > > > > > > > The database repositories are simple to deal with as we (James) own > the > > > > code. My main issue is with the Cornerstone file: repositories as > they > > > > > > are > > > > > > > "owned" by the Avalon project. I would like to make changes to > these, > > > > > > but I > > > > > > > need to know if we are still going to be going forward with > > > > Cornerstone/Avalon or whatever. > > > > > > > > -- Jason > > > > > > > > -------------------------------------------------------------------- > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > Søren Hilmer, M.Sc. > R&D manager Phone: +45 72 30 64 00 > TietoEnator IT+ A/S Fax: +45 72 30 64 02 > Ved Lunden 12 Direct: +45 72 30 64 57 > DK-8230 Åbyhøj Email: soren.hilmer <at> tietoenator.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]