Jump to content
We've recently updated our Privacy Statement, available here ×

andrin

Members
  • Posts

    2
  • Joined

  • Last visited

andrin's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare

Recent Badges

0

Reputation

  1. Hellow Everybody ! Im a student and i need a help to make a project for two days.I have to make this project : Design and implement a program in Java RMI JDBC that enables remote clients to control some parameters in a Documental Archive Building, which stores documents sensitive to temperature, light, humidity and ventilation. The correct parameter values should be as follows: • Temperature: between min= 13ºC and max=18ºC • Light: between min=65 lux and max 105 lux • Humidity: between min 20% and max=30% • Ventilation: open / close The objective of this practice is to develop a client/server program in Java RMI JDBC that offers to remote clients the following options, which enable to change the values of the parameters, through a contextual menu1: 1. Connect a remote client to the server application: A client (employee) requests to enter the application by providing its username and its password. a. if the username and password (verified at the database) are correct, the client enters the program and the options are shown to him. b. the username and password (verified at the database) are incorrect, the server should notify “You don’t have access to the application”. 2. A client (employee) can modify (increment and decrement the values of temperature, light and humidity and open/close the ventilation) and consult the value of each of the parameters above. When the introduced value is out of the specified interval, exceptions should arise and error notifications should be shown to the client. 3. Disconnect the user from application server. The data base should have two tables: • User, which keeps information on all users (clients): Id, name, surname, username, active or not, blocked or not, last entrance to the system. • Changes, which keep all changes done by a user in the parameter values. This is done to keep track of who did parameter changes. Each row of the table should contain the relative information on the user who did the changes, the date when changes took place and the new values of the parameters. To implement the program follow the steps below: 1. Design and implement the database in postgresql 2. Define the remote interface (only one remote interface in this case) 3. Implement the remote interface 4. Implement a Java server application 5. Implement a Java client application that uses the remote interface. 6. Compile all java sources (with javac) and further generate stubs and skeletons (with rmic) 7. Deploy and run the application For running and testing the application you can use the localhost. I tried to solve but can not until we've reached the end as not promised time, if you help will be given the honor of knowing. thank you.....best regards ! Andrin
×
×
  • Create New...