tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anas4120 <>
Subject Resource reference mecanism
Date Wed, 08 Feb 2012 13:11:17 GMT

My environement is: openejb 4.1.4 webapp deployed in tomcat 6.0.29

I develop a webapp "mywebapp" in witch a java bean use a file path entry to
get data from a file. To do that I use the injection onf env entry like
described in 

In java bean
private String myfilepath;

In ejb-jar.xml


Now the business have chaned and I a must deloy 2 instances of the same
webapp but with different file path. I need to do that without modify the
webapp war. So I think at the resource-ref mecanism. 

Can some one explain me how to do that ?

Thank U. 

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message