COMP 655: Distributed/Operating Systems - Summer 2011
2024-04-29 01:19:07 UTC
Home
Lectures
Assignments
Books, web, tools
 
Turnitin.com
Guidelines
Writing help
Plagiarism
 
DiNo
Glassfish
RESTful client
Menu service
JAX-RS
JAXB
EJB
Java
 
Bulletin board
Contact
 Programming project testing

Reference implementations

  • A reference implementation of the directory service is available for download. You should be able to deploy it in GlassFish by downloading directly into the autodeploy directory.
  • A reference implementation of the notebook service is available for download. You should be able to deploy it in GlassFish by downloading directly into the autodeploy directory. 
  • Both of these reference implementations are build with Java 1.6; they will not work in a Glassfish running on a Java 1.5 runtime.
  • Custom features of the reference implementation. You may find some of these useful.
    • GET /context/help - returns a table of all of the supported URI types and the HTTP requests defined for each type
    • GET /context/notebook - returns all of the directory service's notebook information
    • GET /context/notebook/id - returns all of the directory service's information for the notebook with the given id
    • GET /context/base-url - returns the notebook service's base URL
    • DELETE /context/notebook - deletes all of the notebooks from the directory service. Useful when you have just deployed the notebook service but not the directory

Test suite

Client jar for the directory service

  • This EJB client jar contains the Directory interface, Notebook class and other classes needed to interact with the directory service.