aspose file tools*
The moose likes Beginning Java and the fly likes Difference between Web Services and an API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Difference between Web Services and an API" Watch "Difference between Web Services and an API" New topic
Author

Difference between Web Services and an API

Rajkumar Masanaiyan
Greenhorn

Joined: Sep 17, 2011
Posts: 24
I was going through the SOA page in wikipedia and came cross the following snippet. The highlighted text below implies that SOA defines interfaces that are different from API. Can someone explain what API means in this context and provide an example or two?

----snip----
SOA defines how to integrate widely disparate applications for a Web-based environment and uses multiple implementation platforms. Rather than defining an API, SOA defines the interface in terms of protocols and functionality
----snip----

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14268
    
  21

I think that in that particular context, with "API" they mean specific interfaces and / or classes as you would have in Java.

The text says that the interface is not defined as a set of Java interfaces and / or classes, but just in the form of a description of protocols and functionality. How these protocols and other functionality is implemented is not described in detail.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between Web Services and an API