开发者

Eclipse vs Netbeans Web Service Tooling

开发者 https://www.devze.com 2022-12-25 08:08 出处:网络
Some time ago (~4-5months ago) I attented a lecture about Java EE and at some point the lecturer started talking about webservices and how hard it is to create a good one because all the IDEs make the

Some time ago (~4-5months ago) I attented a lecture about Java EE and at some point the lecturer started talking about webservices and how hard it is to create a good one because all the IDEs make them in a bit different way (or something like that) and that in general it's better to use Netbeans to create them as Eclipse has some issues, the thing is he didn't really say why Eclipse is bad. Now I'm wondering is what he said true and why, is it really better to use Netbeans for webservices and w开发者_StackOverflow中文版hy?


Well, if you want to generate a client based on the totally outdated Axis stack or to use the not so much better Axis 2, Eclipse helps a bit. But if you want to use JAX-WS and advanced standards from WSIT for Reliable Messaging, Security, Policy, etc, there is just no competition. NetBeans has very good support (understand must have wizards), lots of tutorials, documentation, samples, etc while Eclipse has nothing.

The problem is that Eclipse is supporting and promoting Axis for too long (mostly for badpolitical reasons IMO). Things may change in the future with the support of Apache CXF in Eclipse but for now, NetBeans is better for web services development.

Don't misinterpret me, I like Eclipse, but when it comes to JAX-WS web services development, NetBeans is the right tool for now.


We have an enterprise application that uses webservice (WS), and most of our colleagues use eclipse (I use Intellij, but that has nothing to do with WS).

Anyways, we have no problems, and the reason is we don't use IDE for anything that is specific to WS. We use tools like JBossWS, SOAP-UI etc. to handle what could be thought of WS specific tasks.

I believe THIS is an altogether better approach; To use whatever third party tools that is good, and to not depend too much of Eclipse/Netbeans specific functions.

We also use maven for dependency management instead of the eclipse's build-in one, and it was a very good idea. We don't need eclipse to build stuff, we can integrate the project without hassle into a CI (Continuous Integration) server, and I get to use my favorite IDE Intellij.

If we want to out-source something, this is very handy because we don't have to care what plugins they are using. Just say that it is a maven project, give them the source, and they are good to go.

To summarize, my advice is to make it so that you get to choose whatever IDE you want to use.


I write web services at work and have used Axis2/jaxws and Apache CXF(our defacto now) with eclipse. I don't use plugins or any thing like that. Everything is driven through ANT, and soon to be Maven. Have absolutely no problems, and also don't have to deal with all the bloat that is Netbeans.


It bears repeating that the term "web services" need not be synonymous with SOAP and WSDL. You always have REST available to you, if you're willing to pass on the tools that the WS-* group is peddling. IDEs and tools and wizards mean a lot less if you take that approach.

I think it's part of the reason why the WS-* approach has gone as far as it has, in spite of the bloat: tool vendors love it.


If you are to use Oracle as back end and JSF as front end, go with OEPE. Great tool for integration of Glassfish and Eclipse.

0

精彩评论

暂无评论...
验证码 换一张
取 消