You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Robert Burrell Donkin <ro...@gmail.com> on 2008/12/28 23:44:05 UTC

[imap] Java 1.5...?

i'm planning to add an OpenJPA store for IMAP. this means upgrading to java 1.5.

opinions?

objections?

- robert

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


Re: [imap] Java 1.5...?

Posted by Norman Maurer <no...@apache.org>.
+1
Norman

2008/12/28 Robert Burrell Donkin <ro...@gmail.com>:
> i'm planning to add an OpenJPA store for IMAP. this means upgrading to java 1.5.
>
> opinions?
>
> objections?
>
> - robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

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


Re: [imap] Java 1.5...?

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Mon, Dec 29, 2008 at 8:10 AM, Stefano Bagnara <ap...@bago.org> wrote:
> Robert Burrell Donkin ha scritto:
>> i'm planning to add an OpenJPA store for IMAP. this means upgrading to java 1.5.
>>
>> opinions?
>
> +1

i'll go ahead

- robert

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


Re: [imap] Java 1.5...?

Posted by Stefano Bagnara <ap...@bago.org>.
Robert Burrell Donkin ha scritto:
> i'm planning to add an OpenJPA store for IMAP. this means upgrading to java 1.5.
> 
> opinions?

+1

Stefano

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


Re: [imap] Java 1.5...?

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Tue, Jan 6, 2009 at 8:04 AM, Eric MacAdie <er...@macadie.net> wrote:
> Robert Burrell Donkin wrote:
>>
>> On Mon, Jan 5, 2009 at 6:14 AM, Eric MacAdie <er...@macadie.net> wrote:
>>
>>>
>>> Robert Burrell Donkin wrote:
>>>
>>>>
>>>> On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie <er...@macadie.net> wrote:
>>>>
>>>>
>>>>>
>>>>> Would this OpenJPA store be for IMAP only?
>>>>>
>>>>> ...yes but...
>>>>>
>>>>> IMAP is complex and has very specific storage requirements. porting
>>>>> the avalon DB repository to JPA should be much easier but isn't on my
>>>>> agenda today.
>>>>>
>>>>> if anyone wants to volunteer to develop a repository i'd be very happy
>>>>> to review contributions and help out with design etc. anyone
>>>>> interested?
>>>>>
>>>>> - robert
>>>>>
>>>>>
>>>>>
>>>
>>> I am interested.
>>>
>>
>> great :-)
>>
>>
>>>
>>> I do not know too much about JPA, or IMAP for that matter.
>>> But I think that implementing IMAP would help JAMES be competitive in the
>>> Cloud 2.0 era.
>>>
>>
>> James IMAP is a complete implementation of RFC2060 (RFC3501 requires
>> StartTLS which is yet to be implemented). the internal APIs need
>> revising, as does some of the design but the basics are done and -
>> most importantly - the functional testing suite is ok.
>>
>> there is quite a lot more to be done on IMAP
>>
>> the easiest task - but maybe not the quickest - is upgrade everything
>> to Java 1.5 (generics etc)
>>
>> the Torque store is really just legacy: this needs to be replaced by
>> JCR and JPA storage. the JPA stuff is working but more design
>> refinement is required and the extraction of a framework that can also
>> be reused by the JCR storage. the JCR should follow quite quickly once
>> that's done.
>>
>> StartTLS is needed
>>
>> there are also quite a few extension RFCs related to IMAP which should be
>> added.
>>
>> anything here take your fancy?
>>
>> - robert
>>
>>
>
> First I will download some code and try to get things running.

james has quite a lot of code (for a FOSS java project) so i'll try to
help you get started...

the IMAP code is in a separate project  but ATM this project doesn't
contain the socket work required to create a standalone IMAP server.
(though it could be easily added as a separate module.)

http://svn.apache.org/repos/asf/james/protocols/current/ uses
externals to create a virtual structure containing the server and imap
projects. if you don' t mind a big checkout, that'd be a good place to
start.

please keep in mind that the glue code is poor quality and overdue
replacement (perhaps by something spring-based)

- robert

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


Re: [imap] Java 1.5...?

Posted by Eric MacAdie <er...@MacAdie.net>.
Robert Burrell Donkin wrote:
> On Mon, Jan 5, 2009 at 6:14 AM, Eric MacAdie <er...@macadie.net> wrote:
>   
>> Robert Burrell Donkin wrote:
>>     
>>> On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie <er...@macadie.net> wrote:
>>>
>>>       
>>>> Would this OpenJPA store be for IMAP only?
>>>>
>>>> ...yes but...
>>>>
>>>> IMAP is complex and has very specific storage requirements. porting
>>>> the avalon DB repository to JPA should be much easier but isn't on my
>>>> agenda today.
>>>>
>>>> if anyone wants to volunteer to develop a repository i'd be very happy
>>>> to review contributions and help out with design etc. anyone
>>>> interested?
>>>>
>>>> - robert
>>>>
>>>>
>>>>         
>> I am interested.
>>     
>
> great :-)
>
>   
>> I do not know too much about JPA, or IMAP for that matter.
>> But I think that implementing IMAP would help JAMES be competitive in the
>> Cloud 2.0 era.
>>     
>
> James IMAP is a complete implementation of RFC2060 (RFC3501 requires
> StartTLS which is yet to be implemented). the internal APIs need
> revising, as does some of the design but the basics are done and -
> most importantly - the functional testing suite is ok.
>
> there is quite a lot more to be done on IMAP
>
> the easiest task - but maybe not the quickest - is upgrade everything
> to Java 1.5 (generics etc)
>
> the Torque store is really just legacy: this needs to be replaced by
> JCR and JPA storage. the JPA stuff is working but more design
> refinement is required and the extraction of a framework that can also
> be reused by the JCR storage. the JCR should follow quite quickly once
> that's done.
>
> StartTLS is needed
>
> there are also quite a few extension RFCs related to IMAP which should be added.
>
> anything here take your fancy?
>
> - robert
>
>   
First I will download some code and try to get things running.

Eric MacAdie




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


Re: [imap] Java 1.5...? + JCR vs JPA implementation

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Tue, Jan 6, 2009 at 12:22 AM, hanasaki <ha...@hanaden.com> wrote:
> Interesting comment below on the use of JCR (hierarchical schemata) or a JPA
> implementation. (RDBMS)
>
> What would you consider the pro/con argument of one vs the other?

the way i see things:

JCR is more document-centric. this makes integration with
document-centric applications easier.

JPA integrates better with traditional RDBMS applications.

but other people may well have other perspectives...

- robert

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


Re: [imap] Java 1.5...? + JCR vs JPA implementation

Posted by hanasaki <ha...@hanaden.com>.
Interesting comment below on the use of JCR (hierarchical schemata) or a 
JPA implementation. (RDBMS)

What would you consider the pro/con argument of one vs the other?

Robert Burrell Donkin wrote:
> On Mon, Jan 5, 2009 at 6:14 AM, Eric MacAdie <er...@macadie.net> wrote:
>> Robert Burrell Donkin wrote:
>>> On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie <er...@macadie.net> wrote:
>>>
>>>> Would this OpenJPA store be for IMAP only?
>>>>
>>>> ...yes but...
>>>>
>>>> IMAP is complex and has very specific storage requirements. porting
>>>> the avalon DB repository to JPA should be much easier but isn't on my
>>>> agenda today.
>>>>
>>>> if anyone wants to volunteer to develop a repository i'd be very happy
>>>> to review contributions and help out with design etc. anyone
>>>> interested?
>>>>
>>>> - robert
>>>>
>>>>
>> I am interested.
> 
> great :-)
> 
>> I do not know too much about JPA, or IMAP for that matter.
>> But I think that implementing IMAP would help JAMES be competitive in the
>> Cloud 2.0 era.
> 
> James IMAP is a complete implementation of RFC2060 (RFC3501 requires
> StartTLS which is yet to be implemented). the internal APIs need
> revising, as does some of the design but the basics are done and -
> most importantly - the functional testing suite is ok.
> 
> there is quite a lot more to be done on IMAP
> 
> the easiest task - but maybe not the quickest - is upgrade everything
> to Java 1.5 (generics etc)
> 
> the Torque store is really just legacy: this needs to be replaced by
> JCR and JPA storage. the JPA stuff is working but more design
> refinement is required and the extraction of a framework that can also
> be reused by the JCR storage. the JCR should follow quite quickly once
> that's done.
> 
> StartTLS is needed
> 
> there are also quite a few extension RFCs related to IMAP which should be added.
> 
> anything here take your fancy?
> 
> - robert
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 

-- 

=================================================================
= Management is doing things right;                             =
= Leadership is doing the right things.    - Peter Drucker      =
=================================================================

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


Re: [imap] Java 1.5...?

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Mon, Jan 5, 2009 at 6:14 AM, Eric MacAdie <er...@macadie.net> wrote:
> Robert Burrell Donkin wrote:
>>
>> On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie <er...@macadie.net> wrote:
>>
>>>
>>> Would this OpenJPA store be for IMAP only?
>>>
>>> ...yes but...
>>>
>>> IMAP is complex and has very specific storage requirements. porting
>>> the avalon DB repository to JPA should be much easier but isn't on my
>>> agenda today.
>>>
>>> if anyone wants to volunteer to develop a repository i'd be very happy
>>> to review contributions and help out with design etc. anyone
>>> interested?
>>>
>>> - robert
>>>
>>>
>
> I am interested.

great :-)

> I do not know too much about JPA, or IMAP for that matter.
> But I think that implementing IMAP would help JAMES be competitive in the
> Cloud 2.0 era.

James IMAP is a complete implementation of RFC2060 (RFC3501 requires
StartTLS which is yet to be implemented). the internal APIs need
revising, as does some of the design but the basics are done and -
most importantly - the functional testing suite is ok.

there is quite a lot more to be done on IMAP

the easiest task - but maybe not the quickest - is upgrade everything
to Java 1.5 (generics etc)

the Torque store is really just legacy: this needs to be replaced by
JCR and JPA storage. the JPA stuff is working but more design
refinement is required and the extraction of a framework that can also
be reused by the JCR storage. the JCR should follow quite quickly once
that's done.

StartTLS is needed

there are also quite a few extension RFCs related to IMAP which should be added.

anything here take your fancy?

- robert

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


Re: [imap] Java 1.5...?

Posted by Eric MacAdie <er...@MacAdie.net>.
Robert Burrell Donkin wrote:
> On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie <er...@macadie.net> wrote:
>   
>> Would this OpenJPA store be for IMAP only?
>>
>> ...yes but...
>>
>> IMAP is complex and has very specific storage requirements. porting
>> the avalon DB repository to JPA should be much easier but isn't on my
>> agenda today.
>>
>> if anyone wants to volunteer to develop a repository i'd be very happy
>> to review contributions and help out with design etc. anyone
>> interested?
>>
>> - robert
>>
>>     
I am interested. I do not know too much about JPA, or IMAP for that matter. But I think that implementing IMAP would help JAMES be competitive in the Cloud 2.0 era.

Eric MacAdie





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


Re: [imap] Java 1.5...?

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Tue, Dec 30, 2008 at 8:11 PM, hanasaki jiji <ha...@gmail.com> wrote:
> Is there support for Maildir at this point?

depends on what you mean by that :-)

james is an enterprise server capable of serving as MTA and MDA

> Goal is to use James from
> SMTP (incoming mail from servers and outgoing to relay with
> authentication) over SSL and TLS with IMAPS and LDAP authentication.
> How achievable is this at this point?

AFAIK that should be possible

- robert

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


Re: [imap] Java 1.5...?

Posted by hanasaki jiji <ha...@gmail.com>.
Is there support for Maildir at this point?  Goal is to use James from
SMTP (incoming mail from servers and outgoing to relay with
authentication) over SSL and TLS with IMAPS and LDAP authentication.
How achievable is this at this point?

On Tue, Dec 30, 2008 at 8:23 AM, Robert Burrell Donkin
<ro...@gmail.com> wrote:
> On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie <er...@macadie.net> wrote:
>> Would this OpenJPA store be for IMAP only?
>
> ...yes but...
>
> IMAP is complex and has very specific storage requirements. porting
> the avalon DB repository to JPA should be much easier but isn't on my
> agenda today.
>
> if anyone wants to volunteer to develop a repository i'd be very happy
> to review contributions and help out with design etc. anyone
> interested?
>
> - robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

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


Re: [imap] Java 1.5...?

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Tue, Dec 30, 2008 at 8:40 AM, Eric MacAdie <er...@macadie.net> wrote:
> Would this OpenJPA store be for IMAP only?

...yes but...

IMAP is complex and has very specific storage requirements. porting
the avalon DB repository to JPA should be much easier but isn't on my
agenda today.

if anyone wants to volunteer to develop a repository i'd be very happy
to review contributions and help out with design etc. anyone
interested?

- robert

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


Re: [imap] Java 1.5...?

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On Tue, Dec 30, 2008 at 2:15 PM, hanasaki jiji <ha...@gmail.com> wrote:
> Forgive me if this is already answered... I looked and did not see it.
>  (just joined the list).
> Would it be appropriate to look at EJB3 with a Hibernate provider at
> least a a compatibility test case in addition to openejb.org baesd on
> 1. A double check for sanity and 2. knowledge that Hibernate is
> prevalent in the industry as a provider behind EBJ3.

this is a JPA port (and not an EJB3 one) but is a step in that
direction. (hopefully David or Bernt might in with more information on
james-in-geronimo.) my initial aim is to support standalone JPA with
naive pooling (but hopefully it shouldn't be too difficult to move to
EJB3).

there are a couple of wrinkles with Hibernate:

1. using LGPL'd software is difficult here at apache. the legal stance
has become more nuanced in recent times but AIUI it's not completely
settled yet. (this isn't an unsummountable issue)
2. i'm a big OpenJPA fan so i find very little motivation in working
on hibernate. so, interested developers would need to step up.

- robert

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


Re: [imap] Java 1.5...?

Posted by hanasaki jiji <ha...@gmail.com>.
Forgive me if this is already answered... I looked and did not see it.
 (just joined the list).
Would it be appropriate to look at EJB3 with a Hibernate provider at
least a a compatibility test case in addition to openejb.org baesd on
1. A double check for sanity and 2. knowledge that Hibernate is
prevalent in the industry as a provider behind EBJ3.

On 12/30/08, Eric MacAdie <er...@macadie.net> wrote:
> Would this OpenJPA store be for IMAP only?
>
> Eric MacAdie
>
> Robert Burrell Donkin wrote:
>> i'm planning to add an OpenJPA store for IMAP. this means upgrading to
>> java 1.5.
>>
>> opinions?
>>
>> objections?
>>
>> - robert
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

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


Re: [imap] Java 1.5...?

Posted by Eric MacAdie <er...@MacAdie.net>.
Would this OpenJPA store be for IMAP only?

Eric MacAdie

Robert Burrell Donkin wrote:
> i'm planning to add an OpenJPA store for IMAP. this means upgrading to java 1.5.
>
> opinions?
>
> objections?
>
> - robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>
>   


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