Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Interprocess communication between Java and non-java program

  1. #1
    Junior Member
    Join Date
    Sep 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Interprocess communication between Java and non-java program

    Hi, I'm developing a program which requires the program to interact with another program, say Media Player Classic.

    Basically, say there is a play button on this Java program, when clicked, will send a 32(space in ascii) to Media Player Classic like pressing space while on Media Player Classic. Are there any Java library that does this?


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    On vacation
    Posts
    20,844
    Thanks
    50
    Thanked 2,243 Times in 2,215 Posts

    Default Re: Interprocess communication between Java and non-java program

    What do you mean by "send to"? How is the other program expecting to receive an input while it is running?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 688 Times in 675 Posts

    Default Re: Interprocess communication between Java and non-java program

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Existing programs that allow input/stimulation/interaction with other programs write interfaces for that exchange and usually publish an API (or similar) that describes how the interface works, how to program to it, etc. Search for the program name + API, extension, plugin, etc. to see if an interface exists and is documented.

  4. #4

    Default Re: Interprocess communication between Java and non-java program

    For simple interprocess communication, you can use plain old sockets to communicate between Java applications. Objects can be serialized and transmitted over sockets.

Similar Threads

  1. how to send the data using serial communication in java
    By nataraj in forum Java Networking
    Replies: 1
    Last Post: September 5th, 2014, 01:41 AM
  2. Replies: 6
    Last Post: July 25th, 2014, 06:55 AM
  3. JAVA and communication with RS232
    By wafa22 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 2nd, 2014, 08:38 AM
  4. Java TCP Communication
    By syedbhai in forum What's Wrong With My Code?
    Replies: 0
    Last Post: July 25th, 2013, 04:24 AM
  5. java applet to php server communication
    By sabertooth in forum Java Networking
    Replies: 7
    Last Post: April 12th, 2013, 02:11 PM

Tags for this Thread