Quintin Beukes wrote:
 
>  I had a look at the Spring in OEJB 3.1. Works well. Very nice feature.
>  My question is how I can get the same running in Geronimo.

I've used spring for webapps in G. Spring can be configured to lookup javaee
managed resources from jndi environment, and inject those as beans in the
context:

 <jee:jndi-lookup id="myEjb" jndi-name="MyEjbBean" resource-ref="true" />
 <bean id="somePojo" class="org.example.some.SomePojo"">
   <property name="myEjb" value="myEjb"/>
 </bean>

http://static.springsource.org/spring/docs/2.5.x/reference/xsd-config.html

-- 
Fredrik Jonson

Reply via email to