↓ Skip to main content

WS-Notification

·2 mins

Continuing my series of posts on new functionality in WebSphere Application Version 6.1, today I’m looking Web Services Notification (WS-Notification). For those with a messaging background, WS-Notification basically provides publish/subscribe capabilities for Web services i.e. a one-to-many relationship between client and service.

There are three parts to the specification:

  • WS-BaseNotification describes interfaces required for a NotificationProducer and NotificationConsumer to communicate. It also introduces a SubscriptionManager (to administer active subscriptions) and a PullPoint (to enable a client to poll for notifications)
  • WS-Topics defines three dialects for classifying notification events:
    • Simple - a simple URI e.g. tns:football
    • Concrete - which adds topic hierarchies e.g. tns:sport/football
    • Full - which also adds wildcarding e.g. tns:sport/*
  • WS-BrokeredNotification introduces the concept of a NotificationBroker which intermediates between producers and consumers.

The implementation of WS-Notification for WebSphere Application Server builds on the publish/subscribe support in the service integration bus. This provides interesting possibilities (such as having a Web service subscriber to a JMS producer or vice-versa) as well as inheriting the scalability and high availability properties of the bus. A WS-Notification service is defined on a bus and then service points added to bus member. It is also possible to create static mappings between WS-Notification topic space URIs and service integration bus topic spaces, and administratively define subscriptions which are created on server start up.

Matt Roberts, the Hursley-based architect and team lead for the WebSphere Application Server implementation of WS-Notification, gave a very informative presentation to the UK WebSphere User Group. You can read more about other Web service enhancements in Version 6.1 in the developerWorks article by my ISSW colleague Saravana Chandran.

Related

Message ordering

·3 mins
One subject that keeps cropping up with customers is the subject of message order. Now I’ll say up front, having a requirement to maintain the order of messages in an application is a bad thing. If messages can’t be processed in parallel due to ordering constraints then the resulting application is unlikely to scale and high availability will be difficult to achieve. This, however, doesn’t seem to stop people wanting it, so here’s a few things you should know about message order and the service integration bus.

Tightened bus security

·1 min
Another area of the service integration bus which has seen some significant changes in WebSphere Application Server Version 6.1 is that of security. For starters, the option for bus security has always been checked by default but it is only enforced when global security is enabled. To reduce the confusion, this option is now greyed out in the administration console if global security is not enabled.

Eight whole years

·2 mins
Not to be outdone by Andy and Richard, today is the eigth anniversary of my joining IBM. Eight whole years… that’s longer than I was at secondary school for! Here goes with a little jaunt down memory lane…