|
From: Bill B. <bb...@re...> - 2012-11-16 23:58:57
|
I'll be getting to this soon after I do some security prototyping. But beyond runtime httprequest->POJO mappings, anything more dynamic doesn't belong in JAX-RS. On 11/12/2012 4:20 AM, Stef Epardaud wrote: > This is very import IMO because in the past I've had to write code that produces bytecode > with javassist just for this use-case of being able to add endpoints dynamically, which > is just absurd. > Being able to configure jax-rs resources at run time is very useful for ror-like frameworks > and generally services that are dynamic by nature, such as auto-generated CRUD services for > entities (which is what I worked on). Granted, a similar thing could have been done at > compile-time with APT, but that's not always available (Play Framework doesn't support it). > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |