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 8302091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:11:53+00:00 2026-06-08T17:11:53+00:00

I have a process that goes to the database and gets data. The complexities

  • 0

I have a process that goes to the database and gets data. The complexities and my questions are as follow:

Some data comes from one data source and the rest come from the other data source. I was wondering once i start a process, i can create the object where in i will dump all the data and then fork ( as in C language). an send each process to different data source.

Question 1 : If i do something like fork, it updates both the dumping of data simultaneously right? i.e. if parent process is getting data from source A and dumping in Object O, and chil process is getting from B and dumping in Object O only, the O gets populated simultaneously right? It will not create two objects one with data from A and other with data from B. Also, the efficiency of this process lies in the multiprocessor systems only?

Question 2: Is there anything like this in Java?

Thanks.

  • 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-06-08T17:11:54+00:00Added an answer on June 8, 2026 at 5:11 pm

    I’d say that the java equivalent to fork is java.lang.Thread. Have a look at here for a tutorial.

    If I understand the question correctly, it looks like access to DataSource A would be via the main thread of your application while access to DataSource B would be handled by a separate thread. I’d be tempted to push access to both datasources in to separate threads, wait for them both to finish, ( see javadocs ), and then combine the results in to a single object ( Object O in your description above ).

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

Sidebar

Related Questions

I have Process objects that are monitored from two different views. A Windows.Forms.ListView (actually
I have a process that imports a lot of data (950k rows) using inserts
I have a PHP script that works by calling items from a database based
I am pretty new to ColdFusion ORM and I have some questions that I
I have process that needs to create a bunch of records in the database
I have an SSIS package that exports data from a table on a SQL
We have a product that uses a MySQL database as the data-store. The data-store
I have a process that interfaces with a library that launches another process. Occasionally
I have a process that spawns a helper process. Sometimes I need to debug
I have a process that currently runs in a Delphi application that I wrote

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.