JndiTemplate « Java EE « Spring Q&A





1. Spring, JndiTemplate externalizing provider URL    stackoverflow.com

My project requires the Initial Context Factory and the provider URL to be loaded from a properties file. Here is my Spring configuration

<bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate" lazy-init="true">
    <property name="environment">
 ...

2. JndiTemplate question    forum.springsource.org

JndiTemplate question Hi, I'm using 2 JndiTemplates to access two EJB's which are deployed on different machines and therefore the properties are different. The problem is that when the beans are ...

3. Sharing JndiTemplate 'singleton' with JndiObjectFactoryBeans    forum.springsource.org

Sharing JndiTemplate 'singleton' with JndiObjectFactoryBeans Hi, Are there any issues when sharing a singleton JndiTemplate bean instance amongst many JndiObjectFactoryBeans (which have the same 'environment' property settings) ? e.g. Code:

4. JndiTemplate with multiple properties?    forum.springsource.org

JndiTemplate with multiple properties? Hi, i need to know if is possible to define multiple environments with JndiTemplate or with an other object in Spring, in order to access to the ...

5. JndiTemplate over InitialContext    forum.springsource.org

It does the cleanup for you, following the established template approach used elsewhere in Spring. So it is easy to use, test and understand for one familiar with Spring. Besides that ...

6. Strange behaviour of JndiTemplate    forum.springsource.org

Strange behaviour of JndiTemplate Hello! I have configured spring JMX with SAP WAS. SAP WAS requires to pass user auth information to InitialContext like: Code: properties.put(Context.SECURITY_PRINCIPAL, this.username); properties.put(Context.SECURITY_CREDENTIALS, this.password); new InitialContext(properties); ...

7. Why does JndiTemplate creates new InitialContext all the time?    forum.springsource.org

Why does JndiTemplate creates new InitialContext all the time? Hi, accessing EJB3 Stateless Session Beans using Spring 2.5.6 from a Swing Rich Client multiple jndi-lookups connect to different managed servers of ...

8. JndiTemplate.bind() Exception in Weblogic    forum.springsource.org

JndiTemplate.bind() Exception in Weblogic I have the following code to export some of my services into JNDI: Code: public class RTMJndiBinder { private final JndiTemplate jndiTemplate = new JndiTemplate(); private Map