目前我正在评估 Java 中的 Web 服务框架的数量.我需要 Web 服务框架来帮助我公开在 JBoss 上运行的现有应用程序的一些功能,该应用程序主要使用 Spring 和 POJO(无 EJB)开发.
Currently I am evaluating number of web service frameworks in Java. I need web service framework that will help me to expose some functionality of existent application running on JBoss, The application is mostly developed using Spring and POJOs (no EJBs).
我需要的是一个具有以下属性的框架:
What I need is a framework having following properties:
我已经简单检查了
但仍然很难决定在我的情况下使用什么:
But still it is difficult to decide what to use in my case:
我需要您对其中一些在实际应用程序中的使用提出意见和经验.
I need your opinion and experience about usage of some of them in a real-world applications.
我已经使用 CXF 的前身 XFire 有一段时间了,感觉还不错.当时,我们从 Axis 迁移的主要原因有两个:性能和易于开发.在当时(不知道现在是不是这样),XFire 的性能比市面上的任何东西都要好得多,并且通过注释驱动的开发,不必运行存根生成,添加新的真的很容易网络服务.
I've used CXF's forerunner, XFire, for a while now and it's not been too bad. At the time, we migrated from Axis for two major reasons: performance and ease of development. At the time (don't know if this is true now), the performance of XFire was much better than anything out there, and with annotation-driven development, instead of having to run stub generation, it was really really easy to add new web services.
CXF 似乎更加相同但更好 - 由于开发时间的限制以及没有迫切的理由这样做(加上 6-12 个月前相对缺乏文档是不太令人鼓舞).此外,我最近还没有真正评估过市场,所以我无法告诉你 CXF 如何与当代竞争对手抗衡.
CXF seems to be more of the same but better - we haven't migrated yet due to constraints on development time as well as not having a pressing reason to do so (plus the relative lack of documentation 6-12 months ago wasn't too encouraging). Additionally I haven't really evaluated the market of late, so I can't tell you how CXF stands up to its contemporary competitors.
关于你的观点:
所以我可能有点不偏不倚,因为我没有尝试过其他的,但我会竖起大拇指看看 CXF.如果您需要调整它,它非常快、相对简单并且相当强大.
So I'm probably a little impartial as I haven't tried the other ones, but I'll give a thumbs up to having a look at CXF. It's pretty fast, relatively simple to get going with and fairly powerful if you need to tweak it.
这篇关于Java Web Service 框架/库,哪个更好,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!