Discussions

General J2EE: Making a call from one EAR to another

  1. Making a call from one EAR to another (1 messages)

    Lets consider an example. Say we have two EARs "A" and "B" which can be accessed through localhost/A and localhost/B. Suppose I have action in "A" named "run" and when it is invoked via localhost/A/run.do, it captures the current system time and stores it into the DB. Whereas "B" is running a scheduler and has a job which is triggered every one hour. I want that job to invoke run.do in "A". What is the best way to achieve this. Note that both the EARs are installed in the same server. Please advise.

    Threaded Messages (1)

  2. Use JMS[ Go to top ]

    You want to send a message from one ear/component to another ear/component? I think the obvious choice is JMS....