Java EE7 sample