I need to develop an adapter for a Java EE application to communicate with a third party application. I need to make socket calls and also need to listen http request from that application. The scenario is that my adapter needs to submit some job requests to that application and once the jobs are completed, it will call a predefined url as a notification.
So I would like to know what is the best way to design my adapter? I found out that JCA is one of the solutions but then I am not sure how to handle notification through url with JCA. Can anyone give me some idea on design aspect? Thanks in advance.