How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Scott Your Own Question

Scott
Scott, MIT Graduate
Category: Homework
Satisfied Customers: 3040
Experience:  MIT Graduate (Math, Programming, Science, and Music)
3546829
Type Your Homework Question Here...
Scott is online now
A new question is answered every 9 seconds

Using RMI, write an application prototype opinion poll

Customer Question

Using RMI, write an application for a prototype opinion poll system. Assume that only one issue is being polled. Respondents may choose yes, no or don’t care. Write a server application to accept the votes, keep the tally (in transient memory), and provide the current counts to those who are interested.
Write the interface file first. It should provide remote methods for accepting a response to the poll, providing the current counts (e.g., “10 yes, 2 no, 5 don’t care”) only when the client requests it.
Design and implement a server to
Export the remote methods, and
Maintain the state information (the counts). Note that the updates of the counts should be protected with mutual exclusion.
Design and implement a client application to provide a user interface for accepting a response and/or a request, and to interact with the server appropriately via remote method invocations.
Test your application by running two or more clients.
Submit listings of your files, which should include your source files (the interface file, server file (s), the client file(s)), a README file that explains the contents and interrelationship of your source files and the procedure for running your work and the screenshots of the running application.
Submitted: 8 months ago.
Category: Homework
Customer: replied 8 months ago.
this is about JAVA RMI
Expert:  Mr. Gregory White replied 8 months ago.

Hello, my name is Greg.

I see this might be time sensitive.

Do you still need this answered?

Customer: replied 8 months ago.
um hello mr greg, ialready finish that question thanks
Expert:  Mr. Gregory White replied 8 months ago.

Thanks for the update and all the best in your studies.