Professional Documents
Culture Documents
Department of Computer Sciences, College of Sciences and Arts in Unaizah, Qassim University,
Al-Qassim, Kingdom of Saudi Arabia
Article history: Abstract: Bus reservation system had actualized in different nations for
Received: 22-03-2020 years, at first from manual to automated reservation system. Online bus
Revised: 02-06-2020 ticketing and reservation administrations are adequately expanding in the
Accepted: 01-07-2020 market since it was propelled by Park May. Now, numerous individuals and
Corresponding Author:
organizations are beginning to gain insights of the express bus reservation
Hussain Mohammad Abu- system. Considering the bus ticket reservation system that has experienced
Dalbouh a constant development in the recent years, nevertheless the means for their
Department of Computer specifications are still underdeveloped. The Unified Modeling Language
Sciences, College of Sciences (UML) is a language for the specification, visualization and documentation
and Arts in Unaizah, Qassim of object-oriented software systems. There is a lot of potential value in
University, Al-Qassim, UML and diagrams in general. Existing UML diagrams can be utilized to
Kingdom of Saudi Arabia helpfully display conduct. Therefore, in order to understand the
Email: hussainmdalbouh@yahoo.com
development of bus reservation system, it is important to understand what
Sulaiman Abdullah Alateyah the requirements are on the complete web based bus reservation system.
Department of Computer Analyzing the web based bus reservation system by using UML
Sciences, College of Sciences diagrams. Consequently, the nature of theoretical models legitimately
and Arts in Unaizah, Qassim influences the nature of the comprehension of the application space and
University, Al-Qassim, the nature of the last programming items that are at last dependent on
Kingdom of Saudi Arabia them. In this study, we present (web based bus reservation system-
Email: salateyah@qu.edu.sa UML), the proposed extension to UML covers aspects of use case
diagram, sequence diagram, activity diagram and class diagram of the
web based bus reservation at the various views and diagrams of UML.
© 2020 Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah. This open access article is distributed under a
Creative Commons Attribution (CC-BY) 3.0 license.
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
practically impossible without enhancing their equipment that the improved practices will translate into higher-
and technology. Transportation administrators are therefore quality systems. By using UML iteratively in analysis
continually searching for the most recent innovation, which and design, can achieve a greater understanding between
will continue to increase revenues. In the express bus the business team and the IT team regarding the system
administration, an issue that might slow down the work requirements and the processes that need to occur in the
place is attempting to keep track of what is happening system to meet those requirements. Unified Modeling
throughout the reservation system with every costumer. Language is used to specify, visualize, modify, construct
Their stations, vehicles, ticket kiosk and other services and document the artifacts of an object-oriented
including general information such as maps and software-intensive system under development. During
destinations are required to keep the flow of transport this different diagrams are drawn according to need &
services moving. Delaying this development can cause over the types of requirement. The need of this study is to find
the top wastes in the all-out system of their organizations out the importance of different diagrams (class, use-case,
and pay. That is the inspiration driving why programming use case specification, sequence and activity) during
associations search for new and overhauled ways to deal software development. Why is it important to study
with assistance transportation providers in much better Unified Modeling Language? What are the benefits of
supervising staff and time obstacles. studying Unified Modeling Language? How can
Bus reservation systems are becoming increasingly addresses Unified Modeling Language in system analysis
important; nevertheless, the means for their requirements and design? How can adopt UML to understand and
are still underdeveloped. Hence, having clear and analysis the systems? The goal of this paper is understand
standardized behavioral requirements of bus reservation the development of bus reservation system. Therefore, it is
system would make it possible to determine the important to understand what the requirements are on the
properties and make them more comprehensive and less complete web based bus reservation system. In addition,
expensive. Such specifications, unfortunately, are barely analyzing the web based bus reservation system by using
used. The correspondence between a specification and UML diagrams. Thus, in this study, we present (web based
the software itself is even less frequent. Much of what bus reservation system-UML).
can technically be known as system specification is
actually being done with use cases in industry. Use cases Purpose of the Study
are an essential tool to capture software system
behavioral requirements. They are informal depictions The Unified Modeling Language (UML) is a language
usually written in natural language and thus they lack rigor for the specification, visualization and documentation of
and reasonableness of system properties. In the current object-oriented software systems. There is a lot of potential
study, we look at delivering the benefits of behavioral value in UML and diagrams in general. For building object-
specification practices to bus reservation on customer oriented programming, the Unified Modeling Language has
progress system by showcase the system analysis and become the accepted standard. This paper is meant to be
design as identified by the UML (OMG 2000). It analyses used as a starting point to help how to use Unified
UML diagrams and provides a Use-Case-driven approach Modeling Language notations. It reviews the diagrams that
to how these diagrams are used on web based bus comprise Unified Modeling Language (UML) and offers a
reservation system. In the various views and diagrams of Use-Case-driven approach on how these diagrams are used
UML, we present (web based bus reservation system), our to web based bus reservation system.
proposed extension to UML covering reservation aspects. The purpose of this paper is to showcase the system
The use of web based bus reservation system-UML is analyses and design of concept of a web based bus
demonstrated by means of reservation system. reservation system. It also, a precise form of system-
In this study illustrated Web based bus reservation level operation specification and an operation schema
system-UML using to have meaningful and standardized declaratively describes the effects of a system
behavioral specifications of resevation system would operation by using case model, actors, relationships
make it feasible to determine the properties and enable between the actors and the use case, interaction
more thorough and less costly. Web based bus between the actors, sequence, activity and class
reservation system-UML help to figure out what really diagrams of Web Based Bus reservation system as
need for analyzing, designing, modeling and figure out defined by the Unified Modeling Language (UML).
how to take something that is complicated, even messy
and turn it into something precise enough that can do. Literature Review: UML in Brief
A background information about the Unified Modeling
Motivation and Study Questions Language (UML) which standardized by the Object
UML is a powerful tool that can greatly improve the Management Group (OMG) is given along with web based
quality of the systems analysis and design and it is aimed bus reservation system. Then the related work is mentioned.
826
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
The UML, in brief, is a standard of true programming and capturing software system behavioral requirements.
industry, which demonstrating language for visualizing, The diagram is used to illustrate the modeling system's
determining, developing and archiving the components static behavioral parts of the use case perspective.
of frameworks mostly and programming frameworks
specifically (Booch et al., 2005). UML has a perfect Sequence Diagram
characterized grammar and semantics. It offers a rich This diagram depicts how the squares impart and
arrangement of conceptual antiquities to help in the portrays how each use case is provided by conveying
clarification and top-down optimization of item situated objects. This reveals how the objects of the cooperation
programming frameworks from prerequisites catch to the perceive the use case by their communication. It occurs
organization of programming parts. as squares send upgrades between one another. The
For building object-oriented programming, the principle motivation behind the configuration of use
Unified Modeling Language (UML) has become the cases is along these lines to characterize the conventions
accepted standard. UML is expanding on the now of the squares. It additionally, portrays a situation
profoundly effective standard, which has become an including different cooperating objects.
industry norm for demonstrating, structuring and
developing programming frameworks just as business Class Diagram
and logical procedures have been progressively summed This diagram shows the static class structure and their
up. UML has a well-defined structure of the language potential connections within the system. The class
and semantics. This gives a lot of ancient graphical diagram shows the squares of structure of any object
rarities to aid in the elicitation and top-down refinement orientated system. It portrays a static view of the model
of organized article programming frameworks from grab or part of it, showing its attributes and behavior. As
necessities to sending programming segments. opposed to itemizing the techniques for accomplishing
The Object Management Group (OMG) particular tasks. Class diagram are generally valuable in
expresses that The Unified Modeling Language (UML) representing connections among interfaces and classes.
is a graphical language for envisioning, indicating,
building and reporting the ancient rarities of a product Activity Diagram
serious framework. The UML offers a standard method This outline demonstrates exercises and activities
to compose a framework's outlines, including calculated to illustrate workflows. Activity diagram depicts step-
things, for example, business procedures and framework by-step work processes of parts in a system to the
works just as solid things, for example, programming
business and operational. Likewise, it shows the
language articulations, database mappings and reusable
general control progression.
programming segments. UML characterizes thirteen forms
of essential graphs divided into two general sets: Behavioral
diagrams and structural modeling diagrams. This paper will Related Work
address Web-based Bus Reservation System Use case, Software architects and engineers are facing
sequence, activity and class diagrams. challenges on their works due to the growth complexity
UML Diagrams of information systems (Fuentes-Fernández and
Vallecillo-Moreno, 2004). The concerns about the
A diagram includes model elements, for instance, programming code quality ad-hoc the attention of
classes, objects, nodes, parts and relationships, represented software engineers on the modelling aspects of the
by symbols of graphics. Moreover, a diagram may be process of system development (Fuentes-Fernández and
utilized to explain such framework viewpoints at various Vallecillo-Moreno, 2004). According to Mubin et al.
levels of abstraction. A use case diagram in the web based (2015) modeling is required to design web applications.
bus reservation system, indicates the usefulness of the web A system description written in a well-defined language
based bus reservation system brings the user's perception to refers to a model (Fuentes-Fernández and Vallecillo-
the table and characterized what should occur to different Moreno, 2004). In addition, (Fuentes-Fernández and
actors within our system. The UML diagrams which used Vallecillo-Moreno, 2004) stated that the Object
here are described in brief below. Management Group (OMG) identifies many modeling
languages, of which the most widely accepted and
Use case Diagram
used Unified Modeling Language (UML) is possibly.
The use case diagram describes the features within The development of standards for several software
the system and specifies the components of a system and engineering aspects, Unified Modeling Language
its users. This displays the actors and their interaction with (UML) for instance, has been proposed by the
the system's functions. It likewise, a particular method for consortium of the Object Management Group (OMG)
utilizing the system by operating some of the functionality (Colomb et al., 2006).
827
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
UML is a visual language for system artifacts to be Web Based Bus Reservation System UML
specified, constructed and documented. It is a language for by Example
modeling that can be used with all major object and feature
methods and can be extended to all application domains, These days the web gets one of the most significant
including transportations and implementation platforms divisions around the globe. The web has changed the
(Fuentes-Fernández and Vallecillo-Moreno, 2004). The manner in which those individuals take a gander at the
Unified Modeling language is an extensible software design life. Utilizing the web reserves the spot frameworks the
language including applications for web and database, least demanding approach to carry out this responsibility.
modeling for business, data warehouses and legacy systems The web booking to travel toss plane or transport is
(Pathak et al., 2017). The design of web applications currently in the scope of our hand at home.
becomes challenging and raises many concerns, particularly The online Bus reservation provides better facilities to
with regard to modeling approaches (Mubin et al., 2015). the travelling public. There are many existing features have
been modified as given like the Advance booking being
Abu-Dalbouh (2019; Abu-Dalbouh and Almueit,
made for all long distance services. Difference new features
2013; Abu-Dalbouh, 2013) discussed the functionality of
have been included that covered under the online bus
the Mobile Tracking on Patient Progress System by reservation system at a single counter irrespective of the
using use case diagram. Abu-Dalbouh (2014a; 2014b) starting point and destination of the traveler's starting point
discussed (Mobile Tracking on Patient Progress System- and finishing point of excursion and administration.
UML example), the study covered aspects of mobility Travelers will board the traveler's administration to the Start
from the different UML viewpoints and diagrams. Abu- Place and reroute transport remains where appropriate.
Dalbouh (2018) describes the extensions made in each Synchronous booking of tickets for the onward and return
UML diagram, to allow the proposed system to be trips is allowed. In the case of a gathering for example,
clearly described. Then, modifications to the UML. Abu- name, age, gender, address, telephone number, email ID
Dalbouh et al. (2019) are describing the functionality of the (discretionary) will be collected for the purpose of creating
Electronic Health Record system by using use case a traveler database and communication if emergencies arise.
diagram. Abu-Dalbouh et al. (2020) are describing the Tickets can be dropped at any of the counters
functionality of the Application of Physics Experiments irrespective of the place of reservation, including
of High School by Using Augmented Reality system by franchisees subject to the following conditions: Cancelation
at Franchisee counters until the production reservation is
using use case diagram. Between 2001 and 2008,
approved for that administration. Typically, this period will
Pretorius and Budgen (2008), reviewed 33 articles
be a day of launch time of the administration at the
providing empirical evidence on the use of UML
Originating place. Tickets with limitations will be checked
diagrams and notations. They noticed that perception and according to the above methodology. Nonetheless, the full
measurements were the essential themes for entry of the ticket (not a restricted passage) would result in
experimenting using only the abstracts. The authors the crossing of charges and the discount amount will be toll
argued that the quality of the model and reception collected less retraction costs. In addition, cancelation fees
encounters worth more study. Concentrating on are as appropriate for legitimate tariffs as they were. Return
consistency in UML models only, 44 articles published Journey Discount of 10 per cent is offered only if the
between 2001 and 2007 were reviewed by (Lucas et al., traveler both books ahead and travels all the time (in single
2009). That is, at least two UML charts cross- exchange). The following paragraphs shows the extensions
sectional forming a complete UML model. They made in every one of the UML diagrams to permit the
conclude that consistency of the UML model is a unequivocal portrayal of the proposed system. First, List the
profoundly dynamic and promising research line, functional and non-functional requirements of the system.
however there are some significant holes in writing. Then, modifications to the UML is shown. In the priority
The researchers address these gaps by presenting a column, the following short hands are used:
proper consistency the executives language. M-Mandatory requirements (something the system
Mohagheghi et al. (2009) reviewed 40 primary studies must do)
published between 2000 and 2007. Their research D-Desirable requirements (something the system
inspected quality practices, the styles of models and preferably should do)
modeling methods addressed in the literature and quality -Optional requirements (something the system may do)
goals. In their reviewed papers the authors defined six
quality goals: Correctness, completeness, consistency Functional and Non-Functional Requirements
human and tool comprehensibility, confinement and The complete list of the system requirements (the
changeability. They also acknowledged six quality functional requirements and Non-Functional Requirements)
approaches, the majority of which were UML models. are shown in Tables 1 and 2.
828
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
829
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
The third actor is Manager can be interacting with the other. The principle motivation behind the use case
system by pressing <<Log in as Manager>>. The configuration is therefore to characterize the conventions of
Manager should write his/her name and password to the blocks (Booch et al., 2005; Rumbaugh et al., 1999;
access the system from the page that the system shows it. Oestereich, 2002; Scott, 2001).
Thus, Consequently, the Manager interact with the In fact, for every use case/function in the system can
services of the web based bus reservation system such as have a sequence diagram. Therefor this study describes in
View Main Page, Manage Bus Schedule, Search Buyer Fig. 2 the Login as administrator. Figure 3 Update bus
and reservist Information, Canceling Reservation, schedule, Fig. 4 Booking trip and Fig. 5 Payment sequence
Update Reservation and Update Bus schedule. Figure 1 diagram shows that the buyer must choose trip and select it.
shows the use cases of the web based bus reservation Then, the system will respond to the buyer trip and will
system containing the three actors. open page to view the bus schedule details. The system will
Sequence Diagram respond to the buyer trip and will display the trip details.
The buyer can select to pay by smart card or act. After that
It describes how each use case is offered by conveying buyer, the presses submit to the system. The system will
objects. The diagram shows how the cooperation objects save all information then display the ticket. The buyer must
understand the use case through their communication. The
print the ticket once the system display the ticket.
connection happens as blocks send stimuli between each
<<include>>
Validate Log in
<<include>>
Administrator Booking trip
Buyer registration
Payment
<<extend>>
Add new manager
Manage information <<extend>>
manager Manager
<<extend>> Update manager
information
Delete manager
Search buyer and
reservist information
Fig. 1: Main use case (It shows that web based bus reservation system have many cases and some cases extended to other cases)
830
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
Get data
Verify
Fig. 2: Login as administrator (It shows the first step where the administrator must enter her/his name and password. After that, the
prototype check the data that entered is it true or not)
Get data
Verify
Display data
Update the data
Fig. 3: Update Bus schedule (The steps to update bus schedule through enter the key by manager)
831
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
Get data
Verify
Display message
Fig. 4: Booking trip (The steps to make reservation from the system, start when the buyer press booking Trip button. Then the Buyer enter
data and location)
Get data
Verify
Save information
Display message
Fig. 5: Payment (The steps to make payment from the system, start when the buyer payment button)
832
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
Used Invalid
Submit
Successful registration
Fig. 6: Buyer Actor login (Figure 6, describes how the buyer login. Two types of login for a new buyer and existing buyers to access
privileges to functions in the web based bus reservation system. For the existing buyer should enter the user name and
password to access the system while the new buyer should register by entering username and password and fill the
Registration form)
833
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
Login
Booking trip
Payment
Fig. 7: Buyer makes reservation (In the above Buyer makes reservation activity diagram, seven activities are specified. When the
Buyer view bus schedule checking process begins buyer select the date and time, seat No and direction for the trip for
booking trip then the buyer should pay. After performing the activity, finally, the process is terminated at termination node)
Submit Submit
834
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
Open page
manager
Cancel Cancel
Submit
WB-BRS controller
Administrator Buyer
Interface() <<PK>> Buyer ID
<<PK>> Admin ID Buyer() Buyer name
Admin name Buyer password
Admin password Administrator()
Manager() 1 1..* Buyer phone
Admin phone Consist of Buyer e-mail
Address Payment() Address
E-mail
1..* Reservation()
has
Reservation()
Access() Bus schedule() View bus schedule()
View bus schedule() Payment()
Manage info manager() 1 1 1 1
Search buyer and manage profile()
1 Booking trip()
1 Access info()
Access 1
Access
1 1 has
Main page 1 1
0..*
View 0..*
Check buyer()
has
Check manger()
has Check admini() View
Manager 0..*
1..*
<<PK>> ManagerID Access has
Manager name
Manager password 1 1 1
Address Bus schedule
E-mail 1 Pays
Manager phone Bus NO
Access()
Manage Time&Date
View bus schedule() 1
Update bus schedule()
1 Direction
Update reservation()
Cancelling reservation()
Search buyer info&resrvist()
1
Manage
Reservation 1
1
Buyer name Payment
0..* Buyer e-mail
Buyer address
Buyer phone 0..* Makes Accounting()
Bus no
Set no
Time&Date of trip
Direction
835
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
836
Hussain Mohammad Abu-Dalbouh and Sulaiman Abdullah Alateyah / Journal of Computer Science 2020, 16 (6): 825.837
DOI: 10.3844/jcssp.2020.825.837
Fuentes-Fernández, L. and A. Vallecillo-Moreno, 2004. OMG, 2000. Omg unified modeling language
An introduction to UML profiles. UML Model Eng., specification. Reported on.
2: 6-13. Pathak, N., B. Singh and G. Sharma, 2017. UML 2.0
Lucas, F.J., F. Molina and A. Toval, 2009. A systematic based framework for the development of secure web
review of UML model consistency management. application. Int. J. Inform. Technol., 9: 101-109.
Inform. Software Technol., 51: 1631-1645. DOI: 10.1007/s41870-017-0001-3
DOI: 10.1016/j.infsof.2009.04.009 Pretorius, R. and D. Budgen, 2008. A mapping study on
Mohagheghi, P., V. Dehlen and T. Neple, 2009. empirical evidence related to the models and forms
Definitions and approaches to model quality in used in the UML. Proceedings of the 2nd ACM-
model-based software development-a review of IEEE International Symposium on Empirical
literature. Inform. Software Technol., 51: 1646-1669. Software Engineering and Measurement, (SEM’
DOI: 10.1016/j.infsof.2009.04.004 08), ACM, pp: 342-344.
Mubin, S.A., A.H. Jantan, R. Abdullah and A. DOI: 10.1145/1414004.1414076
Kamaruddin, 2015. UML-based navigational design Rumbaugh, J., I. Jacobson and G. Booch, 1999. The
approach for modeling complex interactions in web Unified Modeling Language (UML) reference
applications. Proceedings of the Malaysian Software manual. Addison Wesley Longman Inc, USA,
Engineering Conference, Dec. 16-17, IEEE Xplore Massachusetts.
Press, Kuala Lumpur, Malaysia, pp: 60-63. Scott, K., 2001. UML Explained. Addison Wesley.
DOI: 10.1109/MySEC.2015.7475196
Oestereich, B., 2002. Developing Software with UML:
Object-Oriented Analysis and Design in Practice.
1st Edn., Addison-Wesley Longman Publishing Co.,
Inc. 020175603X, pp: 320.
837