Put the jar in apps and ansure tomee.xml have <Deployments dir="apps"/>
The singleton will not be seen by apps (excepted if you add to it a @remote interface) but that's not important since you just set system properties which is global on the jvm. Le 24 juil. 2013 06:32, "mauro2java2011" <[email protected]> a écrit : > oescuse me but for sure that the singleton it is deployed before the web > application i have 3 questions: > > 1) were i put the jar of my singleton ? > into tomee/lib ??? or into apps dir ? > 2) what i have to write into tomee.xml ? > 3) i have to insert into jar the meta-inf/ejb-jar.xml ?? > > > you can please write me the exact mode for cobfigure the singleton for get > it deployed before the web application? > 4) the singleton it is redable for all web application deployed into my > tomee ? > tank you . > mauro > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Re-i-have-tried-but-not-work-tp4664234p4664323.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
