Hi Joshua
AFAIK, it is not possible to propagate RMI call from TomEE to JBoss because
TomEE uses its own remote protocol (for example, you can not propagate
distributed transactions). But, you may use JBoss client JARS in TomEE to
call your EJBs in JBoss.
Regards.
Gurkan

On Wed, Jul 11, 2018 at 2:23 AM, Jonathan S. Fisher <exabr...@gmail.com>
wrote:

> It's likely possible, but whether or not it's a "good idea" is the better
> question :) It might be best to see about getting a consultant from
> Tomitribe out there to help you.
>
> The process would be something like, use the JBoss InitialContextFactory
> and point it at the remote server. Then, you should be able to use that to
> perform a lookup. I don't think there will be a way to use @EJB injection,
> unless you did some magic with CDI and the @Produces annotation.
>
> A better way would be to wrap your legacy EJBs with RESTful services so
> that way you're platform independent.
>
> On Tue, Jul 10, 2018 at 4:29 PM Joshua Sharf <jsh...@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
> >
>
>
> --
> Jonathan | exabr...@gmail.com
> Pessimists, see a jar as half empty. Optimists, in contrast, see it as half
> full.
> Engineers, of course, understand the glass is twice as big as it needs to
> be.
>

Reply via email to