Hi,
I ran the Petclinic sample project successfully but I am not sure if it has what I was looking for as a sample.
In Petclinic, MVC is in force. The RequestMapping actions map to model and rendered by Views (*.jsp). What I need to do is to 'intercept' the HTTP Request before or after rendering to View to compose a HTTP Response message with a XML scheme of the model and send it to a mobile client.
My mobile client accepts HTTP message with a XML schema of the returned data from my model and display it via an iPhone App.
How can I and where shall I compose this message and send it to my requesting mobile client?
Any help would be greatly appreciated. Any sample code or references that I should read will greatly help as well.
Looking forward to any help.
Many Thanks in advance.
|