views:

109

answers:

2

Anyone knows a good tutorial about web services implementation on the eclipse?

+2  A: 

You can use Eclipse WTP (the Web Tools Platform)

WTP Tutorial with Tomcat

Using Apache Axis2, you can do it either Top-down or Bottom-up

nzpcmad
+2  A: 

Eclipse 3.5 supports Axis 2 for historical and (IBM related) political reasons and I strongly recommend to stay away from it. I case you wonder why, here are a few reasons:

  • I consider it as a low quality project.
  • I hate its container-like architecture (and the packaging hell resulting from it).
  • It doesn't even perform well (see this benchmark).
  • There are IMO much better JAX-WS stacks such as JAX-WS RI or Apache CXF.

And this is not an isolated opinion, see Axis2: Why bother?. Yes, this post is a bit old but I suffered too much and I'm not going to give it a second chance. And the fact that Eclipse is (still) supporting it is not an excuse (that's more a root cause of the problem, Axis would already be dead without IBM influence). Let's face it, Eclipse 3.5 out-of-the-box WS support currently sucks hard, period.

The good news is that things are moving and Eclipse is (finally) providing JAX-WS support (Apache CXF is the chosen implementation). To enable it, you will have to install the JAX-WS Tools Component which is part of the WTP 3.2.0 (the alternative would be to use Eclipse 3.6).

And here are some video clips showing you how to create and deploy Bottom-Up and Top-Down Web services using JAX-WS Tools.

Pascal Thivent