Up until now I've been using JAX-RS to define my REST api (via amdatu web), but have just encountered osgi.enroute.rest.
However I can find very little information, beyond the single page description on the enRoute website, and the accompanying example.
What are the considerations with regard to which to choose? At first sight the most obvious issue with osgi.enroute.rest is the simple serialization and deserialization that is performed, I can't do complex polymorhpic tree serialization like I can with JAX-RS and jackson (well I think I probably can if I make my return types byte[], but it seems much harder work, don't know about passing a body in on POST/PUT).
What are the advantages? The page on the enroute website makes some references to security, but without much explanation.
Thanks.