Actually connecting directly to sql azure is a robust solution, security is programmers responsibility. Anyways I have successfully made a middleware base on the forums using JRDC2 middleware, i customized it to a dynamic one ( means you will not compile again the system if you have changes in he connection and sql querry part). Screenshot Attach.
If anyone needs it i will be happy to share it. Maybe ill post it the forum so others like me whos searching for it can have it.