Return Value from Remote Bean
I am invoking a Stateless Session Remote EJB to retrieve an arrayList .
The program is successfully invoking the EJB and the ejb logs display the result returned, but the return parameter is never retrieved.
Am I missing something ?
Is there any other configuration that I need to do besides this...
applicationContext.xml
<bean id="imgInterface"
class="org.springframework.ejb.access.SimpleRemote StatelessSessionProxyFactoryBean"
lazy-init="true" autowire="default" dependency-check="default">
<property name="jndiName"
value="cell/clusters/TestCluster/ejb/ImgInterface" />
<property name="jndiTemplate">
<ref bean="jndiEnviroment" />
</property>
<property name="businessInterface"
value="com.test.ejb.img.ImgInterface" />
<property name="resourceRef">
<value>false</value>
</property>
</bean>
This is the code
ArrayList imgList = new ArrayList();
ImgInterface imgInterfaceBean = (ImgInterface)context.getBean("imgInterface");
imgList = imgInterfaceBean.getImgList() ;
I can't invoke any lines after calling the getImgList().
Thanks.