I have two applications (classic java program and a batch) that have to deal with each other. In order to decouple them as much as possible the communication, i'm thinking about using a queue between the applications.
The thing is that the first application is providing some java objects that the second one has to transform to another objects type (sort of DTO pattern) and do some business logic and web service call using the newly constructed objects. Is using a queue is the best solution in this case?
if it is, is there a performance issue on the queue (thinking espacially about size, and consumation time)? What is the best way to implement this queue?
thank you in advance :)