Two Laptop Bag
The moose likes Java in General and the fly likes Inter-Process Communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Inter-Process Communication" Watch "Inter-Process Communication" New topic

Inter-Process Communication

Venkat Vasudevan

Joined: Jul 01, 2006
Posts: 1
Hi Experts,

I am trying to interface one SmallTalk process with a Java process.

Can you please help me by giving the appropriate JAVA API/class/package to enable this Inter-process communication or Can you provide some JAVA sample code which has ability to do the Inter-process communication.

I need this ASAP.

[ July 01, 2006: Message edited by: Venkat Vasudevan ]
Henry Wong

Joined: Sep 28, 2004
Posts: 20531

Well... you could...

  • Communicate using the file system. See the Java IO package.
  • Communicate using the network. See the Java networking package.
  • A bit of a stretch, but you could also use a database. See the Java database package.

  • Henry

    Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
    William Brogden
    Author and all-around good cowpoke

    Joined: Mar 22, 2000
    Posts: 13037
    Since Sun's mantra has been "the network is the computer" you will find lots of possible communication methods.

    In addition to Henry's suggestions you could:
    communicate using email
    communicate using messaging
    communicate using HTTP requests and the servlet API (SOAP and XML-RPC come to mind)
    and probably a lot more.

    Probably the critical questions have to do with the communication facillities in your SmallTalk installation. If this was my problem I would be searching the smalltalk docs for topics like XML-RPC and SOAP.
    Peter Chase
    Ranch Hand

    Joined: Oct 30, 2001
    Posts: 1970
    You could use CORBA. Java has built-in CORBA support, and there do exist Smalltalk CORBA implementations.

    Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
    I agree. Here's the link:
    subject: Inter-Process Communication
    It's not a secret anymore!