OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | carol List | March 2005 Index

<--  Date Index  --> <--  Thread Index    

Re: [carol] Carol configuration for handling all features request


Bordet, Simone wrote:

if you do

InitialContext().lookup("dummyTest")

(no hastable to InitialContext), then you can always get the provider url 
from Context.getEnvironment(), am I right ?
The content of jndi.properties is loaded into the context.



Well with Carol, we don't use jndi.properties at all. the getEnvironment() method will return the environment of the default protocol (for now).
The default protocol is the first protocolname of carol.protocols property.


If no jndi.properties, then rmi is default, if memory serves me well.


With carol, this will return same value with or without this file.

If someone wants to override the content of jndi.properties, then yes, it must call carol API. But this can be done by the container at startup.


Carol can be seen as "many jndi.properties" files available at a same time. Then we have to choose one from all availables.

Florent.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



<--  Date Index  --> <--  Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.