WAS v8.5 > WebSphere applications > Web services > WS-Notification

WS-Notification: Benefits

WS-Notification enables web services to use the publish and subscribe messaging pattern. This approach offers many business benefits.

WS-Notification provides a standardized approach for web service applications to participate in the publish and subscribe messaging pattern, whether this be listening for notification of a particular event occurrence, or inserting event notifications into the system for consumption by other applications or system management tooling. The open-standards nature of this web services specification mean that applications can communicate with each other irrespective of the underlying hardware platforms, software languages or vendor environments. The WS-Notification implementation in WebSphere Application Server supports the WS-Notification standards, complies with the WS-I Basic Profile 1.0 requirements, and composes with other related standards such as WS-Addressing for High Availability and Workload Management, and WS-ReliableMessaging for reliable communication between components.

Within WAS, the NotificationBroker is implemented to provide flexible support for enterprise topologies including high availability and work load management patterns. This support for WS-Notification also allows interchange of event notification between WS-Notification applications and other clients of the service integration bus. By exploiting other service integration bus functions we can also use this function to interchange messages with other IBM publish and subscribe brokers such as WBI Event Broker or Message Broker.

Rather than receiving all messages on a topic to which we have subscribed, your consuming application can use XML Path (XPath) selectors to filter the messages based upon the contents of each message. This content-based subscription gives you greater flexibility in defining the type of information to receive, and the applications do not need to handle their own filtering. Performance is improved because messages that are not relevant are not sent unnecessarily from the server to the application.

WAS offers two WS-Notification service and service point options:

The v7.0 WS-Notification option allows you to use web services-based publish/subscribe messaging in a reliable way, through a standards-based connection mechanism, in an environment where network connectivity is not always available. For example, to use the Internet to send warehouse or stock level notifications to remote customers, ensure that messages reach customers reliably so they have accurate stock levels for sales and production planning. We can achieve this by composing JAX-WS based v7.0 WS-Notification services (for stock level notification) with WS-ReliableMessaging (to ensure reliable delivery of notifications).

The main benefits of a v7.0 WS-Notification service over a v6.1 WS-Notification service are as follows:


Related concepts:

WS-Notification


Related


Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification


Reference:

WS-Notification troubleshooting tips

Events and service-oriented architecture: The OASIS Web Services Notification specifications

OASIS Web Services Notification (WSN) technical committee


+

Search Tips   |   Advanced Search