-----Original Message-----
From: Iain Shigeoka [mailto:[EMAIL PROTECTED]]
Sent: woensdag 19 juli 2000 23:03
To: Arjen van Efferen; '[EMAIL PROTECTED]'
Subject: Re: [JOS] Communication between java application



--- Arjen van Efferen <[EMAIL PROTECTED]> wrote:

> 
> Is there a way to have to applications communicate with eachother? I
> know i can use RMI, CORBA or TCP/IP to establish a connection between
> two applications, but isn't there a way to get a reference to a
running
> program so i can invoke methods from that running app?

> Why not use one of those methods?  Is there any reason to avoid this
> tried and true solutions?

Well, i don't completely understand RMI and or CORBA.... We've used
CORBA at school, and the first thing i did after those lessons was
burning those books. Damn, i hate CORBA.
I better start working on RMI instead :)

> This is the situation. I'm creating a Daemon app, This app runs in the
> backjground without user interaction. Now i want to create a
manager-app
> to start and stop this daemon app. I've implemented two methods in
that
> daemon (startService() and stopService()). Now i want to have that
> manager call one of those methods to start and stop the daemon. Is
that
> possible?

> Sounds like the perfect place to use RMI Activation as provided
> for by rmid.  It's especially well suite to daemon processes as
> you describe.  I personally would use Jini with Activation to
> provide dynamic, loosely coupled, "federations" of services.

> Or does JOS provide another environment where apps are running in?

> JOS is not ready for such use.  When it is, we plan on supporting
> the entire standard java platform which includes rmi, tcpip, and
> on top of it, activation and Jini.

> -iain

> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail � Free email you can access from anywhere!
> http://mail.yahoo.com/

_______________________________________________
General maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/general

_______________________________________________
General maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/general

Reply via email to