Forum Discussion
Lalit_Kumar_533
Nimbostratus
Jul 22, 2005Event Notification Samples in Java
I want to create a listener in Java which should listen to node enable/disable events in F5.
I looked at the article http://devcentral.f5.com/Default.aspx?tabid=29&newsType=ArticleView&artic...
Jul 22, 2005
This is great! I personally wrote the EventSubscription and EventNotification interfaces and underlying infrastructure and am excited to see someone use them. Currently we don't have any java samples for the subscription or notification interfaces. I do have a .NET subscription client and webservice to receive the notifications. I've also implemented Perl samples as well.
The notification interface is very minimal, so implementation of one should be not that difficult. I haven't included samples in the SDK for java just because there are so many deployment options out there for building webservices in java that I didn't want to miss one.
Building the client, if you are using Axis, is a piece of cake. Just run the WSDL through WSDL2Java and you'll have a set of working client stubs.
When you are building your notification endpoint, make sure to make use of the EventNotificationClient samples in either C or Perl that test the endpoint. This makes implementing and debugging the interface much easier.
Also, when you get a working endpoint, please let us know. If you submit it to CodeShare I can get it included in an upcoming SDK.
Feel free to post questions about the use of the interfaces anything comes up. I've got a pretty good handle on their ins and outs.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects