Results 1 to 4 of 4

Thread: Rpc program

  1. #1
    readraviteja is offline Member
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Default Rpc program

    anybody please give me a java code for simulating RPC calls using client -server model the program should take an integer parameter as an input and return the next integer as output.all this program communication should be done using datagram packets and datagram sockets and it should contain 4 parts of the program that is server,server-stub,client,client stub ....please post the reply as soon as possible............

  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

    Default

    My Hobby Project: LegacyClone

  3. #3
    readraviteja is offline Member
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Default

    please give me exact code which contains 4 parts
    1.client program calling a procedure that accepts an integer parameter
    2.client stub which doing marshalling the parameters. and give back to server stub
    3.server stub which gets the parameters from client stub and gives to the server.
    4.server then unmarshalls the parameters and then processes it(that is it should return result as next integer) and send to client in the reverse process.
    ex:
    if input is 1
    the server should process and result as 2 taht is next integer .
    please give me the code for all the 4 programs mentioned above.....
    All the above communication should be done using UDP datagram [packets and sockets]

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    Quote Originally Posted by readraviteja View Post
    please give me exact code which contains 4 parts
    ... and what will you do after that? Pass it as yours?
    Better do the work yourself and only ask if you get stuck with your code.

Similar Threads

  1. Execute A program from a Program!
    By Moncleared in forum Advanced Java
    Replies: 2
    Last Post: 02-22-2009, 04:17 PM
  2. Executing a program within a program
    By gibsonrocker800 in forum New To Java
    Replies: 5
    Last Post: 05-12-2008, 08:24 AM
  3. Replies: 0
    Last Post: 04-04-2008, 02:40 PM
  4. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Posting Permissions

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