Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web service framework for beginners with tutorials

 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I planned to learn web service and like to know some open source web service framework which has lot of tutorials?. I fond Axis but it does not have detailed tutorial??
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 398
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

As a beginner, try to use an IDE to start your learning. It will be easy to kick-start. Later on, once you get familiarized with the basics you can start doing things on your own way.

See whether you can understand this tutorial. You require Netbeans 6 to try the example.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a beginner, try to use an IDE to start your learning.

No, don't do that. You'll not understand crucial details that you will need to know in order to work with WS.

It's true that Axis doesn't have a tutorial per se, but several books are available, and the Axis site has extensive guides on several aspects of it. You can also work through the numerous samples that come with Axis (and which go with the online guides), especially "userguide" and the various "quickstart..." examples. They come with explanations.
 
phanidharcool kaduluri
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jacob,

If you are just starting on the Webservices take a look at CXF as well.

http://cxf.apache.org/


All the best.
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have similar question.


I am very new to web services. I learned little bit about wsdl, soap and JAX-WS. But I see JAX-WS is still new and not used in many projects. So I decided to learn either AXIS or JAX-RPC. Even though these are considered little old webservices technologies, I find they are mostly used in existing applications.

My question is which book is best to learn AXIS / JAX-RPC ?
Do I also need to learn SAAJ, JAXM , JAXR besides JAX-RPC?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sagar Kale wrote:But I see JAX-WS is still new and not used in many projects.

JAX-WS is a couple of years old, which makes it *almost* a legacy technology in the WS world. It's used in tons of places.

So I decided to learn either AXIS or JAX-RPC. Even though these are considered little old webservices technologies, I find they are mostly used in existing applications.

JAX-RPC is so obsolete that it may actually get removed from JEE, so that'd be a complete waste of time.

Axis is up-to-date with respect to all the major SOAP standards; you can't go wrong with it.

Do I also need to learn SAAJ, JAXM , JAXR besides JAX-RPC?

SAAJ is useful sometimes, but it's low-level, and not as important as JAX-WS. JAXR is little-used; no point looking into it unless you have an actual need (which is unlikely). JAXM isn't much more important in my perception.

For variety, also check out RESTful WS, as implemented by the JAX-RS standard and its Jersey implementation.
 
Suresh Gopi
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get hands-on expericene you can use the following book..

Developing web services with apache Axis 1.4
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for guidance Ulf and Suresh. I would have wasted time learning outdated technology.
I want to learn both contract first and contract last webservices in detail. So which book should I refer to. As Suresh mentioned Developing webservices with Axis 1.4. If someone knows more books/tutorials please tell me.
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 398
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sagar Kale wrote:I would have wasted time learning outdated technology.


learning something never going to be wasted at all. It will help you somewhere in your life...

All the best for your learning...
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mourouganandame Arunachalam wrote:
Sagar Kale wrote:I would have wasted time learning outdated technology.


learning something never going to be wasted at all. It will help you somewhere in your life...

All the best for your learning...


I did not mean that way.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
learning something never going to be wasted at all. It will help you somewhere in your life...

I disagree. A human brain can not hold all the knowledge that exists in this world. If learning something that has no value (because it's obsolete) causes some other piece of knowledge to be forgotten, then that's a bad trade-off. It also takes time that might more usefully be spent on other things.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you interest RESTful Web Services, try Jersey, the JAX-RS reference implementation.
RESTful Web Services are much simpler than SOAP Web Services.
 
Lalit Bhatt
Ranch Hand
Posts: 69
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See some tutorials in the webservice section of http://www.oyejava.com
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to thank very much to Ulf,Suresh,Kengkaj & Lalit.

I managed to get "Developing web services with apache Axis 1.3" book, but it is little old book and does not cover axis2, but still ok. I have started playing around with simple web services now.
About learning Restful web services, does Jersey has good documentation, books?
 
Masrudyn Main
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to web services too and currently working on a project using JAX-WS.

I used the book Java Web Services: Up and Running, 1st Edition by Martin Kalin as my starting point. A very good read for beginners with even a chapter on RESTful Web Services.

Hope that helps.
 
Lalit Bhatt
Ranch Hand
Posts: 69
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sagar,

I would strongly recommend not to go for Axis 1.3 or for any Axis 1.x version.
Axis 2 is vastly different from Axis 1.3
I would suggest either to go for JAX-WS or Axis 2.
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to Masrudyn and Lalit.

Lalit,
I have learned little about JAX-WS and After reading Axis-2 Users Guide, I have realized Axis 2 is different from Axis 1.3. So right now I am following Axis2 users guide.

Thank you very much.
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am learning Axis2 for getting job. So

I just wanted to know in real project using Axis2.
1) Which data binding is mostly used ADB,XMLBeans or JiBX.
2) How services and clients are normally coded, are they coded using Code first or Contract first.
3) I have learned how to generate service skeleton code and client code(for development and testing) from WSDL, is same way followed in real application development?
4) Do I also need to learn AXIOM API to work with Axis2 ?

Please guide me.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic