split samples into 2 projects, one jar and one war
add RestWebApp sample