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 implemented with restfull webservice and send response in XML. Servlet will pass the response back to the ajax to create the UI. The UI will have several functionality and like create user/ delete user, add group etc.
There will be a filter that will get security information from the back end to enforce priveledge 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.
Can any one suggest me a good architectural solution for this. I know the question is too generic but I want only architectural solution.