带有 Spring 3.0 的球衣?球衣、Spring

2023-09-06 15:18:03 作者:我与影子孤独终老i

我看到有些人正在使用带有 Spring 的 Jersey.在 Spring 3.0 中,现在可以使用注释直接在控制器中创建 RESTful API.为什么我应该考虑使用带有 Spring 的 Jersey?

解决方案

Jersey 优点:

带有规范JSR 311 JSR 311 的参考实现Restlet 和 RESTeasy 是 JSR 311 的其他实现更好的工具(至少在 Netbeans 上)它与 Spring 和 Guice 集成那不勒斯发布2021 22赛季第二客场球衣

编辑

Spring MVC 和 JAX-RS 的一个(非常好的)比较p>

I see some are using Jersey w/ Spring. With Spring 3.0 there are now annotations available to make RESTful APIs directly in a controller. Why should I consider using Jersey w/ Spring?

解决方案

Jersey pros:

comes with specifications JSR 311 reference implementation for JSR 311 Restlet and RESTeasy are other implementations for JSR 311 better tooling (at least on Netbeans) it is integrated with Spring and Guice

EDIT

A (very nice) Comparison of Spring MVC and JAX-RS