I am new to the Java RMI Concept. I am trying to implement the functionality of RMI by using Serialization to create a whiteboard. I want to make a "text based" version of the whiteboard. I have searched google and have only come across graphical whiteboards using RMI which are far to complex for what I am trying to accomplish. If anybody can show me an example or point me in the right direction...your help will be greatly appreciated.
What I am trying to implement.....Lets say there are figures (circle, square).
Using Java RMI I want the client show:
What type of figure has been listed previously:
(for example the output maybe like:
Client1> Circle, XCord, YCord, Count (4), Total (7)
Clien2> Square, XCord, YCord, Count(1) Total (1)
Client# -- The client connected
Circle/Square -- Shape of the drawing.
XCord, YCord -- X&Y Cordinates.
Count (#) -- Count of the specific shape made by the client.
Total (#) -- Total count of the specific shape created by all clients on the whiteboard.
)
The Client can input his selection and specify coordinates
For example:
Client1>C 100, 200
Client2>S 100, 300
Client# -- The client connected
C (Circle)-- Shape of the drawing.
S (Square)-- Shape of the drawing.
100, 200-- X&Y Cordinates.
Can anyone help me?