tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: RMI From TomEE to Jboss
Date Wed, 11 Jul 2018 09:31:10 GMT
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 <
jonathan.gallimore@gmail.com> 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 <jsharf@jsharf.com> 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
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message