• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Learning jax-ws what should one know?  RSS feed

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody ,
I have learnt jax-rpc and have seen how other technologies like XML, JAXP, JAXB, SAAJ, JAXR play a significant role in the background to exchange SOAP messages between the Requester and the Provider. I have written example programs and run them on weblogic8 server using hibernate as ORM. The example program is running fine.

Is it necessary to be proficient at XML, JAXP, JAXB, SAAJ, JAXR? I know a little bit of JAXP and while writing the example program I saw It was not needed explicitely ,things were done at the background by the tools.

Another question is : every other server uses its own way of creating webservices and client generation, deployment of the service ; for instance weblogic8 does it in a way using servicegen and clientgen options , the Apache axis does it in a different way. Is there a way to create the services and generating clients be done in a vendor independent way?

What is the most widely used way of generating Webservices ( Axis server tools, or Java's own wsgen tool or any other )

I am now keen to learn JAX-WS. what are the things one should need to know and how is it different from JAX-RPC? Can you refer any good ebook or tutorial for learning jax-ws?

Thank you very much
Brendon
 
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe, nowadays, choosing a goot webservices development framework (for example AXIS2) or tool will allow you to achieve your business needs.
 
Brendon Woodford
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is it necessary to be proficient at XML, JAXP, JAXB, SAAJ, JAXR? I know a little bit of JAXP and while writing the example program I saw It was not needed explicitely ,things were done at the background by the tools.

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
JAX-WS is extension to JAX-RPC introduced in JEE1.5. And from Java1.6 onwards We can develop JAX-WS webservices using JDK itself. JAX-WS internally uses JAXB and SAAJ APIS.


What is the most widely used way of generating Webservices ( Axis server tools, or Java's own wsgen tool or any other )?

Ans: Mostly we use AXIS, CXF webservice engines to generate webservices.

Is it necessary to be proficient at XML, JAXP, JAXB, SAAJ, JAXR? I know a little bit of JAXP and while writing the example program I saw It was not needed explicitely ,things were done at the background by the tools.
Ans: It is good to have some knowledge on above mentioned APIs to understand JAX-WS.

Is there a way to create the services and generating clients be done in a vendor independent way?
Yes we can do it. From Java1.6 onwards to create webservices we dont require any webservice frameworks.JAX-WS is part of JDK it self.


Thanks,
Babaprakash


 
Brendon Woodford
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Prakash

you wrote-

Yes we can do it. From Java1.6 onwards to create webservices we dont require any webservice frameworks.JAX-WS is part of JDK it self.



Developing webservices using jdk1.6 requires the service be placed in an application server. Which server do we use? An Axis2 server? or any other like Weblogic 10?
These Servers have their own way of deploying the webservice generated by their own webservice generating tools. How do we deploy jdk1.6 generated webservice in the app servers?
 
Ranch Hand
Posts: 1512
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depending on which you are using , you just nerd to check thee documents regarding deploying webservices. Also, if you are using an IDE such as eclipse, there if cm AXIS plugin that you can download that will aid in development.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
take a look at Axis2 you can deploy the Axis2.war file on most servers and then you can the the axis2 admin console to deploy your web services
which means that the deployment is axis specific but not server specific (so if you must change server your web services should be unaffected).
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Baba prakash wrote:JAX-WS is extension to JAX-RPC introduced in JEE1.5.


No. JAX-WS completely replaces JAX-RPC, and it is independent of JEE - for example, you can use it in a servlet container.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!