...
- The app should deploy locally either on OC4J or Tomcat 7.
- You will need to set your dev database username and password in notes-proto-dao.properties.
- Once deployed and running locally, the web interface is (PORT is 8080 or 8888 depending on which app server you use):
- http://localhost:PORT/notes-proto/
- this is the CRUD interface for maintaining the data
- http://localhost:PORT/notes-proto/index.html
- this is the client side, a simple HTML page that uses AJAX to talk to the REST interface.
- http://localhost:PORT/notes-proto/Note/10
- an example of a direct call to the REST interface, for testing. This example retrieves note 10 in JSON form.
- http://localhost:PORT/notes-proto/
- To work around cross-domain issues in the browser, the REST controller is coded to allow cookies and to allow execution from any domain via these response headers:
Access-Control-Allow-Credentials: true
*Access-Control-Allow-Origin: * *