Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The app should deploy locally either on OC4J or Tomcat 7.
  2. You will need to set your dev database username and  password in notes-proto-dao.properties.
  3. Once deployed and running locally, the web interface is (PORT is 8080 or 8888 depending on which app server you use):
    1. http://localhost:PORT/notes-proto/Image Removed - this is the CRUD interface for maintaining the data
    2. http://localhost:PORT/notes-proto/index.htmlImage Removed - this is the client side, a simple HTML page that uses AJAX to talk to the REST interface.
    3. http://localhost:PORT/notes-proto/Note/10Image Removed - an example of a direct call to the REST interface, for testing. This example retrieves note 10 in JSON form.
  4. 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: * *