4 ms·
Agreed, Per Wendel the creator of Spark explains here too: http://www.sparkjava.com/why.html http://www.sparkjava.com/why.html I have done JAX-RS, for small w
by jebblue 13y ago
Agreed, Per Wendel the creator of Spark explains here too:
http://www.sparkjava.com/why.html http://www.sparkjava.com/why.html
I have done JAX-RS, for small web apps where you aren't trying to build in the kitchen sink, Spark is looking nice. Spark doesn't seem to be trying to replace JAX-RS, it seems to just be making the syntax a bit easier and doing lightweight REST in a way I find unique and really applicable to small web apps. He uses plain Java main.
- pron 13y agoYou can use a plain Java main with JAX-RS, too (when using an embedded server like, say, Jetty – just like Spark). Dropwizard does exactly that. Well, I don't know... I'm sure Spark is great, but dropping a widely accepted, well established and quite liked standard just for an arguably "bit easier" syntax (especially when there haven't been any major complaints about the standard syntax) seems like the wrong tradeoff. I would have loved a JAX-RS implementation with other compelling features like performance, monitoring etc. Another good JAX-RS implementation is always welcome.