tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mauro2java2011 <mauro2java2...@gmail.com>
Subject Re: ejb-ref for a ejb remote
Date Wed, 16 Sep 2015 16:38:52 GMT
ok!!!! 
but the openejb.xml file where i put it ?
or the fragment:
--------------------------------
 <JndiProvider id="shoe" type="javax.naming.InitialContext">
    java.naming.provider.url = ejbd://localhost:4201
    java.naming.factory.initial =
org.apache.openejb.client.RemoteInitialContextFactory
  </JndiProvider>

----------------------------------------
i can put it into tomee.xml ?
it is the same thing if i put the same resource (<JndiProvider>
 into tomee.xml or resources.xml???


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<openejb>

  <JndiProvider id="shoe" type="javax.naming.InitialContext">
    java.naming.provider.url = ejbd://localhost:4201
    java.naming.factory.initial =
org.apache.openejb.client.RemoteInitialContextFactory
  </JndiProvider>

</openejb>



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/ejb-ref-for-a-ejb-remote-tp4676255p4676258.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message