SIMULATING QUEUES USING JAVA PROGRAMMING
A queue is a line of objects such as people or vehicles that are waiting for some service. In computing a queue is a list in which entries are deleted from one end and inserted at the other. Simulation allows us to study various queue properties and hence make appropriate and helpful decisions on the domain involved. This study uses component-based software engineering and Java programing to develop a possible solution for a queue with random arrivals and service completions. Inter arrival times and service times are assumed to have an exponential distribution. Users specify termination criteria such as the number of entries in queue and the stochastic behavior of the system under study.. Results show that component based object oriented programs are useful in understanding queues and can help in decision support systems.