james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Knauf <akn...@xtra.co.nz>
Subject Re: JNDI Mailet Configuration
Date Sat, 01 Feb 2003 23:10:14 GMT
Good point.  I was already thinking this way for UserRepository, but had 
not extrapolated to MailRepository.  

We might want to think about whether JNDI is all that fantastic for high 
volume write access, however.  Most uses of JNDI that I am aware of are 
read often, write occasionally.

Cheers

ADK

Harmeet Bedi wrote:

>Aaron, I think it is a good idea. Extending this a bit
>
>do you think
>----- Original Message ----- 
>  
>
>>    // Obtain a reference to a custom mail repository used by this mailet
>>    MailRepository repository = 
>>(MailRepository)myContext.lookup("myRepository");
>>    
>>
>
>should be
>  
>
>>    // Obtain a reference to a custom mail repository used by this mailet
>>    DirContext repository = 
>>      (DirContext)myContext.lookup("myRepository");
>>    
>>
>
>Why would James need a non JNDI interface for Repository ? 
>
>Harmeet
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: james-dev-help@jakarta.apache.org
>
>
>  
>



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


Mime
View raw message