• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Web services basic implementation

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been in this IT industry(JAVA J2EE) since long time, but did not get a chance to work on Web services. I am aware of the architectural concepts but not too sure about the implementation part. I know there are lot of implementations, but not sure which is the right one.

1. Can you please suggest some good links to start with good examples?

2. In the same line, I have some doubts regarding the usage of stubs and skeletons in web services? My understanding is stubs and skeletons are used only when both client and server are implemented in same technology. For ex; RMI for java.
I do come across references for stubs/skeletons in web services/SOAP too.. What if the consumer and producer in webservices are in different technologies. Does stub/skeleton still works here or is it really required as part of web services?

thanks,
Prashanth
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have basic knowledge of web services, but here is what I understand:

For point # 2 : Client side stub is generated on basis of WSDL file. This WSDL file is language independent. i.e. If web service is implemented in C or .NET, it will still generate a WSDL file. The J2EE tools can generate a java stub based on this WSDL file.
So as we can see, we can have stub/ skeleton architecture even if the client and server are in different technologies (by using WSDL file as medium of communication)

Hope this helps
Roy
 
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Roy is correct. Since generated stubs/ skeleton operate on xml which makes them language independent.
 
prashanth nagaraj
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the above replies. But also wanted some links on the examples as asked in question1. Request you to share the same

regards
Prashanth
 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

prashanth nagaraj wrote:Thanks for the above replies. But also wanted some links on the examples as asked in question1. Request you to share the same

regards
Prashanth



I've been using XFire (now CXF) for some time to develop Swing to Web webservices and Swing to Swing webservices. As it supports its own embeddable webserver.

http://xfire.codehaus.org/
http://cxf.apache.org/
 
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!
NetBeans.org have some very nice tutorials at: http://netbeans.org/kb/trails/web.html
Best wishes!
 
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic