1) Tests added
2) The XML methods were removed from services.java
3) All unnecessary comments were deleted
4) The "getOffersWithCertainDisc" method was renamed to "getOffersByDisc"
5) "order by offer.offerId was added to some queries
6) javax version changed from 6.0 to 7.0 at pom.xml