Thanks Harmeet. I'll take a look at DSML. As for JNDI/XML being heavyweight - you are correct. However, it is no longer being proposed as part of the Mailet API. Apparently (based on Noel's latest comments) it is to be an optional part of the spec.
Note also that any existing J2EE appserver that wants to add a mailet container to their bag of tricks will already have JNDI, anyway. Cheers ADK -------------------------------------------- There is no magic. "Harmeet Bedi" <harmeet@kodem To: "James Developers List" <[EMAIL PROTECTED]> use.com> cc: Subject: Re: JNDI Mailet Configuration 05/02/2003 01:27 Please respond to "James Developers List" ----- Original Message ----- From: "Aaron Knauf" <[EMAIL PROTECTED]> > 2) Provide a configuration mechanism for initialising the JNDI tree > with resources at system startup. I am thinking that a generic XML > configuration file for setting resources into JNDI could be used. (This > ought to be applicable beyond James.) Haven't thought this through too > far, but at a minimum we should be able to create Contexts, set > primitive values for these attributes, provide pluggability for setting > non-primitive values (such as DataSources, ThreadPools, or custom > objects like complex user configurations.). I think using XML/JNDI for mailet configuration may be heavy weight. A simple DTD as suggested earlier (by Danny? Aaron ? not sure) may be good enough. However if JNDI/XML is the direction to take, DSML (or subset) may be good candidate for Schema. It provides XML mapping to directory information and there are DSML providers for JNDI.. Spec is at http://www.oasis-open.org/committees/dsml/ Harmeet --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------------------------------- Have you seen our website?.... http://www.vodafone.co.nz CAUTION: This correspondence is confidential and intended for the named recipient(s) only. If you are not the named recipient and receive this correspondence in error, you must not copy, distribute or take any action in reliance on it and you should delete it from your system and notify the sender immediately. Thank you. Unless otherwise stated, any views or opinions expressed are solely those of the author and do not represent those of Vodafone New Zealand Limited. Vodafone New Zealand Limited 21 Pitt Street, Private Bag 92161, Auckland, 1020, New Zealand Telephone + 64 9 357 5100 Facsimile + 64 9 377 0962 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]