simple rest example

we can access
/rest/greeting spring-rest
and 
/index.xhtml jsf