I have a question regarding inter application communication. We have two java apps tot be represented by 2 ear files. Both the apps will be deployed on the same application server.
App1 is a UI + core java application. App 2 is pure java app but we are currently flexible on how we want to expose this app depending on the best mode for inter communication apps.
Is there a way to fire a native java from app1 (contained within ear1) to invoke a method in app2 (contained within ear2) or the approach to adopt will be like using JMS queuing mechanism , web services or EJB.