• Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis 2 Vs Spring Web Services stack

 
kri shan
Ranch Hand
Posts: 1481
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to expose already existing operations as Web Services. Axis 2 stack will create stub and skeleton classes / Spring Web Services will create Endpoints based on XSD - top-down approach. Which is the best web services stack based on performance / features / ease of use ?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you tried using either of the web service stacks you are asking about?
If so, what experience have you had?
Here is a link to a comparison chart comparing different web service stacks: http://wiki.apache.org/ws/StackComparison
Please do not hesitate to share any experience you gain in this area!
Best wishes!
 
kri shan
Ranch Hand
Posts: 1481
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ivan, Thanks for your link - comparison chart comparing different web service stacks(it gives really good information about different WS stacks). But this chart does not include Spring Web Services stack.
 
Turian Vlad
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kri shan wrote:I am trying to expose already existing operations as Web Services. Axis 2 stack will create stub and skeleton classes / Spring Web Services will create Endpoints based on XSD - top-down approach. Which is the best web services stack based on performance / features / ease of use ?


Hi kri shan,
Axis 2 and Spring WS are very different things.
While we use Axis 2 for a contract last web service(that means that you write your business code, annotate it and the contract is generated least), Spring WS is used for contract first ws (the business code comes at the end).

the contract last web services are easier to implement but have some drawbacks.
on the other hand spring ws is really powerfull stuff. you will find more of it's advantages at: http://static.springsource.org/spring-ws/sites/1.5/reference/html/why-contract-first.html

recently th 2.0.0-RC2 version of spring-ws was released which has some important features (including but not restricted to annotation features , oxm features).

Cheers,
Vlad
 
kri shan
Ranch Hand
Posts: 1481
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While we use Axis 2 for a contract last web service(that means that you write your business code, annotate it and the contract is generated least),

We can use Axis for contract first web service too and Spring-WS for contract-last web service too.
 
Turian Vlad
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kri shan wrote:While we use Axis 2 for a contract last web service(that means that you write your business code, annotate it and the contract is generated least),

We can use Axis for contract first web service too and Spring-WS for contract-last web service too.


Is this a question or an affirmation because the Spring-WS developers clearly state that "Spring-WS only supports the contract-first development style", affirmation that you will find in chapter 2, subchapter 2.1 of the spring-ws 2.0.0-RC2 reference manual that comes with the above mentioned distribution of spring-ws.

You can download the distribution from: http://www.springsource.com/download/community

Cheers,
Vlad
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!