If you put the remote API in both modules - and impl only in the ear where
it is deployed - you should be able to load it properly.


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>

2018-01-23 14:10 GMT+01:00 Dignesh <[email protected]>:

> Hi Romain,
>
> I cannot merge the 2 ears in to the single ear,reason is i want others to
> deploy there own custom apps without affecting the one which i had
> developed.
>
> Also i made the change for bean in ear a to be remote and when i accessed
> the bean from ear b it is throwing the classcastexception, So could this be
> due to the same class loaded by 2 different class loaders ?
> How can i solve this ?
>
>
>
>
> --
> Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-
> f982480.html
>

Reply via email to