Accenture Interview Question

what is a middleware and explain it's flow