Samples implemented in Java EE