I have an existing application (say 'A') and I want to call a java function of this app from another app 'B'.
I don't want to put dependency of this app('A') in my calling application('B') to avoid running 'A' at multiple places.
We thought of exposing 'A's function as a web service, which can be called by 'B' by putting dependency on the 'A's client.
What is the efficient and easy way to do this.
Thanks in advance.