• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Setting up for web services

 
Ranch Hand
Posts: 507
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

...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.
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Bartender
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 2
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic