The opposite of a correct statement is a false statement. But the opposite of a profound truth may well be another profound truth.
True/false?
Within the exploration scope:
1. Let your system become Data Provider/Data Warehouse in the sense you store all the sale data directly into DB
and provide the client a web service to be consumed.
- no intermediate QUEUE needed
- let DBA take care of the maintain/cleanup when needed. This become historical data, the client can also get them
in case they it, for example, they could not connect to your web service due to unexpected down.
2. Let your client be Data Consumer, use your web service that your system provided.
This is the time to test the the limit of
java JAX-WS feature "Client side Asynchronous Invocation - by polling or callback" to see how far it can wait. Why not?
MicroSoft has similar concept or better. I bet. Who knows like the above quote.
