I have a huge read-only RESTFUL application built in Spring MVC and Hibernate-Search that marshals some data to json and xml to be consumed for a mobile app and a monitoring application.
Our urls are pretty simple, we have this:
server:port/entity/id/?marshalling=json
or
server:port/entity/id/?marshalling=xml
and sometimes
server:port/entity/id/?marshalling=something&filterProp=entity.prop&ordering=desc
Now I have a requirement to make a presentation layer for this using JSF 2.1 and adding some user admin capabilities and I was thinking in something like this:
server:port/entity/id/?marshall=html
Or omitting entirely the marshall request parameter.
Now. As far as I know, you can only couple JSF 2.1 and Spring Web Flow, not Spring MVC directly. Anyone know how can I accomplish this requirement?