Thanks Lasse. Couple of questions
1. How does separate intf and impl class in spring
<bean id="myEntityManager"
class="com.acme.MyEntityManager">
<property name="dataSource">
<ref bean="myDataSource"/>
</property>
</bean>
Here id myEntityManager tied to class com.acme.MyEntityManager. Where is the interface specified?
2. Is it possible to specify JNDI dependency for EJBHome in Spring?