An RMI based Swing Application


I wrote this swing application to do the RMI implementation for one of my grad-level course project assignments. The underlying architecture is based on RMI.
Following is the use case diagram for the implementation.



Use Case Diagram: Airline Reservation System
Following is the package diagram of the project. The application was written in NetBeans 6.5.

Package Diagram


Class Diagram

The following image shows the Airline Headquarters user interface view. The HQ can enter new airplane records or can view all records present in the database. The "connect to Server" button performs the Naming.Lookup to look for the bound remote interface object. Considering that the remote object is already bound to the java.rmi.Naming. Once the instance of the remote object is obtained, all functionalities can be performed.

Airline Headquarters UI

View All Records UI
The following images show the travel agent user interface view. A travel agent can search for a seat or can reserve a seat if that flight has enough capacity.

Search for a Reservation
The following image shows the different types of searches which the travel agent can perform on the airline records.

Reservation Search UI
Once, a flight having enough seats is found, the travel agent can then reserve a seat for the passengers. After a reservation is successfully made, a confirmation window is displayed showing all the details entered.


Seat Reservation


Seat Reservation Confirmation


Comments

Can u pls mail the source code of this project to rudhanster@gmail.com??
This is just for academic purpose....
Faraz Rafi said…
I am sorry but I don't have the source code anymore. Thank you for your interest.

Popular posts from this blog

Type casting problem while unmarshalling XML objects using JAXB

Second Interview at Seattle, Microsoft HQ (Part I)

My J2EE/Component Based Software Design Projects