🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #527

Re: Communication between 2 apps

#527
From: John McGrath [TeamB]
Date: Tue, 05 Aug 2003 06:05
20 lines
1675 bytes
On 8/1/2003 at 3:32:39 AM, Oliver Young wrote:

> How can one Java app "notify" other Java app to do something
> (send an message)? 

There are many different mechanisms available.  Which is best will
depend on the applications and the context in wich they run.  Some
of the mechanisms are  RMI, sockets, JMS and the pipes that connect
a subprocess's input, output and error streams to its parent.

> If RMI is simplest solution then, please, provide some quick
> example (or tutorial).

See the RMI tutorials that are included with the Sun JDK docs.  They 
are also available on the Sun web site.

-- 
Regards,

John McGrath  [TeamB]
Technical Details
Message-ID: <3f2f4916$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f2a1780@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,2f9c91f55b09feae
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-08-04 23:06:31 PST
From: "John McGrath  [TeamB]" <ng-b@jpmcgrath.net>
Subject: Re: Communication between 2 apps
Newsgroups: borland.public.jbuilder.java.api
References: <3f2a1780@newsgroups.borland.com>
User-Agent: XanaNews/1.15.3.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 141.151.11.48
Message-ID: <3f2f4916$1@newsgroups.borland.com>
Date: 4 Aug 2003 23:05:10 -0700
X-Trace: newsgroups.borland.com 1060063510 141.151.11.48 (4 Aug 2003 23:05:10 -0700)
Lines: 20
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail