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

  • SEARCH
  • Home
  • 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 5964313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:24:32+00:00 2026-05-22T19:24:32+00:00

I have an app written in objective-c on Cocoa, having some UI. I am

  • 0

I have an app written in objective-c on Cocoa, having some UI. I am planning to write another Java app that could runs in the background and auto start (essentially a dameon). And then the Cocoa app will “communicate” with the Java app to start doing some tasks periodically or on demand. Is that doable? If so, what’ll be the best way of communication between the two in terms of programming complexities? Socket? via File? Named pipe?

  • 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-22T19:24:33+00:00Added an answer on May 22, 2026 at 7:24 pm

    It’s certainly doable. There are a bunch of potential mechanisms, but they all come down to picking some interprocess communication mechanism. But why do you want the java app as a daemon? The sort of obvious thing is for your Cocoa app to just run the Java app.

    If it turns out that for some reason — say the java app has a lot of persistent state, or takes a long time to start up — then the easiest method may be to use a named pipe, a/k/a a FIFO. Once you create the FIFO, you can simply write to it from the UI process and read it, as a file, from Java. This has the additional advantage that it provides a natural queue of events (which is what it’s for, that’s why it’s called a FIFO.)

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

Sidebar

Related Questions

I have this app written in VB.Net with winforms that shows some stats and
Background: I have a winforms app written in C# that converts xlsx files to
I have an app written in python that presents some of its data in
Background:I am working on an encryption application, i have the app written in Objective
I have an app written in C# that lies on a network share. When
I have a WinForms app written in C# with .NET 3.5. It runs a
I have an MDI app written in Qt. Some of the subwindows include QGLWidget
I have a Linux app (written in C) that allocates large amount of memory
I have a little logging app (written in wxPython) that receives data from a
Have an app written that automatically reads out received text messages when they arrive.

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.