Thanks for the reply ! Is there any link where I can find examples for these configurations ?? I tried setting
Code:
<bean id="oneBean" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="sample/oneBean/remote"/>
<property name="expectedType" value="sample.OneBeanIntf"/>
<property name="cache" value="false">
<property name="jndiEnvironment">
<props>
<prop key="java.naming.factory.initial">
org.jnp.interfaces.NamingContextFactory</prop>
<prop key="java.naming.factory.url.pkgs">
org.jboss.namingrg.jnp.interfaces</prop>
<prop key="java.naming.provider.url">
jnp://3.63.62.90:1200,jnp://3.63.2.22:1200</prop>
</props>
</property>
</bean>
cache to false but still it does not work . Some other way so that performance is not impacted ?
Thanks in advance