REST practice with Maven and Spring