online bus reservation system
DESCRIPTION
testTRANSCRIPT
Submitted by
RANIT
IGNOUMCA(3RD yr.)
ONLINE BUS RESEVRATION
SYSTEM
INDEX TABLE OF CONTENT
Acknowledgement.Certificate.Abstract.Introduction.Methodology to develop the project.Recommended Software requirements.Software interface.Hardware Requirements.Hardware interface.Functional Requirements.
Non-Functional Requirements.Data-Flow-Diagram.E-R Diagram.Use-case or UML.Database- Structure.Snapshots of project.Testing.Future scope.Conclusion.
Acknowledgement
In completing this project we have been fortunate to have help, support
and encouragement from many people. We would like to thank them for
their cooperation.
First, we would like to thank our all teachers of TIH and HOD
MR .SubrataSaha for guiding us through each and every step of the process
with knowledge and support.
Thankyou for your advice, guidance and assistance.
CERTIFICATE
This is to certify that this projectentitled “ONLINE BUS RESERVATIONH SYSTEM” in J2EEin the year 2015 .Submitted by Ms. ShraddhaChakraborty as Assigned Project
(major) for the partial fulfillment of degree of Bachelor of computer Application is worth of acceptance.
Student NameUniversity Roll-No. College Name Signature
ShraddhaChakraborty 121521010014 Techno India Hooghly Campus
_________________________________ ___________ ___________________
(Signature of Project Mentor)(Mr. SubrataSaha)
Head of the Department
BCA
Techno India Hooghly Campus
CERTIFICATE
This is to certify that this projectentitled “ONLINE BUS RESERVATIONH SYSTEM” in J2EEin the year 2015 .Submitted by Ms. DebaratiMallick as Assigned Project(major) for the partial fulfillment of degree of Bachelor of computer Application is worth of acceptance.
Student NameUniversity Roll-No. College Name Signature
DebaratiMallick 121521010022 Techno India Hooghly Campus
_________________________________ ______________________________
(Signature of Project Mentor)(Mr. SubrataSaha)
Head of the Department
BCA
Techno India Hooghly Campus
What is j2ee:J2EE (Java 2 Platform, Enterprise Edition) is a Java platform designed for
the mainframe-scale computing typical of large enterprises. Sun
Microsystems (together with industry partners such as IBM) designed J2EE
to simplify application development in a thin client tiered environment.
J2EE simplifies application development and decreases the need for
programming and programmer training by creating standardized, reusable
modular components and by enabling the tier to handle many aspects of
programming automatically.
J2EE includes many components of the Java 2 Platform, Standard
Edition (J2SE):
The Java Development Kit (JDK) is included as the core language package.
Write Once Run Anywhere technology is included to ensure portability.
Support is provided for Common Object Request Broker Architecture
(CORBA), a predecessor of Enterprise JavaBeans (EJB), so that Java objects
can communicate with CORBA objects both locally and over a network
through its interface broker.
Java Database Connectivity 2.0 (JDBC), the Java equivalent to Open
Database Connectivity (ODBC), is included as the standard interface for
Java databases.
A security model is included to protect data both locally and in Web-based
applications.
J2EE also includes a number of components added to the J2SE
model, such as the following:
Full support is included for Enterprise JavaBeans. EJB is a server-based
technology for the delivery of program components in an enterprise
environment. It supports the Extensible Markup Language (XML) and has
enhanced deployment and security features.
The Java servlet API (application programming interface) enhances
consistency for developers without requiring a graphical user interface
(GUI).
Java Server Pages (JSP) is the Java equivalent to Microsoft's Active Server
Pages (ASP) and is used for dynamic Web-enabled data access and
manipulation.
The J2EE architecture consists of four major elements:
The J2EE Application Programming Model is the standard programming
model used to facilitate the development of multi-tier, thin client
applications.
The J2EE Platform includes necessary policies and APIs such as the Java
servlets and Java Message Service (JMS).
The J2EE Compatibility Test Suite ensures that J2EE products are
compatible with the platform standards.The J2EE Reference
Implementation explains J2EE capabilities and provides its operational
definition.
What is JDK ?
What is eclipse ?
version of eclipse:
In computer programming, Eclipse is an integrated development In computer programming, Eclipse is an integrated development environment (IDE). It contains a base workspace and an extensible environment (IDE). It contains a base workspace and an extensible plug-in system for customizing the environment. Written mostly in plug-in system for customizing the environment. Written mostly in Java, Eclipse can be used to develop applications. By means of various Java, Eclipse can be used to develop applications. By means of various plug-ins, Eclipse may also be used to develop applications in other plug-ins, Eclipse may also be used to develop applications in other programming languages: Ada, ABAP, C, C++, COBOL, Fortran, programming languages: Ada, ABAP, C, C++, COBOL, Fortran, Haskell, JavaScript, Lasso, Lua, Natural, Perl, PHP, Prolog, Python, R, Haskell, JavaScript, Lasso, Lua, Natural, Perl, PHP, Prolog, Python, R, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy, Scheme, and Erlang. It can also be used to develop packages for the Scheme, and Erlang. It can also be used to develop packages for the software Mathematica. Development environments include the Eclipse software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others.C/C++ and Eclipse PDT for PHP, among others.The initial codebase originated from IBM VisualAge.[2] The Eclipse The initial codebase originated from IBM VisualAge.[2] The Eclipse software development kit (SDK), which includes the Java development software development kit (SDK), which includes the Java development tools, is meant for Java developers. Users can extend its abilities by tools, is meant for Java developers. Users can extend its abilities by installing plug-ins written for the Eclipse Platform, such as installing plug-ins written for the Eclipse Platform, such as development toolkits for other programming languages, and can write development toolkits for other programming languages, and can write and contribute their own plug-in modules.and contribute their own plug-in modules.
What is tomcat?Apache Tomcat is an open-source web server and servlet container developed Apache Tomcat is an open-source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements several Java by the Apache Software Foundation (ASF). Tomcat implements several Java EE specifications including Java Servlet, Java Server Pages (JSP), Java EL, EE specifications including Java Servlet, Java Server Pages (JSP), Java EL, and Web Socket, and provides a "pure Java" HTTP web server environment and Web Socket, and provides a "pure Java" HTTP web server environment for Java code to run in.for Java code to run in.Tomcat is developed and maintained by an open community of developers Tomcat is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation, released under the under the auspices of the Apache Software Foundation, released under the Apache License 2.0 license, and is open-source software.Apache License 2.0 license, and is open-source software.FeaturesFeatures
Apache Tomcat is an open-source web server and servlet container developed Apache Tomcat is an open-source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements several Java by the Apache Software Foundation (ASF). Tomcat implements several Java EE specifications including Java Servlet, Java Server Pages (JSP), Java EL, EE specifications including Java Servlet, Java Server Pages (JSP), Java EL, and Web Socket, and provides a "pure Java" HTTP web server environment and Web Socket, and provides a "pure Java" HTTP web server environment for Java code to run in.for Java code to run in.Tomcat is developed and maintained by an open community of developers Tomcat is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation, released under the under the auspices of the Apache Software Foundation, released under the Apache License 2.0 license, and is open-source software.Apache License 2.0 license, and is open-source software.FeaturesFeatures
Version of tomcat?
AbstractIn this project the working details are:
Login: In this project there is two part admin and user or customer.admin
specially log in with his own id and password.user can register before log
in.
Search for bus: In this part user give their required start zone and stop
zone and click on search. Then all search information shown on the screen.
Book a Ticket: After seeing all information about bus if customer book
a ticket then click on the option BOOK A TICKET and give all the
information about ticket then click on the BOOK option .The is
automatically booked.and all booking information shown on the screen.
And bill will be generated.
Cancel a ticket: If customer cancel their ticket then click on CANCEL A
TICKET option .then the ticket will be cancelled and total no of seat
increased.
IntroductionOur project is about Online Bus Reservation System.It is a website
where User can Book their bus tickets as per their
requirements.There are two section in this website.Admin and
User.Admin can log in with his Fixed User id and Password.After
login admin can view all details and also insert,update and delete
information.in case of user ,at first user can register for log in.after
registration user can easily get into the website .User can search
for their bus by giving their Starting and ending destination.After
searching User booked their bus tickets .after booking User can
see all the booking details.it is automatically generated.user easily
Book their bus tickets and also cancel their bus tickets.
Methodology to develope the project
1.Firstly we are designing the Data flow diagram of the project. We are visualized that how many relations are there and how they are connected.2.After that we make the Entity Relationship diagram through which we can understand that how the relations are bond with a proper cardinality. and we are design our table structure.3.Then we design the project. Design our Jsp (java server page) page.then started the coding part. then we r connected the database with our project. we are using postgresql.4.after that we are using css templates on our project for designing.
SOFTWARE AND HARDWARE REQUIREMENT SPECIFICATION
FOLLOWING ARE THE REQUIREDSPECIFICATIONS:
HARDWARE SPECIFICATIONS
Intel core i3 or above. 4GB RAM or above. 500GB hard disk or above. Network Interface.
SOFTWARE SPECIFICATION:
Operating system : Windows 7Framework : JspApplication software : EclipseProgramming language : javaDatabase : PostgreSqlTechnology : JspWeb Server : Tomcat 7.0
Specific Requirements:
External Interfaces Requirements:
Software Interface:
For serverWindows 7EclipseTomcat 7.0
For Client
Windows 7 or abovejsp Web Browser like Microsoft Internet Explorer, Mozilla Firefox, Google Chrome etc.
Hardware interface:
For Server- Intel core i3 or more4gb RAM500 hard diskNetwork Interface
For Client-Intel core i3 or more4gb RAMNetwork Interface
Life Cycle Model :
Feasibility study
RequirementAnalysis andSpecification
Coding and unitTesting
Design
DATA FLOW DIAGRAM
DEFINATION:-
Information moves through software, it is modified by series of transformation. A DATA FLOW DIAGRAM is graphical representation that depicted information flow and data moves from input to output. DFD’s don’t supply the detailed description of modules but graphically describes system’s data and how the data interact with the system. The information flow continuity also maintained i.e. input and output to each refinement must remain the same.
We use many symbols to represent DFD in our project:-
ARROWS:Represents the data flow.
Maintenance
Integration andSystem testing
CIRCLE:Represents a process that
Transforms data from one
Form to another form.
RECTANGLE:Represents entity.
Data Flow Diagrams:
Context Diagram level-0 :
DFD level 1 for Customer:
DFD level 1 for Admin:
DFD level 2:
ENTITY – RELATIONSHIP DIAGRAM MODEL:
Based upon the proposed modules and sub modules the tables with their attributes and designed and the relationship between them is sketched with the help of an ERD. E-R diagram can express the overall logical structure of the database graphically.
ERD maintains all the cardinality of the entity.
The Entity Relationship Diagram:
The Use Case Diagram:
Customer Books
Cancels
Reservation
For
BusBus_route
Start_zone
A_time
Bus_type
Total_seat
Bus_name
D_time
Bus_id
End_zone
Ticket_cost
User_name
password
contact_no
pin
Address
NameCustomer _id
Voter_id
Age
confermation
Ticket Booking
Total price
Booking date
Start_zone
No of tickets
End_Zone
IMPLEMENTATION DETAILS
a. One Home Page named as “master.jsp”.
b. User Login Page named as “Login .jsp” .
c. Registration Page named as “user_registration.jsp” .
d. Administrator page for insert bus information “admin.jsp”.
e. Our Project Team details page named as “About us.jsp”.
RESULT & DISCUSSIONS
Testing:
Testing is an investigation conducted to provide stakeholders with information about the quality of the product or service under test. Software testing also provides an objective, independent view of the software to allowthe business to appreciate and understand the risks at implementation of the software.
.MAINTENANCE
Customer_registration.jsp:
Login.jsp:
Search.jsp:
Busbook.jsp:
Bus-info.jsp:
Welcome.jsp:
Bus-info servlet:
Bus-booking servlet:
Search servlet 3:
FUTURE SCOPE AND LIMITATION
THE LIMITATIONS ARE
Although, the approach of this project is small, we have tried to have minimal limitations and also make it bug and error free.
The limitations possible with this project may be:
Though the project is small user can not get the real time effect of paying for the ticket and after cancellation money back.
The website can easily get effected by virus because it is connected with Internet.
Usercan not update their profile and if any new bus is added user can not get any notification .
FUTURE SCOPE
Scope of the project is very broad in terms of other manually taking
exams. This project will have a very bright future if the following can be
incorporated:
Few of them are:-
Including a self-defined encryption logic to encrypt the passwords.
There is a lot of scope for developing this project .in the next part we wil develop real time paying system.User can book their sits as per their requirement like window sit ,back sit, front sit.
CONCLUSION
‘Online Bus reservation system’ is a website for all type of people who are actually the needed one. Anyone can book their bus tickets by log in to the website without any hazards. Hence we have developed the website “Online Bus reservation System” to fulfilling these demands and customer will get every comfort by their journey without giving any service tax .ticket availability is high and the needy customer will get the proper service.