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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:11:46+00:00 2026-05-15T12:11:46+00:00

I’m building a Monopoly game in Java and I want it to be able

  • 0

I’m building a Monopoly game in Java and I want it to be able to support games over the net (the point was so me and my friends over in the US of A could play).

Networking is a whole area of programming I have yet to enter so I have been finding it quite hard to decide how exactly to pull it off. In general, I felt that the correct way for it to work would be to have a server app with all the Monopoly game code and then app client with just a GUI with remote method calls.

Is RMI going to be too complex for this project or is it the best way to proceed? Have you any suggestions or tips for me?

Update: This game is going to be 100% Java. So no worries about clients needing to have Java installed. Also, it would be great to get some tips on using RMI.

  • 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-15T12:11:47+00:00Added an answer on May 15, 2026 at 12:11 pm

    RMI is not a complex thing, it’s the opposite.

    It allows you to develop your game protocol without caring about having Message objects going between server and clients with long if chains to check which kind of message it is and do whatever is required.

    What you can actually do with RMI is to have a centralized object (on the server) on which you directly call methods from clients like iWantToMoveThere(position) or iWantToBuyLand(where) and so on. This simplifies the protocol while putting some overhead that you would have in any case since I discourage you from implementing a binary procotol. A XML or a serialized Java one would be a good compromise since you don’t really need realtime for a game like this one.

    Another advantage of RMI is that you will easily manage a master server on which many game servers may attach to give players the opportunity to play in them, and also many other little things like managing a separated lobby or so on.

    Just as direct experience: I used RMI to manage a server that allowed developers to publish their own game plugins allowing players to automatically connect to the server and download the content to be able to play. Everything was handled by RMI except for the fact that I needed a backward TCP connection to be able to handle asynchronous events whenever I needed. The whole source code was just ~1k lines in a bunch of 7-8 classes

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

Sidebar

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.