Steve, Please take a look at the managed agent explorer in Eclipse TPTP (http://www.eclipse.org/tptp/home/downloads/?ver=4.4.0) particularly the Build to Manage tooling (http://www.eclipse.org/tptp/monitoring/documents/tutorials/tptp_wsdm_setup_4.3.html). Here is an article that show what the MAX looks like etc.: http://www.eclipse.org/tptp/monitoring/documents/tutorials/using_managed_agent_explorer_4_2_2.htm. We have recently added WS-N notification support by providing an OSGi based endpoint within the Eclipse workbench which can be used by any other plugin for making subscriptions and getting the notifications. THis can also be used by RCP applications as the endpoint plugin itself does not have a lot of depedencies on anything other than core Eclipse/Equinox plugins.
If you interested please followup on the TPTP newsgroup for questions on using the MAX or building a GUI that uses the WS-N consumer embedded in the workbench. The TPTP newsgroup is at http://www.eclipse.org/newsportal/thread.php?group=eclipse.tptp Thanks, Balan Balan Subramanian Autonomic Computing, IBM, RTP, NC 919.543.0197 | [EMAIL PROTECTED] "Steve Kruse" <[EMAIL PROTECTED]> 03/09/2007 08:40 AM Please respond to [email protected] To <[email protected]> cc Subject OSGi-based WSN consumer with a standalone GUI Thanks a lot Dan. Is there anyone out there that could share some knowledge/examples of how to integrate an OSGi-based WSN consumer with a standalone GUI? Any info would be appreciated. Thanks, Steve -----Original Message----- From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 5:33 PM To: [email protected] Subject: RE: New to MUSE and WSN The delay between the time the producer publishes the message and when the consumer gets is depends on network latency and how many other messages (unrelated to WSN) the consumer is handling. In just a simple scenario between producer/consumer, there's no delay on the producer side (like a message queue or batch processing or something). The example consumer shows you how to set up message listeners on the consumer side - you can add as many message listeners as you want, and each can target different types of notifications (this filtering is part of the listener API). The sample listener just prints out the notification content, but you could, for example, use Muse's WEF API to parse the notifications into WEF events and process them that way. The closest thing to a 'standalone client' that also does WS-* is the OSGi/Mini option - yes, you have to add the OSGi framework, but that is tiny (the Apache XML libraries are bigger than OSGi). If you want a true standalone client, you'll have to set up your own HTTP listener/server and SOAP engine and then figure out how to "deploy" Muse into it. That's a lot of work. If you're looking for help in integrating an OSGi-based WSN consumer with a GUI, there are developers on this list that have experience with that and can help you out. Dan "Steve Kruse" <[EMAIL PROTECTED]> wrote on 03/08/2007 05:10:39 PM: > Dan, > > Thanks to you and Lenni for the info so far. I think it sounds like I > would want to use the OSGi/Mini SOAP engine. Is it realistic to think > that I can setup a web service using wsn and get pretty timely results > at the consumer end if I am sending out a pretty consistent flow of > messages from the produccer. Does the example consumer actually give an > example of getting a notifications message from the producer? I need to > implement a listener on the client, I would think, how would I implement > this? Do you know of any examples I could find to implement the Mini > SOAP engine inside of my J2SE standalone client. Any help and examples > would be greatly appreciated... > > Thanks, > steve > > > -----Original Message----- > From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 08, 2007 11:43 AM > To: [email protected] > Subject: RE: New to MUSE and WSN > > To add to what Lenni said: yes, you need a web service to receive > notifications that are sent over HTTP/SOAP; however, there's no reason > that consumer service has to be large. If you use the OSGi/Mini SOAP > engine option when building services with wsdl2java, you will get an > application that can run on J2ME/J2SE and is quite small. If you're a > J2EE-only guy, you can use embedded Tomcat (5-6 MB last time I checked) > and use the J2EE/Mini option to create a WAR that will only add another > 1.5 MB. The OSGi option might be better if you plan to incorporate the > consumer into some kind of rich client - OSGi will allow you to load > your > Muse-based applications and your other client code in the same JVM. We > have done this in the past to create resource/message browsers in > Eclipse. > > Dan > > > > <[EMAIL PROTECTED]> wrote on 03/08/2007 09:18:29 AM: > > > Hi Steve > > > > I'll do my best to make it a bit more clear as it seems to be a common > > question about WSN. > > > > 1) Both your Client and service needs to be run as web services. A > > simplified example can be found in the downloadable binary > distribution > > of Muse from http://ws.apache.org/muse/download.html, the examples are > > as follows: client <-> Wsn-comsumer, service <-> Wsn-producer > > These should work out of the box. > > > > /Lenni > > > > -----Original Message----- > > From: Steve Kruse [mailto:[EMAIL PROTECTED] > > Sent: 08 March 2007 13:25 > > To: [email protected] > > Subject: New to MUSE and WSN > > > > Hi, > > > > I'm trying to understand Muse, and wsn-notification. Can someone > please > > answer a couple of questions me? > > > > 1) With Muse using wsn, can I have a web service that resides on a > > server and a standalone client(java or c) that resides on some other > > machine that will receive the notifications via a request to subscribe > > to that web service? Does the client need to be setup with a web > > service also? I'm a little confused. If this is possible, is there > any > > place I can go to get an example. I've been going through the Muse > > tutorial, but I haven't figured out if it actually shows me how to do > > this. Where is the callback on the standalone client side to receive > > the notifications? > > > > 2) Is there a good spot that someone can point me that has some sort > of > > architecture diagram of how this could/would be setup? > > > > Thank you very much in advance for any help..... > > > > steve > > > > -- > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
