This is a complete Java Rest Example using Jersey in a simple application