Hi. I cannot find out where to place ejb-jar.xml file. I want to use it to inject some resource (
String, int), but my application then won't to deploy.
I put ejb-jar.xml file into top level of my-ejb.jar file:
my-ejb.jar
|
|
|-----ejb-jar.xml
|------com.test.SomeBeans
I was try to inject resource like this in MDB :
and this ejb-jar.xml:
or if I try this way in stateless bean:
and ejb-jar.xml :
or if I put ejb-jar.xml file into META-INF/ejb-jar.xml, I get the same result. The EAR application, won't deploy!
So what and where I should put???