Play framework practice with java