Hello, I need the Application for my college in 56 hours:
A camera with built-in motion detection sensor "watches"' a space controlled by an RMI server. Whenever the sensor detects motion, the server generates a motion event, giving it a time stamp and sends it to all RMI clients that have expressed interest in such events. Besides the server sends motion event to each client and an image file that contains a snapshot of motion detected. The client application implements a simple GUI which records the events received and displays the last image taken (see. Figure 1 attached). The server should serve multiple clients simultaneously.
The server simulates the operation of the motion sensor agent sequentially traffic events in a random, with a time-distance of a few secs (e.g., up to 2-5 ses). To obtain a rotation of the image between successive events that take your customers, two png files are attached, that you should use as the snapsot camera that ships upon detection of motion.
The nature of the application is such that the client should not do polling to the server for VISIBLE events, but the server should notify clients via callback methods. This means that every lient should be able to export some of its methods that can be called remotely by the server. Each client respectively registers in the service the server offers, and when the server terminates, client stops sending of notifications.
Implement a distributed application using Java RMI. The application will be implemented in NetBeans and should be able to run through the tool environment without the need for external intervention (eg external execution of registry). If you need to specify a path to an external file, it should be relative and not absolute so that no problems arise during the deployment of the application.
As long as there is no dynamic load of classes from the network, you can not implement a security manager or security policy for this application.
Finally, include, if necessary, special instructions for running the application.