Skip to content

Development

B Shouse edited this page Jan 25, 2015 · 6 revisions

#Adding a Rest Service

  1. Create a new Table in the Test/Prod DB
  2. Create a mapping bean in org.bshouse.wsdb.beans (using Contact as a model)
  3. Add mapping to properties/hibernate.cfg.xml
  4. Create an action bean in org.bshouse.wsdb.stripes.action (using ContactApiAction as a model)
  5. Create a set of tests in org.bshouse.wsdb.test (using ContactApiTest as a model)
  6. Create your Single-Page Application (SPA) (using WEB-INF/jsp/index.jsp as a model)
  7. Update org.bshouse.wsdb.common.ResolutionUrl by setting the INDEX_JSP variable to point to your new JSP

#Browse the Database java -classpath hsqldb.jar:sqltool.jar org.hsqldb.util.DatabaseManagerSwing

Clone this wiki locally