geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <>
Subject Re: Implementing Global JNDI
Date Tue, 25 Apr 2006 14:56:36 GMT
I would be glad to help writing / testing this feature.
Is the code available somewhere ?
I also just have one question: when I was looking at how to use Geronimo 
JNDI implementation, i faced the problem that to access one of the proxy 
in the JNDI tree, Geronimo requires the main interface name (which is 
usually given by deployment descriptors).  How did you work around that ?

Guillaume Nodet

Krishnakumar B wrote:

>In geronimo road map there was a requirement for implementing Global
>JNDI for geronimo.
>An approach to implementing the same is posted below. Kindly post your
>valuable feedback.
>* Write and Deploy a GBean For Global JNDI
>* GBean on startup of server would introspect the server and build JNDI tree
>   - jdbc
>   - jms
>   - ejb etc...
>* JNDI tree is stored in Hashmap and we can use
>ComponentContextBuilder to build this tree.
>* We can use EnterpriseNamingContext to create a context.
>* The Context is stored as a static variable in the Local Factory Class.
>* During deployment a new entry is added to Context ( Hashmap.)
>* During undeployment an entry is removed from Context ( Hashmap )
>* We can reuse the existing the geronimo-naming package for directory
>We have done some initial ground work ( Writing Gbean, Building JNDI
>Tree ) and would be glad to know how such an implementation would fit
>into geronimo server, limitations if any so that we know we are using
>the right approach.

View raw message