>> Is it possible to set up a DataSource in James and
>> get a reference to it via JNDI in a mailet init()
>> method?
 
> Not at this time.  See the other JDBC using mailets
> for examples.  This will
> change when we incorporate JNDI.
> 
>       --- Noel

I've had a look at Mailets that use DataSources,
JDBCAlias for example. Rather than using JNDI you're
using the Avalon ComponentManager to do a lookup. I'm
still not quite sure where it is that I specify the
DataSources name, driver, url etc. How / where do I
make a DataSource available to the Avalon
ComponentManager?

regards,

Jonathan
  


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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

Reply via email to