I am very much new to web services. I know I have to install "JAVA Web Services Developer Pack", but JUST installation is enough? Do I have to set any classpaths? Please help...
Are you better than me? Then please show me my mistakes..
...but JUST installation is enough? Do I have to set any classpaths?
That depends on what you do and how you do it etc... I suggest you start with a basic tutorial then you'll see what you need as you work with them. You will find the instructions for the JWSDP 2.0 here.
...but JUST installation is enough? Do I have to set any classpaths?
That depends on what you do and how you do it etc... I suggest you start with a basic tutorial then you'll see what you need as you work with them. You will find the instructions for the JWSDP 2.0 here.
Thanks for the help.. I appreciate it a lot.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
Don't use the JWSDP, it's way obsolete. Get a hold of the Metro toolkit and you're all set to develop JAX-WS services. Or get the Jersey library to develop RESTful WS using JAX-RS; REST is more popular than SOAP these days and easier to get started with.
Java Savvy wrote:Also it makes more sense to use Metro toolkit instead of use plain JAX-WS.
Metro is a web service stack and it is the reference implementation of JAX-WS.
If you want to use JAX-WS, I fear that the only thing the specification in itself is useful for is reading. It is an interesting read, though!
Best wishes!
Wait guys....
I thought you don't need anything other than JDK 6 to implement JAX-WS. In fact, i can build a JAX-WS service and run it just by using JDK 6.
To generate client artifacts, you are good with JDK 6 too.
Only for JAX-RS you need to download its implementation (Jersey is the one i have been using from a year or so)
Well, i understand that for production ready systems you will need an application/web container but just for hands on and to understand/learn web services, i dont think we need anything special other than JDK.
Please validate as i might be wrong...
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
posted
0
Hi!
Nope, you are absolutely correct - the only thing you need to develop JAX-WS web servces is Java SE 6 or later. You may not get the latest versions of, for instance, JAXB and Metro, but for most cases, it should suffice.
Best wishes!