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]
