home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.sybase
- Path: sparky!uunet!spool.mu.edu!agate!apple!mumbo.apple.com!gallant.apple.com!NewsWatcher!user
- From: dshapiro@apple.com (David Shapiro)
- Subject: Re: Notifying clients of table mods?
- Sender: news@gallant.apple.com
- Message-ID: <dshapiro-191292124716@90.50.8.13>
- Date: Sat, 19 Dec 1992 20:55:58 GMT
- References: <1992Dec17.185308.20280@shearson.com>
- Organization: Apple Computer, Inc.
- Followup-To: comp.databases.sybase
- Lines: 27
-
- In article <1992Dec17.185308.20280@shearson.com>, fgreco@shearson.com
- (Frank Greco) wrote:
- >
- > I'm soliciting for ideas and comments on a Unix-based notification
- > system.
- >
- > I have a potential appliation where I would like to notify distributed
- > client processes (LAN) that a table(s) was modified in a Sybase database.
- >
-
- If you would like to stick with db-lib, you can front end the whole thing
- with Sybase's Open Server 2.0 (and db-lib 4.6 or greater). This contains a
- new notification scheme called 'registered procedures', which allows
- asynchronous call back to the clients. As your clients log in to the Open
- Server, you subsequently log them in to the actual sql server, and then
- register them as interested in a particular procedure - procedures in Open
- Server (indeed all of open server) are all C and not t-sql. Now, when this
- table is modified, you can call the procedure from a regular sql server
- (inside a trigger or stored procedure [exec openservername..sp_name]), your
- clients will be notified through db-lib with the calling information. Hope
- this helps
-
- Dave Shapiro
-
- Apple Computer, Inc.
-
- [The usual disclaimers]
-