File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web services basic implementation

 
prashanth nagaraj
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Victor Ramen
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
shivendra tripathi
Ranch Hand
Posts: 263
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • 0
  • Mark post as helpful
  • send pies
  • 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/
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
NetBeans.org have some very nice tutorials at: http://netbeans.org/kb/trails/web.html
Best wishes!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic