Skip to content

ryanbradley/TicketMonster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

h1. What is this?

Ticket Monster is an application that demonstrates a few of the capabilities of JBoss AS. In this repository you will find a Spring-based implementation.

h1. Setup

In order to set up the database, add a datasource to the application as follows:

a) create a directory named $JBOSS_HOME/modules/org/hsqldb/main

b) copy the HSQLDB jar (e.g. hsqldb-1.8.0.10.jar) from your Maven repository (e.g. ~/.m2/repository/org/hsqldb/hsqldb/1.8.0.10) into the directory

c) add a file 'modules.xml' to the directory, with the content:

<resource>
  <resource-root path="hsqldb-1.8.0.10.jar"/>
</resource>

<dependencies>
  <module name="javax.api"/>
  <module name="javax.transaction.api"/>
</dependencies>

d) edit the file $JBOSS_HOME/standalone/configuration/standalone.xml

e) search for the element <subsystem xmlns="urn:jboss:domain:datasources:1.0">

f) add the following sub-element to it:

jdbc:hsqldb:hsql://localhost/ticketmonsterds hsqldb false false FailingConnectionOnly sa
    </password>
</security>
<validation>
    <validate-on-match>
        false
    </validate-on-match>
    <background-validation>
        false
    </background-validation>
    <use-fast-fail>
        false
    </use-fast-fail>
</validation>

g) add the following sub-element to the element of :

org.hsqldb.jdbcDriver

About

Ticket Monster is a web application using the JBoss 7.0 Application Server and the Spring framework. It provides much of the same functionality as the real web-app Ticket Master. Ticket Monster allows users to search for events, view event details, and purchase tickets for events.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors