Results 1 to 6 of 6
  1. #1
    vancata is offline Member
    Join Date
    Feb 2012
    Posts
    3
    Rep Power
    0

    Default client-server RMI

    Hi, I am currently learning RMI and I need some help with one program.

    Basically, the program is a client-server RMI Lottery application. The client enters 6 random numbers between 1-50 and sends them to the server. The server has also generated 6 random numbers during this time and compares them to the ones that the client has sent it. If any one of the numbers has matched, then the client is a winner and the server sends the message, congratulations you are a winner.

    Can you help me out with this code please.

    Thank you

    Ivan

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default Re: client-server RMI

    For help you need to ask a specific answerable question. About all anyone can do with your post above is refer you to Google.

  3. #3
    Join Date
    Feb 2012
    Posts
    1
    Rep Power
    0

    Default Re: client-server RMI

    Ivan

    Before you start working on the implementation consider if you need to use RMI, you can use REST or java servlet which is a cleaner and simpler solution to your problem than RMI. let me know if you need more info <Moderator Edit: Email address removed>

    thanks
    Hari

  4. #4
    vancata is offline Member
    Join Date
    Feb 2012
    Posts
    3
    Rep Power
    0

    Default Re: client-server RMI

    I need someone to tell me the steps to create this program. I know for example that the interface has to be done first, then the server where the methods are implemented and lastly the client side. I am new to RMI and I would like to find out how to do it?

  5. #5
    vancata is offline Member
    Join Date
    Feb 2012
    Posts
    3
    Rep Power
    0

    Default Re: client-server RMI

    If anyone has any example code, it would be of great help.

    Thank you

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default Re: client-server RMI

    Still trying to save some money over the cheating route?
    https://forums.oracle.com/forums/thr...readID=2342133

    Java RMI simple client | Java

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 6
    Last Post: 01-09-2012, 10:30 PM
  2. Replies: 2
    Last Post: 09-24-2010, 12:31 PM
  3. Replies: 1
    Last Post: 10-05-2008, 04:12 PM
  4. Identify Client in Socket Client Server Application
    By masadjie in forum Networking
    Replies: 1
    Last Post: 12-20-2007, 10:18 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •