Re:A Sinatra-inspired micro web framework for Java
by meddlepal on Thursday September 12, 2013 @07:59AM
(#6373476)
Why would you want that feature? Also I'm pretty sure nothing about jaxrs annotations prevents such a thing from being possible but the servlet container may get in your way of doing it easily.
[ Parent
| on HN ]
Re:A Sinatra-inspired micro web framework for Java
by penrod on Thursday September 12, 2013 @01:36PM
(#6375548)
Why would you want to procedurally generate routes or verbs? I dunno, perhaps there might be a use case where one would want to define them in configuration or a database. But being able to do something like this is not a "feature," it's just the inherent flexibility of expressing semantics in code.
Why would you want an API that breaks the flexibility of code by forcing it to be glorified XML?