ImageService with rest services based on JBoss 7.1  with easyRest