Java Web Services
Service Oriented Architecture (SOA) is one of the most important software architectures nowadays, Many companies like Google, Microsoft, Amazon, Yahoo, and more, uses SOA to make their services available for the developers to embed them within the applications, and benefit from those services.
Three main components in SOA:
- Service Provider: where the service resides.
- Service Consumer: the client that uses the service.
- Registry: where service definitions are published, allowing service consumers to look up and directly consume the services.
Web service is a way of communication that allows interoperability between different applications on different platforms, and it is based on SOA.
Web Services makes interoperability possible by using xml messaging system, which is understandable by most modern languages.
Java and C# are between the most used languages for creating web services, because of the support they provide for it. IDEs such as Netbeans and Visual Studio also makes it easier to deal with this.
In this video, I implement a java web service, deploy it, test it (Service Provider). then, I create a C# consumer, and call the service from it (Service Consumer).