• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up for web services

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • 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...
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • 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
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • 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.
 
Tim Moores
Bartender
Posts: 2839
46
  • Mark post as helpful
  • send pies
  • 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.
 
Java Savvy
Greenhorn
Posts: 2
Java
  • Mark post as helpful
  • send pies
  • 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.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • 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!
 
Alpha Omega
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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
  • 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic