concept web service in category osgi

This is an excerpt from Manning's book OSGi in Action: Creating Modular Applications in Java.
Finally, the service layer supports and promotes a flexible application programming model incorporating concepts popularized by service-oriented computing (although these concepts were part of the OSGi framework before service-oriented computing became popular). The main concepts revolve around the service-oriented publish, find, and bind interaction pattern: service providers publish their services into a service registry, while service clients search the registry to find available services to use (see figure 1.6). Nowadays, this service-oriented architecture (SOA) is largely associated with web services; but OSGi services are local to a single VM, which is why some people refer to it as SOA in a VM.
This is it: the last chapter. We hope that throughout the course of this book, we’ve been able to convince you that OSGi technology is fairly easy to use and extremely powerful. This final chapter touches on an area that we haven’t covered yet but that is hugely important to many modern developers: web applications and web services. We’ll show you how to build and deploy web applications using OSGi, and the benefits this technique can bring to traditional web-development frameworks. You’ll reuse a lot of knowledge from earlier in the book to build a dynamic, distributed OSGi application.
Web-related technologies are ubiquitous. Almost all organizations and many individuals have some form of web presence, whether via social networking sites, static HTML pages, simple one-tier web applications, medium-sized n-tiered architectures, or massive global behemoths. Developers of these types of systems are familiar with a number of key technologies, including web services for back-end communication between business tiers and web applications for user interaction via a browser.