The "Referencing a bean in another server" part of http://tomee.apache.org/ejb-refs.html should already enable several cases.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://rmannibucau.metawerx.net/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/application-development/java-ee-8-high-performance> Le mer. 11 juil. 2018 à 11:24, Jonathan Gallimore < [email protected]> a écrit : > You can certainly make remote calls to JBoss in the same way you would do > with a regular client. You'd need to include the JBoss client jars, and use > the appropriate URL and context factory in your InitialContext. This should > be a reasonable approach. > > JBoss itself has the concept of an ExternalContext which effectively maps > an external JNDI into a local one. TomEE doesn't have its own equivalent > that I know of, but it might be possible to come up with something similar. > If I get a chance later this week I'll see if I can hack something up. > > Jon > > On Tue, Jul 10, 2018 at 10:29 PM, Joshua Sharf <[email protected]> wrote: > > > Is there a way to make an RMI call *from* a TomEE server *to* a JBoss > > EJB? I > > know we can set up TomEE to host EJBs, but that's not what we want to do. > > We want to make the call from TomEE to the remote EJB, > > > > We're running TomEE Plume 7.0.4, and EAP7. > > > > Thanks for any help you can give us, > > Joshua Sharf > > > > > > > > -- > > Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users- > > f979441.html > > >
