9

Of the JAX-RS implementations it seems RestEasy is the most difficult to get help for. If you look at the mailing list archive for the project at SourceForge you will notice almost none of the questions are answered or at least I have not seen one that was answered. On the JBoss community site there is very little discussion regarding the project.

Is it an unwanted child? I am starting to think it was a mistake choosing it as the JAX-RS implementation for our projects.

4

2 回答 2

4

这是一个很好的实现,但是因为这是 JBOSS (RED),他们想要钱来获得支持,因此没有支持。由于它支持 JAX-RS 规范,因此应该很容易切换。只需一点点努力:-)

于 2011-04-03T09:29:39.873 回答
0

Resteasy 在 Providers 的查找方式上存在问题。就我而言,我的 REST-Client 必须是 WAR1(部署在 server1 上)与部署在服务器 2 上的 WAR2 中的 RESTful 实现进行通信。

我遇到的最大问题是 ResteasyProviderFactory 尝试扫描所有 jar 中的 Providers 并注册它们。IO 操作(Classloader 上的 getResource())锁定了服务器进程中的几个 JAR 文件,因此取消部署 WAR1(客户端)失败

希望这可以帮助

于 2012-09-01T15:10:25.147 回答