Re: Should I use RMI?

Discussion in 'Java' started by Anu Raj Pradhan, Jun 27, 2003.

  1. hummm

    RMI is pretty fast... I do recommend if u want to make a network based game
    in java

    anu
    "Fernando" <> wrote in message
    news:...
    > I am trying my hand at writing a turn-based network game application.
    >
    > Its a simple app with a TCP connection between two machines, one
    > acting as a server the other as client, sending each palyers move
    > across to each other.
    >
    > My question is whether i am right in thinking that using RMI would eba
    > godd way to achieve this?
    >
    > Each participant has individual objects that they control, but which
    > are acted on by other players, my idea is to have both players having
    > remote access to each other objects thus being able to operate on
    > them.
    >
    > Is this a wise way to go about it? Is there another way?
    >
    > Is it easier (for my purposes) to just have each player instantiate
    > thier own local objects and then communicate thier actions to each
    > other via the TCP connection and then updating their own respective
    > local objects?
    >
    > Thanks
    >
    > Fernando
    Anu Raj Pradhan, Jun 27, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Linus Nikander

    Re: Should I use RMI?

    Linus Nikander, Jun 27, 2003, in forum: Java
    Replies:
    0
    Views:
    2,514
    Linus Nikander
    Jun 27, 2003
  2. Buu Nguyen

    RMI, JINI or RMI/IIOP

    Buu Nguyen, Aug 25, 2004, in forum: Java
    Replies:
    1
    Views:
    551
    Sudsy
    Aug 25, 2004
  3. JScoobyCed

    RMI Vs RMI over IIOP

    JScoobyCed, Jan 28, 2005, in forum: Java
    Replies:
    1
    Views:
    722
    Dag Sunde
    Jan 28, 2005
  4. Jan Schulze
    Replies:
    1
    Views:
    558
    Esmond Pitt
    Mar 26, 2005
  5. ~~~ .NET Ed ~~~

    How should control images should be handled?

    ~~~ .NET Ed ~~~, Oct 31, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    218
    John Saunders
    Nov 3, 2004
Loading...

Share This Page