Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11729

Re: Interplatform (interprocess, interlanguage) communication

From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Interplatform (interprocess, interlanguage) communication
References <IPC-20120203200443@ram.dialup.fu-berlin.de>
Message-ID <5SZWq.1494$Tu.289@newsfe05.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2012-02-03 19:13 -0400

Show all headers | View raw


On 12-02-03 03:52 PM, Stefan Ram wrote:
>   »X« below is another language than Java, for example,
>   VBA, C#, or C.
> 
>   When an X process and a Java process have to exchange
>   information on the same computer, what possibilites are
>   there? The Java process should act as a client, sending
>   commands to the X process and also wants to read answers
>   from the X process. So, the X process is a kind of server.
> 
>   My criteria are: reliability and it should not be extremely
>   slow (say exchanging a string should not take more than
>   about 10 ms). The main criterion is reliability.
[ SNIP ]
> 
>   Files
> 
>   One process writes to the end of a file, the other reads
>   from the end of the file? - I never tried this, don't know
>   if it is guaranteed to work that one process can detect and
>   read, whether the other has just appended something to a file.
> 
>   What if the processes run very long and the files get too
>   large? But OTOH this is very transparent, which makes it easy
>   to debug, since one can open the files and directly inspect
>   them, or even append commands manually with »copy con file«.
[ SNIP ]

A logical subset of files for IPC is database tables.

AHS
-- 
...wherever the people are well informed they can be trusted with their
own government...
-- Thomas Jefferson, 1789

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: Interplatform (interprocess, interlanguage) communication Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-02-03 19:13 -0400

csiph-web