🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18598

Re: Communicate bet. Applications

#18598
From: William Yu
Date: Thu, 28 May 1998 00:00
19 lines
1241 bytes
songhuang wrote:

> Q: Without using socket, tcp/ip, how can two independent applications
> communicate with one another.

Without knowing pre-conditions, you could use shared memory, shared
files, shared databases or perhaps even IO piping/redirection.  Shared
memory probably will require JNI -- the others can be done in 100% Java.
Shared databases may be the best option, especially if you use persistent
object storage.  All of the above will require a lot of coding and a damn
good protocol.

If you can specify both running in the same JVM, InfoBus would work.

> (of course, within the same OS, which is why I think it is not "proper"
> to use socket, tcp/ip) ?

Why not?
Technical Details
Message-ID: <356DFD81.2E5EDE1B@bigfoot.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <356DBBF4.E87F6A46@mindspring.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b58a07f5efcda1e7
X-Google-Attributes: gidf74b3,public
From: William Yu <William_Yu@bigfoot.com>
Subject: Re: Communicate bet. Applications
Date: 1998/05/28
Message-ID: <356DFD81.2E5EDE1B@bigfoot.com>
X-Deja-AN: 357471547
Content-Transfer-Encoding: 7bit
References: <356DBBF4.E87F6A46@mindspring.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language