-
Notifications
You must be signed in to change notification settings - Fork 0
Development
org.bshouse.wsdb.server.Servers contains the setup for Jetty and HSQLDB.
Most of the Jetty Web Server settings are currently hard coded into the Combined Server. However, the listening IP address and port are contained in org.bshouse.wsdb.common.Constants.
Most of the HSQLDB settings are hard coded into the Combined Server. However, the port number, test database name, production database name and environment variable name used for switching between test and production databases are in org.bshouse.wsdb.common.Contants. 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 changed by org.bshouse.wsdb.common.HibernateUtil in order to support test/production DB switching with a single hibernate.cfg.xml file).