How to access the method from one ear to another ear on one application server

I deployed two EARs on the same server. I want to access one method in one java class in an EAR for another Java class in a second EAR.

What are the different ways to achieve this. which is best suited.

thank

+3
source share
2 answers

I simply used a Bean stateless session to expose this method to another (remote) Java application.

- ... - Java-. XML XML , ( Java-).

+2

- .

JNDI, , , JNDI, . , ( ).

0

Source: https://habr.com/ru/post/1744094/


All Articles