publish/subscribe appserver->client?



Tried to search for comments on this subject but the Google groups
search filter on groupname is seriously broken for some reason, it's
treating "groups:*.progress" just as if the words "groups" and
"progress" were regular search terms, not a group specification....

At any rate,

Have been working on a script that asynchronously runs a procedure on
the appserver-- I'm rather new to progress coding, but we need to get
the two parts to pass data across in the process, and it looked like
PUBLISH and SUBSCRIBE were just the thing-- however, the server side
goes thorugh the motions of the publish but the event never fires in
the client.

I then did a little more poking around on the peg.com forums, and
found an old comment something to the effect that publish/subscribe
doesn't work distributed (across sessions), that it was a "wish list
item." Unfortunately, it's not quite clear to me what the definition
of a "session" or "distributed" is in that comment-- are the client
side & server side considered separate sessions in this case and pub/
sub is therefore unsupported? Or am I overlooking something else as
to the reason the event doesn't fire...

I'm using V9.1d, and using the "run asynchronous on server" technique
to fire up the appserver end, and using a subscribe with anywhere to
set up the event handler. I checked the calling parameters, and even
tried a parameterless pub/sub just in case a parameter mismatch was
the problem, but no luck.

The main question is-- *should* a subscribe on the client be able to
get the publish done on the appserver? Or is this in fact not
implemented? The real unfortunate thing about pub & sub is the
coupling is so loose there's not much error handling to be had. When
you "subscribe...anywhere" perhaps the word "anywhere" doesn't really
*mean* anywhere?...


--

Sync

.



Relevant Pages

  • Re: martin piers nicholson is a troll
    ... reason why some people use Google groups. ... Try finding a clue, have a ganger at for some of the many real ... reasons that any intelligent person would avoid Google Groups, ... an odd message might be in order, such as when a nntp server ...
    (uk.rec.models.rail)
  • Re: Racist Chants.
    ... "Voice Of Reason" wrote in message ... No. VM server has closed so tried it on Google groups but wasn't sure it ...
    (uk.sport.football.clubs.rangers)
  • Re: News servers again
    ... And I've followed you for the same reason. ... Thank goodness for Google Groups so I can keep getting the next clue for ... All we need now is a reply from someone using a different server so we can ...
    (uk.media.radio.archers)
  • Playoff Tipping week 2
    ... For some reason my server isn't picking up the thread - I can see it ... through Google groups. ...
    (rec.sport.rugby.league)
  • Re: My non-statistical thoughts on this off season so far !!!
    ... Lorretta sounds like a definite up grade from Bellhorn from both sides of the game. ... Part of the work in progress. ... I'm counting Foulke as a change assuming he's healthy and not last year's pitcher. ... I'm also counting Schilling as new for the same reason ...
    (alt.sports.baseball.bos-redsox)

Loading