spring 远程调用ejb3配置

<bean id="helloWord" class="org.springframework.jndi.JndiObjectFactoryBean">
  <property name="jndiEnvironment">
  <props>
  <prop key="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</prop>
  <prop key="java.naming.factory.url.pkgs">org.jboss.naming:org.jnp.interfaces</prop>
  <prop key="java.naming.provider.url">jnp://127.0.0.1:1099</prop>
  </props>
  </property>
  <property name="jndiName" value="HelloWorldBean/remote"/>
 </bean>

你可能感兴趣的:(java,spring,bean,jboss)