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
I simply used a Bean stateless session to expose this method to another (remote) Java application.
- ... - Java-. XML XML , ( Java-).
- .
JNDI, , , JNDI, . , ( ).
Source: https://habr.com/ru/post/1744094/More articles:Using PHP as a template language - phpHow to backup data stored in Core Data - iPhone application? - objective-cсоветы и рекомендации при переносе кода с vb6 на.net с Visual Studio 2010 - .netHow to unit test AOP? - .netiPhone: Understanding Crash Reporting in the Field: An Unrecognized Selector? - debuggingPygame Message-multiple lines? - pythonFind a substring in the given text .. C-program - cHadoop on Amazon EC2: Job Tracker Doesn't Start Properly - cloudvarargs parameter capture types - scalaJava multithreaded cache for objects that are hard to create? - javaAll Articles