哪个是生成Web服务客户端的最好的maven插件? [英] Which is the best maven's plugin to generate a Web Service Client?

查看:101
本文介绍了哪个是生成Web服务客户端的最好的maven插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须生成一个WS客户端,我无法决定使用哪个插件。到目前为止,我的选择是:jaxb2-maven-plugin,axistools-maven-plugin和jaxws-maven-plugin。

I have to generate a WS Client and I can't decide wich plugin to use. Until now my options are: jaxb2-maven-plugin, axistools-maven-plugin and jaxws-maven-plugin.

推荐答案


我必须生成一个WS客户端,我无法决定使用哪个插件。到目前为止,我的选择是:jaxb2-maven-plugin,axistools-maven-plugin和jaxws-maven-plugin。

I have to generate a WS Client and I can't decide wich plugin to use. Until now my options are: jaxb2-maven-plugin, axistools-maven-plugin and jaxws-maven-plugin.

首先, jaxb2-maven-plugin 并非真正用于生成WS客户端。消除。

First, the jaxb2-maven-plugin is not really intended to generate WS clients. ELIMINATED.

其次,个人我不会仅使用Axis进行客户端开发,所以我不建议使用 axistools-maven-plugin 。消除。

Second, personally I wouldn't use Axis even for client development only so I won't recommend using the axistools-maven-plugin. ELIMINATED.

这给我们留下了JAX-WS RI和Apache CXF堆栈,以及它们各自的Maven插件: JAX-WS Maven插件(使用JAX-WS Maven插件的说明可以在用法页面)和 cxf-codegen-plugin

This leaves us with the JAX-WS RI and the Apache CXF stacks, and their respective Maven plugins: the JAX-WS Maven Plugin (instructions to use the JAX-WS Maven Plugin can be found on the Usage page) and the cxf-codegen-plugin.

关于利弊,我会这样总结:

Regarding the pros and cons, I would summarize them like this:

最后,两个选项都不错,所以我建议稍微浏览一下这些链接并提出自己的意见。

At the end, both choices are decent so I suggest to browse the links a bit and to make your own opinion.

这篇关于哪个是生成Web服务客户端的最好的maven插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆