Answer the question
In order to leave comments, you need to log in
How to access a bean in the context of another application?
Essence of the question:
I have two web applications with bins on the WildFly application server. It is necessary in the context of one application to access the bean of another application.
I tried to think in the direction of JNDI, but apart from various options for obtaining the DataSource, I can not find anything.
How to access the context of another application? How to get access to another bean?
Thank you.
Answer the question
In order to leave comments, you need to log in
This is fundamentally wrong. Two different applications should remain different. If they need to communicate, use JMS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question