0
Я пытаюсь использовать CommonJ с OC4J. мне нужно написать «ресурс-реф-отображение» в ORION-web.xmlOC4J (10.1.2) orion-web.xml
Если у меня есть такая запись в web.xml:
<resource-ref>
<res-ref-name>tm/PublisherTimerManager</res-ref-name>
<res-type>commonj.timers.TimerManager</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Unshareable</res-sharing-scope>
</resource-ref>
Тогда, если я undestand право, то нужно в ORION-сети .xml:
<resource-ref-mapping name="tm/PublisherTimerManager"
location="tm/PublisherTimerManager">
<lookup-context location="commonj.timers.TimerManager">
<context-attribute name="java.naming.factory.initial"
value="de.myfoo.commonj.timers.FooTimerManagerFactory"/>
</lookup-context>
</resource-ref-mapping>
Am i right?
Знаете ли вы о реализации с открытым исходным кодом? –