Publish/subscribe mechanism for web services
First Claim
1. A computerized method for managing events in a web service environment, comprising:
- receiving at a web service process on a computer system from a subscribing application a request for a subscription to desired events in an event class in an associated catalog namespace of a catalog repository, the subscription request including an event filter to select the desired events from a plurality of events described by the event class;
registering, by the web service process on the computer system, an event listener associated with the subscribing application;
processing, by the web service process on the computer system, through the event filter an event which is received from an event source and is described by the event class, the event received through an event gateway from the event source over the Internet through an Internet protocol;
notifying, by the web service process on the computer system, the subscribing application of the received event through the registered event listener, if the received event matches the event filter; and
forwarding the received event through a local messaging protocol to a local subscriber if the received event matches an event filter included in a subscription request of the local subscriber.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for managing events in a web service environment is provided. A request for a subscription to desired events in an event class in an associated catalog namespace of a catalog repository is received from a subscribing application. The subscription request includes an event filter to select the desired events from a plurality of events described by the event class. An event which is received from a web evens source and described by the event class is processed through the event filter. If the received event matches the event filter, the received event is forwarded to the subscribing application through an event listener associated with the subscribing application.
-
Citations
16 Claims
-
1. A computerized method for managing events in a web service environment, comprising:
-
receiving at a web service process on a computer system from a subscribing application a request for a subscription to desired events in an event class in an associated catalog namespace of a catalog repository, the subscription request including an event filter to select the desired events from a plurality of events described by the event class; registering, by the web service process on the computer system, an event listener associated with the subscribing application; processing, by the web service process on the computer system, through the event filter an event which is received from an event source and is described by the event class, the event received through an event gateway from the event source over the Internet through an Internet protocol; notifying, by the web service process on the computer system, the subscribing application of the received event through the registered event listener, if the received event matches the event filter; and forwarding the received event through a local messaging protocol to a local subscriber if the received event matches an event filter included in a subscription request of the local subscriber. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. One or more computer-readable non-transitory storage media embodying software this is operable when executed by one or more computer systems to:
-
receive from a subscribing application a request for a subscription to desired events in an event class in an associated catalog namespace of a catalog repository, the subscription request including an event filter to select the desired events from a plurality of events described by the event class; register an event listener associated with the subscribing application; process, through the event filter, an event which is received from an event source and is described by the event class, the event received through an event gateway from the event source over the Internet through an Internet protocol; notify the subscribing application of the received event through the registered event listener, if the received event matches the event filter; and forward the received event through a local messaging protocol to a local subscriber if the received event matches an event filter included in a subscription request of the local subscriber.
-
-
16. An apparatus for managing events in a web service environment, comprising:
-
a processor; a catalog repository comprising one or more catalog namespaces; and a publish/subscribe web service including a subscription management component and an event processing component, the publish/subscribe web service being embodied on a computer-readable medium and having instructions for causing the processor to perform operations comprising; receiving at the subscription management component from a subscribing application a request for a subscription to one or more desired events in an event class in a catalog namespace of the catalog repository, the subscription request including an event filter to select the one or more desired events from a plurality of events described by the event class; registering, by the subscription management component, an event listener associated with the subscribing application; and processing, by the event processing component, an event which is received from an event source, and, if the received event is described by the event class and matches the event filter, notifying the subscribing application of the received event through the registered event listener; and an event gateway, wherein the event processing component is operable to; receive the event through the event gateway from a web event source over the Internet through an Internet protocol; and forward the received event through a local messaging protocol to a local subscriber if the received event matches an event filter included in a subscription request of the local subscriber.
-
Specification