Kbase P10740: Can two Progress programs running in different sessions comm
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/25/2003 |
|
Status: Unverified
GOAL:
Can two Progress programs running in different sessions communicate and have the source code still be platform independent?
FACT(s) (Environment):
Progress 9.x
FIX:
To communicate between two distinct Progress sessions (which may or may not be on the same machine) there are three (3) possible ways to do it:
1) Use a database as the communication mechanism (each Progress session would read and write to a specific table or tables. If the application databases cannot be changed it would be acceptable to create a separate database just for this communication.
2) Use 4GL sockets to implement a direct communication between processes. This is fairly straight forward when only two Progress sessions would need to communicate with each other. If more than two Progress sessions would be needed it would be better to go with option #1.
3) Use files to communicate. This is the least flexible (and consequently the least desirable) method of communication between processes.