TRAVEL PORTAL

499 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
499
On SlideShare
0
From Embeds
0
Number of Embeds
26
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

TRAVEL PORTAL

  1. 1. 1
  2. 2. Travel Portal Prepared by Supervised by Gaurav Kumar Nupur Bansal Bhavya Agarwal 2
  3. 3. Agenda • Introduction • Technology stack • Use Case Diagram • 4+1 View Diagrams • N-Tier Architecture Diagram • Sonar Report 3
  4. 4. 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. 5. 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. 6. 6 N-Tier Architecture Diagram Presentation Layer (VIEW) Contains Web pages to provide User Interface Using: JSP, HTML, CSS, JSON, AJAX, JS, JQuery Business Layer Contains business logic Controller Data Access Layer Contains Dao classes have methods to communicate with DB Domain Objects (Models) Hibernate (ORM) Database (MySql)
  7. 7. Use Case Diagram 7 ?
  8. 8. 4+1 View 8 • Process View (Activity Diagram) • Logical View (ER Diagram, Class Diagram, Sequence Diagram) • Development View (Component Diagram) • Physical View (Deployment Diagram)
  9. 9. Activity Diagram 9
  10. 10. ER Diagram 10
  11. 11. 11 Class Diagram
  12. 12. 12 Login Sequence Diagram
  13. 13. Component Diagram 13
  14. 14. 14 Deployment Diagram
  15. 15. Sonar Report 15
  16. 16. 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
  17. 17. Questions 17
  18. 18. Thank You! 18

×