Changes to source to allow it to run on standalone JBoss AS7 instance. Development work still needed around MySQL DS and EJB lookups (to be more  generic).