-
Notifications
You must be signed in to change notification settings - Fork 0
Structure
org.bshouse.wsdb.server.Servers contains the setup for Jetty and HSQLDB.
Most of the Jetty Web Server settings are in properties/app.properties.
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).