You will have to implement the small web service so that a user can create, delete, read or update an account.
You will work with J2EE (no EJB, just JSP), and use the REST architecture. There is also a small Ajax demo of the web service.
## Deliverables
The technolgy is based on RESTful web services built on JSP. You must understand most of this : [login to view URL]
**Implement the manipulation of an account by a user with REST-Api**
* Creating an account :
* * Requires the implementation of simple java captcha or a GPL captcha you know well
* There is a step where the user look for its school if it has been created by another user
* There will be a very small web page for demonstration
* Updating an account
* Deleting an account
* Reading an account
* User Login
* Needs to implements a non-standard Authorization header protocol
* There will be a very small web page for demonstration
* * Needs to implements a non-standard Authorization header protocol
* There will be a very small web page for demonstration
**Security**
It will need sometimes a cookie and sometimes an Authorization header (you won't have to deal with https). It's the only somewhat tricky part of the misson.
**Login**
When the user logs in, the server will create credentials and save it in the database. The browser will create a cookie.
**
Project**
The project contains some different parts. Some prototypes have already been done, so you don't start from scratch.
There will also be some Java libraries to include in your project.
You can use Netbeans, Eclipse, or any IDE you want, but with some very limited auto code generation ( no JPA, hibernate, Toplink or others).
**Web-App for tests**
For the account creation test page :
* There will be a form with the user datas and the captcha
* The web-app will send the request
* I just want a OK or FAIL with the status code displayed. Nothing more.
for the Login test page :
* There is a form with username/password
* The web-app sends the request
* The web-app displays OK or FAIL with status code displayed
* The web-app create the cookie if it's OK and display it on the screen
**
Unit Test**
You will have to do 10-15 tests : most of them with
There is nothing complicated, and as the lead programmer, I will help if there is any misunderstanding. I will also do my best to give you nice specifications & explainations on the global architecture.
You will have to use Subversion, and make around 10-15 unit tests (JUnit & JsUnit).