avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: cvs commit: avalon-sandbox/merlin-jndi/
Date Sat, 08 Mar 2003 22:36:20 GMT
Stephen,

> It a JNDI ObjectFactory that lets you access a new instance of the
> Merlin Kernel from a JNDI context.

>     Context initCtx = new InitialContext();
>     Context envCtx = (Context) initCtx.lookup("java:comp/env");
>     Kenel kernel = envCtx.lookup("merlin/ServiceFactory");

> Naturally this needs to be backed by a JNDI resource declaration as
> per the Servlet 2.3 spec (or alternative JNDI configuration).  That's
> where parameters such as the Merlin system and block definition URLs
> are declared.

Do you have any interest in seeing org.apache.naming moved out of Tomcat
into a common project for others, e.g., Avalon, James, and others, to use?

	--- Noel


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


Mime
View raw message