Search:

Type: Posts; User: copeg

Search: Search took 0.19 seconds.

  1. Replies
    16
    Views
    5,476

    Re: sending objects from client to server

    And yet another solution :) is to package Person in an entirely separate jar that is distributed to the client and server, a pattern which decouples the design of datatransfer from that of the client...
  2. Replies
    16
    Views
    5,476

    Re: sending objects from client to server

    Norm's advice will solve the compilation time errors, but you may still receive runtime exceptions if client and server are packaged separately since you still need to let the one without Person know...
  3. Replies
    16
    Views
    5,476

    Re: sending objects from client to server

    They are in different packages, may be the same in content but the different in practice. Norm has the correct method if you import them...here's a simple example which will result in a compile time...
  4. Replies
    16
    Views
    5,476

    Re: sending objects from client to server

    What does this mean...does this mean there is a server.Person and client.Person class? If so, there's your problem.
Results 1 to 4 of 4