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


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

Re: Interplatform (interprocess, interlanguage) communication

Started byArved Sandstrom <asandstrom3minus1@eastlink.ca>
First post2012-02-03 19:13 -0400
Last post2012-02-03 19:13 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#11729 — Re: Interplatform (interprocess, interlanguage) communication

FromArved Sandstrom <asandstrom3minus1@eastlink.ca>
Date2012-02-03 19:13 -0400
SubjectRe: Interplatform (interprocess, interlanguage) communication
Message-ID<5SZWq.1494$Tu.289@newsfe05.iad>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web