This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
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?
I believe, nowadays, choosing a goot webservices development framework (for example AXIS2) or tool will allow you to achieve your business needs.
S.D. MADHAN
Not many get the right opportunity !
Brendon Woodford
Ranch Hand
Joined: Jan 22, 2010
Posts: 53
posted
0
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.
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
Joined: Jan 22, 2010
Posts: 53
posted
0
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?
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.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
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).