james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge Knystautas" <ser...@lokitech.com>
Subject Re: Avalon dependance in mailets
Date Tue, 07 Jan 2003 05:28:55 GMT
----- Original Message -----
From: "Danny Angus" <danny@apache.org>


> Hi again,
>
> The next thing I'm stuck on is database connections.
> Now currently there are a squad of mailets using avalon to get database
> connections, however we want to remove avalon dependancies from mailets,
> so...
>
> do we either make db connections available through the MailetAPI
> or do we force mailets to make other arrangements.

My vote is to expose db connections via javax.sql.DataSource, and lookup
this object via JNDI.

Serge Knystautas
Loki Technologies
http://www.lokitech.com/


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


Mime
View raw message