TRAVEL PORTAL
-
Upload
gaurav-kumar -
Category
Documents
-
view
30 -
download
0
Transcript of TRAVEL PORTAL
1
Travel Portal
Prepared by Supervised
by Gaurav Kumar
Nupur Bansal
Bhavya Agarwal
2
Agenda
• Introduction
• Technology stack
• Use Case Diagram
• 4+1 View Diagrams
• N-Tier Architecture Diagram
• Sonar Report
3
Introduction
Portal will be used by Visitor, Registered User and Admin
• Unregistered user can search flights, self-register and can view
offers.
• Registered user can search a flight, book and cancel ticket,
update profile, view top deals and own travel history and receive
email etc.
• Admin of the portal can manage flights, manage flight
schedules(via CSV file upload) ,manage offers (via XML file
upload) and generate PDF report.
4
5
• Application Framework : Struts 2
• Back-End ORM Technology : Hibernate
• Build Tool : Maven
• Database : My SQL
• UI : JavaScript, JQuery, Ajax, JSON, CSS
• Logging Framework : Log4j
• Testing: JUnit 4.4
• Code Analysis: Sonar
• Extra API: Java Mail API(Mailing), SAX parser(XML file Reading), Quartz (Scheduler)
Technology Stack
6
N-Tier Architecture Diagram
Presentation Layer (VIEW)Contains Web pages to provide User Interface
Using: JSP, HTML, CSS, JSON, AJAX, JS, JQuery
Business LayerContains business logic
Controller
Data Access LayerContains Dao classes have methods to communicate with DB
Domain
Objects
(Models)
Hibernate (ORM)
Database
(MySql)
4+1 View
8
• Process View (Activity Diagram)
• Logical View (ER Diagram, Class Diagram,
Sequence Diagram)
• Development View (Component Diagram)
• Physical View (Deployment Diagram)
Activity
Diagram
9
ER Diagram
10
11
Class Diagram
12
Login Sequence Diagram
Component Diagram
13
14
Deployment Diagram
Sonar Report
15
Summary
16
Travel Portal is a portal for booking flight tickets and several other
functionalities. It uses struts2 as framework, hibernate as the ORM tool,
Maven as the build tool and views are created using jsp, Ajax, json, html,
jquery etc.
Following is the code quality report generated using SONAR :
• Code quality: Rule Compliance(100%)
Unit Test Coverage(81.1%),
Documentation(75%),
• Code Complexity: Per Method: 1.6
Per Class: 4.7
Per File: 4.7
Questions
17
Thank You!
18