Monday, December 29, 2008

MicroVillage Application in RMI

What MicroVillage Does?



Rajneshwar Prasad




Untitled Document

Aim

To overcome the problems that are faced by the public when buying tickets i.e. by introducing multi-customer service at multiple counters.

--------------------------------------------------------------------------------------------------

MicroVillage

What MicroVillage do?

There is a server and several clients.


Server acts as the counter at Village.
Client comes and chooses the server name(computer name).





By clicking the button "Check for Movies", the client is connected to the counter (server).

The server then accepts the call and returns to the client the movies available on that day. (The

Listbox is populated with the movies).


The client then chooses the movie and the server then updates the "Time" textfield.
Client after choosing the movie enters the age and clicks on the button "BUY".
Server gets the age from the

client and checks in the database if client qualifies for the selected

movie. If he does he is prompted for that in the

"Message to Notify" textarea.If he/she does not then the user is prompted for that:







For receipts the "Print Your Receipt" button is pressed and the receipt containing the cinema name, movie name, price and other details are printed out.

If the number of empty seats are zero then a hou

se fu

ll message is prompted















------------------------------------------------------------------------------------------------
MicroVillage

Steps for running MicroVillage…


Set the Data Source Driver from control
panel. Name it as "Village".

Database attached is named as "Village.mdb"













---------------------------------------------------------------------------------------------
For source codes and Database please do e-mail me: rajneshwar@gmail.com

No comments: