• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Jax-ws and apache axis

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a newbie question. Can you tell me the difference between jax-ws and apache axis. Is it possible to build web services just using jax-ws and not apache axis. What would be advantages and disadvantages.

Thanks.



 
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sue

You can develop web services using either JAX-WS or Apache Axis.

Both libraries are an implementation of XML-based web services using the Simple Object Access Protocol (SOAP).

As I have never used Apache Axis, I cannot comment on its advantages but a disadvantage in using it is that you are then tied to using tomcat as your application server.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sue,
The Advantatages building a webservice in Axis2 is
A new XML processing model
A messaging-based extensible core
An improved deployment model
Pluggable data binding support
Asynchronous and synchronous Web services invocation
To know more in detail on above please refer this link http://dev.aol.com/axis2-next-generation-web-services
Apart from these i personally felt , Axis2 has easy ways to implement security over jax ws.

Hi James, Any security example(specifically on encryption) in Jax WS is appreciated.
 
Bartender
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

James Boswell wrote:Both libraries are an implementation of XML-based web services using the Simple Object Access Protocol (SOAP).


No. JAX-WS is not a library, it is a specification for which several implementations exists: The JAX-WS reference implementation (generally used in the shape of the Metro library), Axis-2, JBossWS, and some others.

As I have never used Apache Axis, I cannot comment on its advantages but a disadvantage in using it is that you are then tied to using tomcat as your application server.


No. Axis-2 is a Java web app like any other - it can be run on any server that includes a servlet engine: Tomcat, JBoss, Resin, WebSphere, WebLogic etc.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Sridhar has posted gud advatages of Axis2 . Would like to 2 more points to that

1) Extensible Nature of Axis2[/size]In Axis2, there are many ways to extend the functionalities
Service extension of the module
Custom deployers
Message Receivers

2) Support for In-Only and In-Out message exchange patterns (MEP)
 
Tim Moores
Bartender
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As I pointed out, the comparison of JAX-WS and Axis-2 is not valid - one is a specification, one is an implementation. So it's entirely unclear what Sridhar Thatipatri and Ayyadapu Sunitha are comparing.
 
James Boswell
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tim

I take your point. I guess when people refer to JAX-WS, I automatically think of the core Java web service classes as its own library which as you have pointed out, is not correct.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic