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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:41:00+00:00 2026-06-11T20:41:00+00:00

i am trying to make a distributed application and could really use some help

  • 0

i am trying to make a distributed application and could really use some help in how to create it, what i want to do is this

Computer 1 and computer 2 are connected via a LAN.

Computer 1 takes an order from a customer and sends it to comp2. Computer 2 sends an acknowledgement to Computer 1 when order completed.

its a pretty simple code and i think i could just send text between them instead of sending objects, though i am not sure yet, which would be better. any ideas?

i am not sure what i should use to communicate between the computers, should i use socket which i have a little experience with or something like RMI or REST which i have never used before but dont mind learning if it doesnt take alot of time because have to finish this code soon.

would really appreciate the help 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-11T20:41:02+00:00Added an answer on June 11, 2026 at 8:41 pm

    Not sure why you got 3 down votes, but I will try to help, no code snippet will be provided, because that can be found.

    if you use a TCP/IP connection:

    the

    comp1 takes an order from a customer and sends it to comp2. Comp2
    sends an acknowledgement to comp1 when order completed.

    it is 1 step: if the sender can write, than the reader “acknowledged”. I wouldn’t use a back message. Same with the old style RPC.

    As I can see this is a UDP requirement, and than comp1 should send a message for comp2 with “acknowledged the “acknowledgement” and the comp2 should send back a “acknowledged of acknowledged the “acknowledgement” it is a loool, I hate UDP for this reason.

    To open a TCP connection, one of they should listen ( comp2 in this case) and other one ( comp 1 ) it is just connection and do a message. If he got a write error, than the comp2 couldn’t receive, ofc. Even if you use REST, the comp2 should be on server side.

    For code search for “TCP/IP client server example”.

    I Hope it helps!

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

Sidebar

Related Questions

Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
Trying to make a simple number clicker control for BlackBerry 6/7, like this: At
I am trying make such application which speak automatically when the image loaded it
I trying to build an application that is using the torrent technology to make
Tell me if what I'm trying to do doesn't make sense. I want to
I'm trying to use scala parallel collections to implement some cpu-intensive task, I've wanted
I'm trying to find the best components I could use to build something similar
I'm trying make a login window where a user is prompted to enter their
I'm trying make an entity with doctrine that has three associations with other entities
I am trying make long screen to vertical direction. So, I need a screen

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.