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 6 of 6

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
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 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 698 Times in 680 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.

  5. #5
    Member
    Join Date
    Dec 2013
    Location
    Honolulu
    Posts
    83
    Thanks
    1
    Thanked 4 Times in 2 Posts

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

    They have a package in java specifically for media players and sounds. jsdk1.4.3 and higher has APIs for that purpose. Netbeans is a program that finalizes all steps necessary to building a website. The only problem is there are many intermediate steps before the final green light, complete. It takes all projects and develops it by steps and parts.

  6. #6
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    987
    Thanks
    6
    Thanked 206 Times in 182 Posts

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

    Thread started 3.5 years ago, poster (never heard from again) ignored the advice given and didn't answer the questions asked. Closing.

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, 12:41 AM
  2. Replies: 6
    Last Post: July 25th, 2014, 05: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, 03:24 AM
  5. java applet to php server communication
    By sabertooth in forum Java Networking
    Replies: 7
    Last Post: April 12th, 2013, 01:11 PM

Tags for this Thread