The Server Side code for Hout. Written in Java for JBOSS AS 7