Communication between Java applications running on different JVMs

L

laura.paterson

Hi.

I have three java applications that will run on a single machine - one
is the primary application, the other two need to submit and retrieve
information from it.

Currently I have these talking to each other by creating separate
instances of the main application in each of the two sub-applications,
then communicating through interfaces.

I now have a requirement to run the main application in its own
process, having the other two apps running in separate JVMs.

Does anyone have any hints on how I could achieve this? I am currently
looking at CORBA, which we use elsewhere in the app for network comms,
but I was wondering if there is anything simpler to implement - given
that all processes will be running on a local machine...

Thanks,
Laura
 
C

Chris Uppal

Currently I have these talking to each other by creating separate
instances of the main application in each of the two sub-applications,
then communicating through interfaces.

I now have a requirement to run the main application in its own
process, having the other two apps running in separate JVMs.

Does anyone have any hints on how I could achieve this?

Sounds like a good fit for RMI to me.

-- chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,114
Latest member
GlucoPremiumReview
Top