Changes to be able to deploy run in Glassfish.
Changed a few properties from Integer to Long in Auction because of Derby.
Realm needed Jaxb annotations because of Moxy, JSON marshaling and also dedicated getters and setters.
EclipseLink does not support Java 8 streams, workaround convert IndirectList to ArrayList.