• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A question related to creating java based webservices

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am completely new to web services .please help me in learning that .

I heard that there are actually two approaches for developing java based web services
1. JAX -WS 2. JAX -RPC .

I am question here , where does Apache Axis stand here ?? Is it related to any of these two ??

Thank you .
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JAX-RPC is obsolete, don't use it for anything new; JAX-WS is the future.

Axis 1 implements JAX-RPC, but not JAX-WS.

Axis 2 implements JAX-WS, but not JAX-RPC.

Both implement SAAJ (another, more low-level, API for implementing WS in Java).
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much .

Do we get any advantage if we use Axis 2 directly instead of Jax - WS .

Also read that to use JAX -WS we need java 1.6 version or more .Is this true ??
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Do we get any advantage if we use Axis 2 directly instead of Jax - WS .


JAX-WS is an API, while Axis 2 is an implementation of that API. So the choice is not between Axis 2 and JAX-WS, it is between Axis 2, Metro, and all the other existing JAX-WS implementations (the differences of which you can look up on their respective web sites, or search for the recent discussion on that subject in this forum).

Also read that to use JAX -WS we need java 1.6 version or more .Is this true ?


No. Java 6 includes JAX-WS and JAXB, but those libraries can be downloaded and added to Java 5 as well.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
simply Great .Thank you .
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

No. Java 6 includes JAX-WS and JAXB, but those libraries can be downloaded and added to Java 5 as well.



Hi ,

I am using java 5 version . Now i want to use wsimport , can you please tell me what are jar files i need to download to support this option .
waiting for your reply .
Thanks
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JAX-WS and JAXB can both be found on dev.java.net.
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic