aspose file tools*
The moose likes Web Services and the fly likes Setting up for web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Setting up for web services" Watch "Setting up for web services" New topic
Author

Setting up for web services

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

Hi,

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..
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3825

...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.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

Vijitha Kumara wrote:
...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: 2408
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
Greenhorn

Joined: Nov 25, 2011
Posts: 2

Use can use framework API that are build on basic API's to assist in rapid development

For SOAP based services - use AXIS or CXF
For REST based services - use Jersey

Also have a look at Metro toolkit - RI for plain JAX-WS.


http://arraylist.blogspot.com
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
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!


My free books and tutorials: http://www.slideshare.net/krizsan
Alpha Omega
Greenhorn

Joined: Jan 09, 2011
Posts: 7
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
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting up for web services