Hi,
Is their an example out there which demonstrates connecting to the EJB
deployed on Websphere from TomEE instance?
I did try to do so by using tomee.xml file but did not help:
tomee
JndiProvider id=quot;lt;jndiName type=javax.naming.InitialContext
java.naming.provider.url =
basically JndiProvider should be used with @EJB(mappedName =
jndi:ext://jndiProviderName/jndiBeanName)
you can just create properties and pass them to the initialcontext you use.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn:
You've got the right idea.
Definitely make sure you use the WebSphere's InitialContextFactory instead of
TomEE's. Think of the `java.naming.factory.initial` like a JDBC driver.
Connecting to an Oracle DB requires an Oracle driver in TomEE, connecting to
WebSphere for EJB requires the
Tip to fellow list moderators, if you use the allow address instead of or in
addition to the accept address, the email address in question will not need
moderation again.
This unfortunately doesn't work if someone else responds first and just uses
accept.
We regularly have 100+ emails hit