Architectural solution for jQuery - servlet - WS
<p>I have to develop an application with jQuery in the UI and which will make AJAX call to back end (servlet) which in turns calls another server which is implements restful web service and send response in XML. Servlet will pass the response back to the AJAX to create the UI.</p>

<p>The UI will have several functionality and like create/delete user, add group etc. </p>

<p>There will be a filter that will get security information from the back end  to enforce privilege for the users. Some users will have some functionality disables in the UI itself. Our requirement is to develop the application with flat like interface (that why jQuery) and call the restful web service (which is already there) to delegate the actual functionality.</p>

<p>Can any one suggest me a good architectural solution for this. I know the question is too generic but I want only architectural solution. </p>
