Serge Knystautas wrote:
> 
> ----- Original Message -----
> From: "Peter Donald" <[EMAIL PROTECTED]>
> > It is not really supported at this stage. It would not be too hard to
> add -
> > especially as there is already a JNDI framework in excalibur. But I am not
> > sure that there is a benefit in using an industrial strength naming api
> when
> > a thin layer will suffice.
> 
> I'm not looking for industrial strength... I just think developers would be
> more comfortable using the JNDI API/approach that's used in webservers and
> EJB servers.  This is specifically for mailet and matcher developers, not
> general James development.  This is part of trying to make James and mailets
> feel like a friendly/approachable development platform.

It is doable.  The DataSourceComponent interface purposely did not implement
the javax.jdbc.DataSource because it was going to be used in environments where
that was not available.

You would write a DataSource that wraps calls to DataSourceComponent, or wraps
the JdbcConnectionPool, and go from there.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to