473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Notify web service client

I am looking into using web services within a new framework I am putting
together and can see the benefit of being able to use a web service to
provide access to system by clients.

As part of the design I would like to implement the observer pattern from
the client so that they do not have to keep querying the web services to see
if an update had occurred, rather the web service would advise them.

Is this possible with a web service or do I need to look at RSS or similar?

Thanks
Nov 23 '05 #1
4 1968
Hi,

yes... its possible. Its just the reverse of your current
client->server architecture.. Make your client also a server
(HttpListener for instance). Which accepts incomming 'notifications'
from the 'other server' you are expecting the updates from.

Another option is to use remoting and have remotable events.

Hope this helps,

Marvin Smit.
On Mon, 10 Oct 2005 01:31:01 -0700, Nathan
<Na****@discussions.microsoft.com> wrote:
I am looking into using web services within a new framework I am putting
together and can see the benefit of being able to use a web service to
provide access to system by clients.

As part of the design I would like to implement the observer pattern from
the client so that they do not have to keep querying the web services to see
if an update had occurred, rather the web service would advise them.

Is this possible with a web service or do I need to look at RSS or similar?

Thanks

Nov 23 '05 #2
Thanks for that Marvin, hadn't considered reversing the architecture I reckon
that will do it.

"Marvin Smit" wrote:
Hi,

yes... its possible. Its just the reverse of your current
client->server architecture.. Make your client also a server
(HttpListener for instance). Which accepts incomming 'notifications'
from the 'other server' you are expecting the updates from.

Another option is to use remoting and have remotable events.

Hope this helps,

Marvin Smit.
On Mon, 10 Oct 2005 01:31:01 -0700, Nathan
<Na****@discussions.microsoft.com> wrote:
I am looking into using web services within a new framework I am putting
together and can see the benefit of being able to use a web service to
provide access to system by clients.

As part of the design I would like to implement the observer pattern from
the client so that they do not have to keep querying the web services to see
if an update had occurred, rather the web service would advise them.

Is this possible with a web service or do I need to look at RSS or similar?

Thanks

Nov 23 '05 #3
DWS
Nathan,
Here's a late reply,
No polling on this solution either and it doesn't require you to defend
another atack surface in your app. Asyncronously call the begin method of
the webservice the web service will reply to the delegate code keeping your
ui thread clear.

Good Luck
DWS
"Nathan" wrote:
I am looking into using web services within a new framework I am putting
together and can see the benefit of being able to use a web service to
provide access to system by clients.

As part of the design I would like to implement the observer pattern from
the client so that they do not have to keep querying the web services to see
if an update had occurred, rather the web service would advise them.

Is this possible with a web service or do I need to look at RSS or similar?

Thanks

Nov 23 '05 #4
Thanks for that, at least I now have a couple of solutions I can look at.

"DWS" wrote:
Nathan,
Here's a late reply,
No polling on this solution either and it doesn't require you to defend
another atack surface in your app. Asyncronously call the begin method of
the webservice the web service will reply to the delegate code keeping your
ui thread clear.

Good Luck
DWS
"Nathan" wrote:
I am looking into using web services within a new framework I am putting
together and can see the benefit of being able to use a web service to
provide access to system by clients.

As part of the design I would like to implement the observer pattern from
the client so that they do not have to keep querying the web services to see
if an update had occurred, rather the web service would advise them.

Is this possible with a web service or do I need to look at RSS or similar?

Thanks

Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
1
by: Rob | last post by:
I have an interesting problem with my Notify Icon. I cannot get it to display when I start a web service. I have no problems when I test the software on a Windows program. But the Icon will not...
6
by: Neo | last post by:
i'd like to create an application which would run in the background, & there'd be an icon in the system tray (can use the notify icon). But HOW can i make the form invisible. What i'd like to do...
4
by: Joe Lester | last post by:
I'm using PostgreSQL 7.4.1. I have 140 clients connected on average using libpq. When one client sends "NOTIFY timeclock;" to the server all 140 clients are listening for it. After receiving a...
1
by: chandu | last post by:
hello, in a multi client environment . at the same time two clients open the Application. one client updated some data in the database. at that time another client wants to update some data.....
3
by: Cylix | last post by:
I am going to make an application in monitor and do something on time. A part of it is an Notify icon(System Tray Icon), Which project type can I be used for Just showing the notify icon without...
5
by: cozsmin | last post by:
hello , as u know wait() and notify() will not thow an exception if the method that calls them has the lock , or esle i misundrestood java :P this is the code that throws (unwanted) ...
5
by: Peter | last post by:
I have a webpage which creates reports, a report can take few seconds or several minutes to create. This webpage calls a web service which in turn does a remoting call to a windows service and the...
1
by: dsantos | last post by:
Hello everyone, I have coded a windows service that can be manipulated through a different application that has a notifyIcon. I´m using remoting to comunicate the application with the service and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.