I worked in a business, a large organization, there are 3 different applications. Accountant application, inventory application, HR application these 3 application are used in same company, but purchased from 3 different 3rd party software company, these 3 application are developed by java, only java. I want to query inventory application data in hr application, should I use web services, jms, rmi, corba, ejb or something else? I need use multiple application servers and web servers(cluster).
Joined: Mar 31, 2013
what's the advantage and disadvantage for me to choose web service and jms?
As you mentioned all three are java application then first understand what is there in the other application whether its EJB, webservices. Mainly you will be writing an adaptor kind of class between these two applications. Fetching HR information based on the inventory data you pass (if I understood properly).
There are many ways to resolve this issue if complete information about the environment is available.
If all are running on the same JVM or different JVMs.
If these are using same DB then with the use of synonym.