Ahmed Mohombe wrote:
What's it's relation to IMAP?
Will this message store help getting IMAP faster?
Or am I totally confused here? :).
I am going to wire Jame's MailStore or Repository
interface over my mail store. Depending on what
Stephano settles on after his code refactoring.
I am looking at 3 months for implementaion. My
hope is that it is at least an alternative for the
default store.
http://opensymphony.com/oscache/ ? :)
The caching needs are simple, so I may just write
that. Thanks for the pointer.
With Jakarta Lucene?
That's the plan. I have to see how that affects
the backend code though. There will probably be
2 interfaces, one internal and the other external.
The objects that implement the internal 'backend'
interface would have to provide their own search()
routine. A routine that may, or may not be based
on Lucene.
Eg...
// Actual DB calls, File-IO, etc...
class dbBackend implements StoreBackend
{
Search();
[...]
}
// Higher level. Handles messaging related
// features.
class dbStore implements StoreInterface
{
dbBackend myBackend;
[...]
}
The attributes you are describing above, seem somehow very similar to
what JCR does (should do) - JSR-170. I worked a little with Magnolia
CMS(it's using JCR), and I've seen all this already (or is it just "deja
vu" :) ).
I've seen JCR, I studied the JackRabbit code a bit
a few months ago. JCR is *a lot* more than what
I working on. JCR supports versioning and a bunch
of other stuff.
An interface like mine could easily implemented on
a JCR server like Jackrabbit.
Eg...
class jcrBackend implements StoreBackend
{
....
}
Multiple domain support would be supported by a
folder attribute.
But please, from the first verion :).
Many message store's support multiple domains by
simply having the domains as the top-level folders.
I am hoping that model is good enough.
Eg.
apache.org/users/user_mailbox
example.org/users/another_user_mailbox
If the server has a need for keeping a folder
cached and wants a quick way to figure out what
domain it belongs too, it could set the 'domain'
property, for instance, on that folder.
Regards,
Kervin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]