File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Web services basic implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web services basic implementation" Watch "Web services basic implementation" New topic
Author

Web services basic implementation

prashanth nagaraj
Ranch Hand

Joined: Mar 11, 2002
Posts: 43
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


regards,<br />prashanth nagaraj
Victor Ramen
Ranch Hand

Joined: Jul 14, 2008
Posts: 56
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

Joined: Aug 26, 2008
Posts: 263
Roy is correct. Since generated stubs/ skeleton operate on xml which makes them language independent.


SCJP 1.5(97%) My Blog
prashanth nagaraj
Ranch Hand

Joined: Mar 11, 2002
Posts: 43
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

Joined: Feb 08, 2005
Posts: 362
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
NetBeans.org have some very nice tutorials at: http://netbeans.org/kb/trails/web.html
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web services basic implementation