Java EE sample