Article View: borland.public.jbuilder.java.language
Article #18475Re: Communicate bet. Applications
From: Steve Waters
Date: Wed, 10 Jun 1998 00:00
Date: Wed, 10 Jun 1998 00:00
25 lines
1393 bytes
1393 bytes
it is proper for an application to communicate via sockets even if its on the same pc. Thats why all tcp systems have localhost. >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:
<6lnpfv$aff3@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<356DBBF4.E87F6A46@mindspring.com> <356DFD81.2E5EDE1B@bigfoot.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: "Steve Waters" <truebrit@pacbell.net> Subject: Re: Communicate bet. Applications Date: 1998/06/10 Message-ID: <6lnpfv$aff3@forums.borland.com> X-Deja-AN: 361599279 References: <356DBBF4.E87F6A46@mindspring.com> <356DFD81.2E5EDE1B@bigfoot.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language