login page application with jmaki
I am fairly new to web programming. How would I construct a page that takes login and password from user and authenticates the user to establish a session? I do know the general architecture how to do this with plain servlet/jsp/cookie, however what would be a good way to do this with jmaki/ajax? perhaps by using a restful service so the user could authenticate without issuing a POST.
again I am a newbie, so correct me if I am wrong.
any ideas/reccomendations/help greatly appreciated.