Skip to content

Structure

B Shouse edited this page Jan 27, 2015 · 2 revisions

Combined DB & Web Server

org.bshouse.wsdb.server.Servers contains the setup for Jetty and HSQLDB.

Jetty Web Server

Most of the Jetty Web Server settings are in properties/app.properties.

HyperSQL (HSQLDB)

Most of the HSQLDB settings are in properties/app.properites. Connections to the database are controlled via a whitelist in properties/server.acl.

#Stripes Framework The basic Stripes Framework setup is contained in the web.xml file. URL binding can be found in the action classes org.bshouse.wsdb.stripes.action. The org.bshouse.wsdb.common.stripes.action.RootAction acts as the default servlet and serves static content and the 'welcome' page (index.jsp).

#Hibernate ORM The basic database, connection pooling and class mappings can be found in properties/hibernate.cfg.xml. (Warning: the DB URL and Schema are set by org.bshouse.wsdb.common.HibernateUtil in order to support test/production DB switching with a single hibernate.cfg.xml file).

Clone this wiki locally