Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7697329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:59:13+00:00 2026-05-31T21:59:13+00:00

I am currently writing a ruby plugin for a 3d drawing application(written in c

  • 0

I am currently writing a ruby plugin for a 3d drawing application(written in c ++, ruby is it’s scripting language).
What I want to do is communicate between that and another application written in java, both programs are running on the same computer.
The ruby version that is integrated into the 3d drawing application is rather cut down and pretty basic and from what I understand has fairly limited or non existent socket libraries.

Any ideas on how to exchange information between the two applications would be greatly appreciated.

The amount of information that will be exchanged will be fairly small.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:59:15+00:00Added an answer on May 31, 2026 at 9:59 pm

    Your question may be answered in many, many ways. There is so many possible solutions…

    One of the easiest, and yet pretty efficient method which comes to my mind, is to use standard input and standard output redirection to communicate between programs (written in any language).

    Your Java program needs to execute a Ruby program, redirecting the input/output streams. I do not know the function which would be used in Java for this task, but in Ruby the method is IO.popen(command,mode).

    Your Ruby program, called this way, just reads from STDIN and writes to STDOUT (plain methods gets and puts may be used).

    You haven’t said on what system you are programming, so I am not sure whether your platform is able to handle such redirection, or names pipes (which would be the second easy solution).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing an application in ruby on rails that uses AWS. I see
I'm currently writing a Java app that interfaces with a MySQL database. My problem
I'm currently writing unit tests for my Ruby on Rails application, and one of
I am currently writing an application that pulls new information from RSS sources and
I'm writing a ruby method that takes a string input but I don't want
I am currently writing a quick script in Ruby that goes through all the
I'm currently writing some intranet web application where people could submit to admins requests
I am currently writing an application where the user has, at some point, to
I'm currently writing an app in Android that works with the GPS. At the
I'm currently writing a media player in Ruby (called Shroom ) with a GTK

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.