sharing hotel information rep
TRANSCRIPT
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 1/69
ONLINE EXAMINATION SYSTEM
Sandeep Kumar (0832113027)
Ashwani Tomar (0832113005)
Jitendra Arya (0832113014)
Name of supervisor: Mr. Rajiv Kumar
May – 2012
Submitted in partial fulfillment of the Degree of
Bachelor of Technology
DEPARTMENT OF INFORMATION TECHNOLOGY
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 2/69
[Providing Online Exam] [2012]
2 Translam Institute Of Technology & Management , Meerut(321)
TRANSLAM INSTITUTE OF TECHNOLOGY & MANAGEMENT
MEERUT
TALBLE OF CONTENTS
Chapter No. Topics Page No.
Certificate from the Supervisor 05
Acknowledgement 06
Summary 07
List of Figures 08
Chapter-1 Introduction . . . . . . 09-14
1. Introduction . . . . . 10
1.1 Purpose of the system 11
1.2 Objective . . . . 12
1.3 Scope . . . . 12
1.4 Model Used . . . . 13
Chapter- 2 Product Prespective . . . . 15-17
2. Product Prespective . . . . 16
2.1 User Characteristics . . . . 17
Chapter- 3 Feasiblity Study . . . . . 18-21
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 3/69
[Providing Online Exam] [2012]
3 Translam Institute Of Technology & Management , Meerut(321)
3. Feasiblity Study . . . . 19
3.1 Technical Feasiblility . . . . 20
3.2 Economical Feasiblity . . . . 20
3.3 Operational Feasiblity . . . . 21
Chapter-4 Programming Language Used . . . . 22-36
4. Programming Language Used . . . 23
4.1 About the ASP.Net technology . . . . 24
Chapter-5 Hardware & Software Specification . . . 37-38
5. Hardware & Software Specification . . 38
5.1 Software Specification . . . . 38
5.2 Hardware Specification . . . . 38
Chapter-6 Testing . . . . 39-42
6. Testing . . . . 40
6.1 System Testing . . . . 40
6.2 Various Testing Approach . . . . 40
6.2.1 Black Box Testing . . . . 40
6.2.2 White Box Testing . . . . 41
6.2.3 Unit Testing . . . . 41
6.2.4 Integration Testing . . . . 41
6.2.5 Validation Testing . . . . 42
6.2.6 Output Testing . . . . 42
6.2.7 User Acceptance Testing . . . 42
Chapter-7 Appendix . . . . 43-52
7. Appendix . . . . 44
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 4/69
[Providing Online Exam] [2012]
4 Translam Institute Of Technology & Management , Meerut(321)
7.1 Screen Layouts . . . . 44
Chapter-8 Analysis . . . . 53-60
8. Analysis . . . . 54
8.1 Data Flow Diagram . . . . 54
8.2 Entity-Relationship Diagram . . . 58
8.3 Modular Description . . . . 60
Conclusion . . . . . 61
Bibliography & Refrences . . . . 62
Bio data (Resume) . . . . 63-68
………………………………………………..
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 5/69
[Providing Online Exam] [2012]
5 Translam Institute Of Technology & Management , Meerut(321)
CERTIFICATE
This is to certify that the work titled “Online Examination System“ submitted by “Sandeep
Kumar, Jitendra Arya and Ashwani Tomar” in partial fulfillment for the award of degree of B.
Tech of Translam Institute of Technology & Management, Meerut has been carried out under my
supervision. This work has not been submitted partially or wholly to any other University or
Institute for the award of this or any other degree or diploma.
Signature of Supervisor ……………………..
Name of Supervisor: Mr. Rajiv Kumar
Designation: Asstt. Professor
Date ……………………..
Signature of HOD …………………..
Name of HOD: Mr. Ankur Shree Aggarwal
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 6/69
[Providing Online Exam] [2012]
6 Translam Institute Of Technology & Management , Meerut(321)
ACKNOWLEDGEMENT
I would like to express my sincere thanks to Mr.Rajiv Kumar for providing us the opportunity to
work on this extremely interesting and important topic. His guidance and support have been a
constant source of encouragement throughout the work of this project. It has been a great honour to
have worked under his supervision. His valuable suggestions and feedback at every critical phase
throughout the work were of utmost importance for timely completion of the project. His
tremendous knowledge about the subject has gone a long way in ensuring the successful completion
of this project.
Signature of the student ……………………..
Name of Student Ashwani Tomar
Date ……………………..
Signature of the student ……………………..
Name of Student Jitendra Arya
Date ……………………..
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 7/69
[Providing Online Exam] [2012]
7 Translam Institute Of Technology & Management , Meerut(321)
Signature of the student ……………………..
Name of Student Sandeep kumar
Date ……………………
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 8/69
[Providing Online Exam] [2012]
8 Translam Institute Of Technology & Management , Meerut(321)
SUMMARY
This project assesses students by conducting online objective tests. The tests would be
highly customizable. This project will enable educational institutes to conduct test and
have automated checking of answers based on the response by the candidates.
The project allows faculties to create their own tests. It would enable educational
institutes to perform tests, quiz and create feedback forms. It asks faculty to create
his/her set of questions. Faculty then creates groups and adds related students into the
groups. Further the tests are associated with specific groups so that only associated
students can appear for the test. The result of the response would be available to the
faculty of the question set. Further the result would also be mailed to the student. This
project would be helpful for creating practice tests, say for educational institutes and
as a feedback form.
__________________ __________________
Signature of Student Signature of Student
Name Ashwani Tomar Name Jitendra Arya
Date Date
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 9/69
[Providing Online Exam] [2012]
9 Translam Institute Of Technology & Management , Meerut(321)
__________________ ___________________
Signature of Student Signature of Supervisor
Name Sandeep Kumar Name Mr. Rajiv Kumar
Date Date
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 10/69
[Providing Online Exam] [2012]
10 Translam Institute Of Technology & Management , Meerut(321)
LIST OF FIGURES
6. Figures and Tables1. 3.1.1. Use case Overview .......................................................................
2. 3.1.2. Add Faculty Use Case ..................................................................
3. 3.1.3. Login Use Case ............................................................................
4. 3.1.4. Manage Student Groups Use Case ................................................
5. 3.1.5. Student Registration Use Case ..................................................... Error! Bookmark not
defined.
6. 3.1.6. User Profile Edit Use Case ........................................................... Error! Bookmark not
defined.
7. 3.1.7. Manage Test Use Case ................................................................. Error! Bookmark not
defined.
8. 3.1.8. Appear for Test Use Case ............................................................ Error! Bookmark not
defined.
9. 3.1.9. Generate Result Use Case ............................................................ Error! Bookmark not
defined.
10. 3.2.1. Login Activity Diagram ............................................................... Error! Bookmark not
defined.
11. 3.2.2. Manage Students Activity Diagram ............................................. Error! Bookmark not
defined.
12. 3.2.3. Manage Tests Activity Diagram .................................................. Error! Bookmark not
defined.
13. 3.2.4. Generate Result Activity Diagram ............................................... Error! Bookmark not
defined.
14. 3.2.5. Student Registration Activity Diagram ........................................ Error! Bookmark not
defined.
15. 3.2.6. Answer Test Activity Diagram .................................................... Error! Bookmark not
defined.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 11/69
[Providing Online Exam] [2012]
11 Translam Institute Of Technology & Management , Meerut(321)
16. 3.3.1. Sequence Diagram Overview ........................................................
17. 3.3.2. Login Sequence Diagram .............................................................
18. 3.3.3. Manage Student Groups Sequence Diagram ................................ Error! Bookmark not
defined.
19. 3.3.4. Student Registration Sequence Diagram ...................................... Error! Bookmark not
defined.
20. 3.3.5. Manage Test Sequence Diagram .................................................. Error! Bookmark not
defined.
21. 3.3.6. Appear for Test Sequence Diagram ............................................. Error! Bookmark not
defined.
22. 3.4 Class Diagram ............................................................................... Error! Bookmark not
defined.
23. 3.5. Database Design ............................................................................ Error! Bookmark not
defined.
24. 3.5.1. Table: Student .............................................................................. Error! Bookmark not
defined.
25. 3.5.2. Table: Test ................................................................................... Error! Bookmark not
defined.
26. 3.5.3. Table: TestQuestions.................................................................... Error! Bookmark not
defined.
27. 3.5.4. Table: StudentResponse ............................................................... Error! Bookmark not
defined.
28. 3.5.5. Table: TestSession ....................................................................... Error! Bookmark not
defined.
29. 3.5.6. Table: Groups .............................................................................. Error! Bookmark not
defined.
30. 3.5.7. Table: Faculty .............................................................................. Error! Bookmark not
defined.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 12/69
[Providing Online Exam] [2012]
12 Translam Institute Of Technology & Management , Meerut(321)
31. 3.5.8. Table: AssignGroupTest .............................................................. Error! Bookmark not
defined.
32. 4.1. Login Interface ............................................................................... Error! Bookmark not
defined.
33. 4.2. Create Group Interface .................................................................. Error! Bookmark not
defined.
34. 4.3. Assign Test Interface ...................................................................... Error! Bookmark not
defined.
35. 4.4. Create Questions Interface ............................................................ Error! Bookmark not
defined.
36. 4.5. Register Students Interface ............................................................ Error! Bookmark not defined
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 13/69
[Providing Online Exam] [2012]
13 Translam Institute Of Technology & Management , Meerut(321)
CHAPTER –
1
INTRODUCTION
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 14/69
[Providing Online Exam] [2012]
14 Translam Institute Of Technology & Management , Meerut(321)
1. INTRODUCTION
I have tried my best to make the complicated process of Online Hotel Management System as
simple as possible using Structured & Modular technique & Menu oriented interface. I have tried to
design the software in such a way that user may not have any difficulty in using this package &
further expansion is possible without much effort. Even though I cannot claim that this work to be
entirely exhaustive, the main purpose of my exercise is perform each Employee‟s activity in
computerized way rather than manually which is time consuming.
The main aim of the entire activity is to automate the process of day to day activities of Hotel like
Room activities, Admission of a New Customer, Assign a room according to customer‟s demand,
checkout of a computer and releasing the room and finally compute the bill etc.
1.1. Project OverviewThis project assesses students by conducting online objective tests. The tests would be
highly customizable. This project will enable educational institutes to conduct test and
have automated checking of answers based on the response by the candidates.
The project allows faculties to create their own tests. It would enable educational
institutes to perform tests, quiz and create feedback forms. It asks faculty to create
his/her set of questions. Faculty then creates groups and adds related students into the
groups. Further the tests are associated with specific groups so that only associated
students can appear for the test. The result of the response would be available to the
faculty of the question set. Further the result would also be mailed to the student. This
project would be helpful for creating practice tests, say for educational institutes and
as a feedback form.
1.2. Purpose
Responses by the candidates will be checked automatically and instantly.
Online examination will reduce the hectic job of assessing the answers given by
the candidates.
Being an integrated Online Examination System it will reduce paper work.
Can generate various reports almost instantly when and where required.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 15/69
[Providing Online Exam] [2012]
15 Translam Institute Of Technology & Management , Meerut(321)
1.3. Scope
This project would be very useful for educational institutes where regular
evaluation of students‟ is required. Further it can also be useful for anyone who
requires feedback based on objective type responses.
1.4. Definitions, AcronymsThe sub-section provides the definitions of all terms, acronyms, and
abbreviations used in this document to understand the SRS properly.
SR. No. Terms/Acronyms Description
1. Student User mostly a student who will appear fo
examination
2. Faculty Another user mostly faculty member, lecturer or
examiner who postsset of questions, the available options and c
answers. 3. Administrator Super user, adds faculty and manages system.
CHAPTER- 2
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 16/69
[Providing Online Exam] [2012]
16 Translam Institute Of Technology & Management , Meerut(321)
PRODUCT
PRESPECTIVE
2. PRODUCT PRESPECTIVE
This project helps to define internal boundaries achieving the appropriate balance between the
general and the specific, hotel management giving a positive and efficient workflow to the staff of the
hotel, thereby helping the business model of the hotel to expand. In principle the product exposes a
simple and general interface and hides the specific and complex implementation based. In our
example, we want our hotel design to hide detail that is too complex or unnecessary, thereby
reducing paperwork and increasing efficiency.
Also through this project we aim to reduce operating costs and increase throughput of the staff.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 17/69
[Providing Online Exam] [2012]
17 Translam Institute Of Technology & Management , Meerut(321)
Figure: 2 FLOW Diagram of the proposed software.
The user will have to login first in order to access the features offered by the system. On logging in the user
will be given an option to do any of the following functions.
Get information about the category of the rooms
Get customer information according to the room no.
Modify information about the rooms
Check availability of the room
Allocate room
Display features of room
Create bill
Exit or logout from the software.
If the user is a customer then a room will be generated for the customer registration his/her details then
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 18/69
[Providing Online Exam] [2012]
18 Translam Institute Of Technology & Management , Meerut(321)
the user will be assign a room. This data is then used to update the databases which are stored as a part of
the system. While if the user want to check out the users details will be remove from the database. The
user also has an option to print a receipt while check out.
2.1 USER CHARACTERISTICS
In the above proposed system single category of authenticated users are there that
is the hotel staff.
After the product has been delivered the staff will be trained by our development team. We
also propose to provide a help document for the customers which will help them in using theproduct efficiently.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 19/69
[Providing Online Exam] [2012]
19 Translam Institute Of Technology & Management , Meerut(321)
CHAPTER-3
FEASIBLITY STUDY
3.Feasibility study
When a project is started an initial investigation is carried out. During this phase of study users need
has recognized and other requirements are determined. Once the problem has been defined a study is
carried out to select the best system i.e. a feasible system that meets performance requirements. So
Feasibility is the determination of whether or not a project is worth doing and the process followed
in making this determination is called a Feasibility Study. In order to conduct the feasibility study
we have seven distinct, but inter-related types of feasibility, these are Technical feasibility,
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 20/69
[Providing Online Exam] [2012]
20 Translam Institute Of Technology & Management , Meerut(321)
Operational feasibility, Economical feasibility, Social feasibility, Management feasibility, Legal
feasibility and Time feasibility.
Out of these seven three are key feasibilities to consider, those are:
Technical Feasibility
Economical Feasibility
Operational feasibility
3.1 Technical feasibility:
This is concerned with specifying equipment (hardware) and software that will successfully satisfy
the user requirement. It considers the following facts:
1. The facility to produce outputs in a given time
2. Response time under certain conditions
3. Ability to process a certain volume of transaction at a particular speed
4. Facility to communicate data to distant location
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 21/69
[Providing Online Exam] [2012]
21 Translam Institute Of Technology & Management , Meerut(321)
While examining technical feasibility, huge importance is given to the configuration of the proposed
system. The configuration should give the complete picture about the system‟s requirement such
that what kind of hardware is required and how these units are interconnected so that they could
operate and communicate smoothly.
3.2 Economical feasibility:
Since cost plays quite an important role in deciding the new system, it must be identified and
estimated properly. So economic analysis is the most frequently used technique for evaluating the
effectiveness (economical feasibility) of a proposed system. To determine the economical feasibility
of the system a cost/benefit analysis is to make. This procedure is to determine the benefits and
savings that are expected from a proposed system and compare them with costs. Four facts that
plays an important role in deciding economical
feasibility of the proposed system are as follows: Cost-saving benefits, Cost-avoidance benefits,
Improved-performance benefits, Improved-information benefits, Hence the proposed system is
economically feasible.
3.3 Operational feasibility:
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 22/69
[Providing Online Exam] [2012]
22 Translam Institute Of Technology & Management , Meerut(321)
It is mainly related to human organizational aspects. The points
to be considered are:
What changes will be brought with the system
What organizational structures are disturbed?
What new skills will be required?
Do the existing staff members have these skills if not, can they be trained
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 23/69
[Providing Online Exam] [2012]
23 Translam Institute Of Technology & Management , Meerut(321)
CHAPTER-4
PROGRAMMING
LANGUAGE USED
4.0 PROGRAMMING LANGUAGE USED
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 24/69
[Providing Online Exam] [2012]
24 Translam Institute Of Technology & Management , Meerut(321)
4.1 About the Java Technology:
Java technology is both a programming language and a platform.
The Java Programming Language
The Java programming language is a high-level language that can be characterized by all of the
following buzzwords:
Simple Architecture neutral
Object oriented Portable
Distributed High performance
Multithreaded Robust
Dynamic Secure
Each of the preceding buzzwords is explained in The Java Language Environment , a white paper
written by James Gosling and Henry McGilton.
In the Java programming language, all source code is first written in plain text files ending with the
.java extension. Those source files are then compiled into .class files by the Java compiler ( javac). A
.class file does not contain code that is native to your processor; it instead contains bytecodes-- the
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 25/69
[Providing Online Exam] [2012]
25 Translam Institute Of Technology & Management , Meerut(321)
machine language of the Java Virtual Machine. The Java launcher tool ( java) then runs your
application with an instance of the Java Virtual Machine.
Because the Java Virtual Machine is available on many different operating systems, the same .class files are
capable of running on Microsoft Windows, the Solaris TM Operating System (Solaris OS), Linux, or MacOS.
Some virtual machines, such as the Java HotSpot Virtual Machine , perform additional steps at runtime to
give your application a performance boost
Easy development and deployment of Java Technology-based application that are:
Transactional, distributed, multi-tier, portable, scalable, secure.
4.2 Java Server Pages (JSP)
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 26/69
[Providing Online Exam] [2012]
26 Translam Institute Of Technology & Management , Meerut(321)
JSP is an exciting new technology that provides powerful and efficient creation of dynamic contents. It
allows static web content to be mixed with Java code. It is a technology using server-side scripting that is
actually translated into servlets and compiled before they run. This gives developers a scripting interface to
create powerful Java Servlets.
Java Server Pages (JSP) allows development of dynamic web-bases user interfaces.
Enables separation of business logic from presentation
Presentation is in the form of HTML or XML/XSLT
Business logic is implemented as java Beans or custom tags
Better maintainability, reusability
Extensible via custom tags
Builds on Servlet technology
Figure: 3
Java Servlets provides a mechanism for extending the functionality of the web server to access the
business systems.
Java objects, which extend the functionality of a HTTP server
Dynamic contents generation
Better alternative to CGI, NSAPI, ISAPI, etc.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 27/69
[Providing Online Exam] [2012]
27 Translam Institute Of Technology & Management , Meerut(321)
--Efficient
--Platform and server independent
--Session management
4.3 Working of Web Server
Figure: 4
JDBC Servlet provides services for connectivity with relational databases.
Privides standard java programming API to relational database
--Use SQL
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 28/69
[Providing Online Exam] [2012]
28 Translam Institute Of Technology & Management , Meerut(321)
Vendors provide JDBC compliant driver, which can be invoked via standard java
programming API
Java Message Services (JMS) version 1.0.2 is a standardized API for accessing Message-Oriented
Middleware (MOM), and supports the Point-to-Point and Publish/Subscribe models.
Messaging systems (MOM) provide
--Decoupled communication
--Asynchronous communication
--Plays a role of centralized systems
Benefits of Messaging systems
--Flexible, Reliable, Scalable communication systemsPoint-to-Point, Publish and Subscribe
JMS defines standard Java APIs to messaging systems
4.4 Working of J2EE Server
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 29/69
[Providing Online Exam] [2012]
29 Translam Institute Of Technology & Management , Meerut(321)
Figure: 5
Java Remote Method Invocation, RMI-IIOP, part of the java 2 SDK version 1.3, Standard Edition,
provides the ORB services and enables transparent remote method invocation between distributed
objects and components. The ORB is protocol-independent and currently supports the RMI native
protocol (JRMO) and the CORBA-compliant IIOP protocol.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 30/69
[Providing Online Exam] [2012]
30 Translam Institute Of Technology & Management , Meerut(321)
Java Interface Definition Language (IDL), part of the java 2 SDK version 1.3, Standard Edition, is
a CORBA-compliant ORB that enables interoperability with external CORBA distributed objects
using the IIOP protocol.
Java Transaction API (JTA) version 1.0.1 and Java Transaction Services (JTS) version 1.1
provide support for transactions and provides interfaces for application-level transaction demarcation.
Java Authentication and Authorization Service (JAAS) version 1.0 provides security services,
particularly authentication and authorization. It provides the Pluggable Authentication Module
(PAM) framework implementation for authenticating users.
Java Naming and Directory Interface (JNDI) version 1.2 part of the java 2 SDK version
1.3,Standard Edition, is a standardized API for accessing naming and directory services.
Utilized by J2EE applications to locate resources and objects in portable fashion
--Application use symbolic names to find object references to resources via JNDI
--The symbolic names and object references have to be configured by system administrator
when the application is deployed.
Java API for XML Parsing (JAXP) version 1.1 provides support for handling XML-formatted
data. It provides DOM (Document Object Model) and SAX (Simple API for XML) parsers and an
XSLT (XML Style Sheet Language for Transactions) transformation engine.
J2EE Connector Architecture version 1.0 is a service provider interface that enables the
development of resource adapters through whi8ch the access to enterprise information systems is
enabled. It defines a standard set of system-level contracts between a J2EE-compliant server and a
resource adapter.
JavaMail version 1.2 provides and API for managing e-mails and requires the JavaBeans Activation
Framework (JAF).
4.5 JSP Scripting Elements
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 31/69
[Providing Online Exam] [2012]
31 Translam Institute Of Technology & Management , Meerut(321)
JSP scripting elements are used to create and access objects, define methods, and manage the flow of
control. Since one of the goals of JSP technology is to separate static template data from the code
needed to dynamically generate content, very sparing use of JSP scripting recommended.
JSP technology allows a container to support any scripting language that can call java objects. If you
wish to support any scripting language other than the default, java, you must specify it in a page
directive at the beginning of a
4.6 JSP page:
<%page language=”scripting language” %>
Since scripting elements are converted to programming language statements in the JSP page‟s served
class, you must import any classes and packages used by a JSP page. If the language is java, you
import a class or package with the page directive:
<%page import=”package name.* fully_qualified _classname” %>
Declarations
A JSP declaration is used to declare variables and methods in a page‟s scripting language. The
syntax for a declaration is as follows:
<%! Scripting language declaration %>
When the scripting language is the programming language, variables and methods in JSP declarations
in the JSP page‟s servlet class.
4.7 Script lets
A JSP Scriptlet is used to contain any code fragment that is valid for the scripting language used in a
page. The syntax for a scripting is as follows:
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 32/69
[Providing Online Exam] [2012]
32 Translam Institute Of Technology & Management , Meerut(321)
<%
scripting language statements
%>
When the scripting language is set to java, a scriptlet is transformed into a java programming
language statement fragment and is insert into the service method of the JSP page‟s servlet. A
programming language variable created within a scriptlet is accessible from anywhere within the JSP
page.
Expressions
A JSP expression is used to insert the value of a scripting language expressions converted into a
string, into the data string returned to the client. When the scripting language is the Java
programming language, an expression is transformed into a statement that converse the value of the
expression into a String object and inserts into the implicit out object:
The syntax for an expression is as follows:
<%=scripting language expressions % >
Note that a semicolon is not allowed within a JSP expression, even if the same expression has a
semicolon when you use it within a scriplet.
Using Tags
This section describes how a page author specifies that a JSP page is using a tag library and
introduces the different types of tags.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 33/69
[Providing Online Exam] [2012]
33 Translam Institute Of Technology & Management , Meerut(321)
Declaring Tag Libraries
You declare that a JSP page will use tags define in a tag library by including a tag library directive
in the page before any custom tag is used:
<%@taglib uri=”/WEB-INF/tutorial-template.tld”prefix=”tt %>
This taglib directive uses a short logical name to indirectly reference the TLD:
<%@taglib uri=”/tutorial-template”prefix=”tt” %>
What is Custom Tag ?
A custom tag is a user – define JSP language element. When a JSP page containing a custom tag is
translated into a servlet, the tag is converted to operation on an object called tag handler. The web
containers than invokes those operation when the JSP page‟s servlet is execute.
Custom tags have a rich set of features.
Be customized via attributes passed from the calling page.
Access all the objects the available to JSP pages.
Modify the response generated by the calling page.
Communicate with each other. You can create and initialize a Java Beans component, create variable
that refers to that bean in one tag, and then use the bean in another tag.
Be nested within one another ,following for complex interaction within a JSP page
Including Content in a JSP page
There are two mechanism for including another web resource in a JSP page:the including directive
and the jsp:including element.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 34/69
[Providing Online Exam] [2012]
34 Translam Institute Of Technology & Management , Meerut(321)
The including directive is processed when the JSP page is translated into a servlet class. The effect of
the directive is to insert the text contained in another file-either static content or another JSP page – in
the including JSP page. You would probably use the including directive to include banner content,
copyright information, or any chunk of the content that you might want to reuse in another page. The
syntax for the including directive is as follows:
<%@include file=”filename” %>
For example, all the bookstore application pages include the file banner‟s containing the banner
content with the following directive:
<%@include file=”banner.jsp”%>
In addition, the pages bookstore‟s, bookdetails.jsp, catalog‟s, and showcart.jsp include JSP elements
that create and destroy a database bean with the following directive:
accessed through %@include file=”initdestroy.jsp”%
Because you must statically put an include directive in each file that reuses the resource referenced
by the directive, this approach has its limitation. For a more flexible approach to building pages out
of content chunks, see A Template Tag Library.
The jsp:include element is processed when a JSP pages is executed. The include action allows you to
include either a static or dynamic resource in a JSP file. The results of including static and dynamic
resources are quite different. If the resource is static, its content is inserted into the calling JSP file. If
the resource is dynamic, the request assents to the included resource, the included page is executed,
and then the result is included in the response from the calling JSP page. The syntax for the
jsp:include element is as follows:
<jsp: include page=”included Page”/>
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 35/69
[Providing Online Exam] [2012]
35 Translam Institute Of Technology & Management , Meerut(321)
The date application introduced at the beginning of this chapter includes the page that generates the
display of the localized date with the following statement:
<jsp:include page=”date.jsp”/>
Extending the JSP language
You can perform a wide variety of dynamic processing tasks including accessing data base, using
enterprise service such as e-mail and directories, and managing flow control with java beans
components in conjunctions with script lets, one of the drawbacks of the script lets, however, is that
tend to make JSP pages more difficult to maintain. Alternatively, JSP technology provides
mechanism called custom tag that allows you to encapsulate dynamic functionality in the objects that
are extension to the JSP language. Custom tags bring the benefits of another level of
componentization to the pages.
For example recall the script let used to loop through and display the content to the duke‟s Bookstore
shopping cart:
<%
Iterator I=cart. getItems().iterator();
While(i.hasNext()){
ShoppingCartItem item=(ShoppingCartItem)i.next();
%>
<tr>
<td align=”right” bgcolor =”#ffffff”>
<%=item.getQuantity()%>
</td>
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 36/69
[Providing Online Exam] [2012]
36 Translam Institute Of Technology & Management , Meerut(321)
<%
}
%>
An iterate custom tag eliminates the code logic and manages the scripting variable item that reference
elements in the shopping cart:
<Logic: iterate id=”item”>
collection =”<%=cart.getItems()%>”
<tr>
<td align=”right” bgcolor =”ffffff”>
</td>
</logic:iterate>
Custom tags are packaged and distributed in a unit called a tag library. The syntax of custom tags is
the same as that used for the JSP elements, namely, <prefix:tag>;however,
For custom tags, prefix is defined by the user of the tag library and is define by the tag developer.
Creating Static Content
You create a static content in a JSP page by simply writing it as if you where creating a page that
consisted only of that content. Static content can be expressed in any text based format such as
HTML, WML and XML. The default format is HTML. If you want to use a format other than
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 37/69
[Providing Online Exam] [2012]
37 Translam Institute Of Technology & Management , Meerut(321)
HTML, you include a page directive with the content Type attribute set to the format type at the
beginning of your JSP page .For example, if you want a page to contain data expressed in the
wireless mark up language (WML),you need to include following directive:%@page
contentType=”text/vnd.wap.wml”%
Creating Dynamic Content
You create dynamic content by accessing Java Programming Language objects from with in scripting
element.
Using Objects within JSP Pages
You can access a variety of objects, including enterprise beans and JavaBeans components with in a
JSP page. JSP Technology automatically makes some objects available, and you can also create and
access application-specific objects.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 38/69
[Providing Online Exam] [2012]
38 Translam Institute Of Technology & Management , Meerut(321)
CHAPTER-5
HARDWARE
&
SOFTWARESPECIFICATION
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 39/69
[Providing Online Exam] [2012]
39 Translam Institute Of Technology & Management , Meerut(321)
5 . HARDWARE & SOFTWARE SPECIFICATION
5.1 Software Specification:
User interface (GUI screens) would be used to provide information necessary to generate a new
claim and also update information.
Front End- JAVA
Back End- ORACLE
OPERATING SYSTEM: WINDOWS 7
5.2 Hardware Specification:
PROCESSOR Core 2 Duo
RAM 1GB
HARD DISK 320 GB.
M.KEYBOARD 124 KEYS.
MONITOR 17‟‟INCH
MOUSE
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 40/69
[Providing Online Exam] [2012]
40 Translam Institute Of Technology & Management , Meerut(321)
CHAPTER-6
TESTING
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 41/69
[Providing Online Exam] [2012]
41 Translam Institute Of Technology & Management , Meerut(321)
6. TESTING
6.1 System Testing
One of the main requirements of the software development is to develop bug free, reliable
system. During the process of development of any application there is always a possibility of some
errors being developed. And also the software may not be as user asked for. Thus, it becomes
imperative that, the software should be checked at every step. This helps in a bug free reliable
system. If there is any bug or alterations that have to be made that can be done at the preliminarily
level as the application gets more complicated after every step.
The objective of the testing is to discover bugs and malfunctioning of the application. To fulfill the
objective, a series of test steps such as Unit testing, Validation testing, system testing were planned
and executed. Testing objective includes:
Testing is a process of executing a program with the intent of finding an error.
A good test case is one that has a high probability of finding an undiscovered error.
A successful test is one that uncovers an undiscovered error.
6.2 Various testing approaches
Following are main types of tests software undergoes:
6.2.1 Black box testing
Black box testing relates to tests that are performed at the software interface. Although they are designed
to identify errors, black box tests are used to demonstrate that software functions are operational; that
inputs are correctly accepted and the output is correctly produced.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 42/69
[Providing Online Exam] [2012]
42 Translam Institute Of Technology & Management , Meerut(321)
6.2.2 White box testing
White box testing is test case design approach that employs the control architecture of the procedural
design to produce test cases. Test case can be derived such that they:
Guarantee that all independent paths within a module have been exercised at least once
Exercise all logical decisions on their true and false sides,
Execute all loops at their boundaries and within their operational bounds and
Exercise internal data structures to ensure their validity.
6.2.3 Unit testing
This test focuses verification effort on the small unit of design module. Here using test plans prepared in
design descriptions as guide, important control paths are tested to uncover errors within boundary of the
module.
Boundary condition are tested to ensure module operate properly at boundaries established to limit or
restrict processing. All paths in the control structure are exercised to ensure all statements in a module are
executed at least once and finally all errors handling paths are tested to see message are intelligent.
Corresponds to errors, encountered and provide enough description for the cause of error.
6.2.4 Integration testing
The focus of the test here is on, the design and construction of software architecture. This is a systematic
technique for construction the program structure and conducting tests to uncover errors associated with
interfacing. The objective here is to take unit tested module and build a program that is dictated by signs. Allfractions are integrated successfully after successful completion of development and unit testing.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 43/69
[Providing Online Exam] [2012]
43 Translam Institute Of Technology & Management , Meerut(321)
6.2.5 Validation testing
At the culmination of integration testing, software is completed assembled as a package, interfacing errors
have been uncovered and corrected and a final series of software testing, validation test begins.
Validation succeeds when the software functions in manner that can be reasonably expected by the
customer. Software validation is achieved through a series of black box tests that demonstrates the
conformity of the requirements.
After validation testing have been conducted one of the two possibility exits.
The performance characteristic confers to specification and acceptance.
A deviation from specification is uncovered and deficiency list is created.
Deviation or errors discovered at the step in this system with the help of the user by negotiating to establish
a meeting for resolving differences.
6.2.6 Output testing
After performing the validation testing, the next step is output testing of the proposed system, since system
be useful if it does not produce the required output in the required format. Hence the output format is
considered in two ways: one is on the screen and another is the printed format. Both need to be shown to
the user for his comments.
6.2.7 User Acceptance testing
User acceptance of a system is the key factor for the success of any system. This is done with regard to
following points:
Input screen design.
Output screen design.
On-line guide to the user.
Menu driven system.
Format of output, both on the screen and on the hard copy.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 44/69
[Providing Online Exam] [2012]
44 Translam Institute Of Technology & Management , Meerut(321)
CHAPTER-7
APPENDIX
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 45/69
[Providing Online Exam] [2012]
45 Translam Institute Of Technology & Management , Meerut(321)
APPENDIX:
Screen layout:
Home
Figure: 6
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 46/69
[Providing Online Exam] [2012]
46 Translam Institute Of Technology & Management , Meerut(321)
Services
Figure: 7
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 47/69
[Providing Online Exam] [2012]
47 Translam Institute Of Technology & Management , Meerut(321)
List of Hotels
Figure: 8
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 48/69
[Providing Online Exam] [2012]
48 Translam Institute Of Technology & Management , Meerut(321)
User Registration
Figure: 9
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 49/69
[Providing Online Exam] [2012]
49 Translam Institute Of Technology & Management , Meerut(321)
Enquiry Form
Figure: 10
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 50/69
[Providing Online Exam] [2012]
50 Translam Institute Of Technology & Management , Meerut(321)
Contact Us
Figure:11
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 51/69
[Providing Online Exam] [2012]
51 Translam Institute Of Technology & Management , Meerut(321)
Login
Figure: 12
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 52/69
[Providing Online Exam] [2012]
52 Translam Institute Of Technology & Management , Meerut(321)
Check Availability
Figure: 13
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 53/69
[Providing Online Exam] [2012]
53 Translam Institute Of Technology & Management , Meerut(321)
Hotel Reservation
Figure: 14
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 54/69
[Providing Online Exam] [2012]
54 Translam Institute Of Technology & Management , Meerut(321)
CHAPTER-8
ANALYSIS
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 55/69
[Providing Online Exam] [2012]
55 Translam Institute Of Technology & Management , Meerut(321)
8. ANALYSIS
One view of analysis modeling, called structured analysis, consider data and the process that
transform the data as separate entities. Data object are modeled in a way that defines their attributes
and relationship.
8.1 Data Flow Diagram
The Data Flow diagram enables the software engineer to develop models of the information domain
and functional domain at the same time. As the DFD is refined into greater levels of detail, the
analyst performs an implicit functional decomposition of the system.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 56/69
[Providing Online Exam] [2012]
56 Translam Institute Of Technology & Management , Meerut(321)
Figure: 15
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 57/69
[Providing Online Exam] [2012]
57 Translam Institute Of Technology & Management , Meerut(321)
Figure: 16
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 58/69
[Providing Online Exam] [2012]
58 Translam Institute Of Technology & Management , Meerut(321)
Figure: 17
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 59/69
[Providing Online Exam] [2012]
59 Translam Institute Of Technology & Management , Meerut(321)
8.2 ENTITY RELATIONSHIP DIAGRAM (ERD)
This depicts relationship between data objects.
The attribute of each data objects noted in the entity-relationship diagram can be described using a
data object description. Data flow diagram serves two purposes:
1. To provide an indication of how data are transformed as they move through the system.
2. To depict the functions that transformation the data flow.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 60/69
[Providing Online Exam] [2012]
60 Translam Institute Of Technology & Management , Meerut(321)
Figure: 18
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 61/69
[Providing Online Exam] [2012]
61 Translam Institute Of Technology & Management , Meerut(321)
8.3 MODULAR DESCRIPTION
We devide our project in basicly in to three modules.
Account: In this we work for the money. in it we calculate the money that spends in providing
service, works done by worker and benefit of hotel and there owner.
Quality of Service: In this module we work for giving the best quality service to the customer.
i.e. Better food, proper light & water or other things.
Room management: In this module we check that which type of room is needed to the customer
and is the room is available?
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 62/69
[Providing Online Exam] [2012]
62 Translam Institute Of Technology & Management , Meerut(321)
CONCLUSION
Working on this project was good experience. I understand the importance of Planning and
designing as a part of software development. But it‟s very difficult to complete the program for
single person.
Developing the project has helped me to gain some experience on real-time development
Procedures.
I am very thankful to my guide Mr. Rajat Goel who gave a lot of good programming skills
and so many related skills that will help me in the future.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 63/69
[Providing Online Exam] [2012]
63 Translam Institute Of Technology & Management , Meerut(321)
BIBLIOGRAPHY
BOOKS
1. Charles Hampfed(2000)‟Instant Java Server Pages‟ University of Toranto
2. Herbert Schildt(2000) „Java Complete Reference‟ Tata McGrow Hill
3. John Zukowski(2000)‟Master in Java2‟ BPB Publications
4. Jamie Jaworsky „J2EE Bible „ Techmedia
5. Stefen Denniger „Enterprise JavaBeans 2.1‟ Authors Press
ONLINE REFERENCE
1. www.codeproject.com
2. www.java.sun.com
3. www.codeguru.com
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 64/69
[Providing Online Exam] [2012]
64 Translam Institute Of Technology & Management , Meerut(321)
BIO DATA(RESUME)
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 65/69
[Providing Online Exam] [2012]
65 Translam Institute Of Technology & Management , Meerut(321)
RReessuummee
SHUBHAM KUMAR
Vill-Rukanpur, Post-Morna
Distt- Meerut , ( UP)
PIN – 250001
:09045231336 E-mail: [email protected]
OBJECTIVE
To find a challenging position where my creativity and skills can be utilized in the field of IT Sector.
PROFESSIONAL QUALIFICATION
Pursuing B.TECH from TITM, Meerut affiliated to U.P. Technical University,
Lucknow, with 67.78%.
EDUCATIONAL QUALIFICATIONS
XII from U.P Board Allahabad in 2008 With 65.6%.
X from U.P Board Allahabad in 2006 With 65.5%.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 66/69
[Providing Online Exam] [2012]
66 Translam Institute Of Technology & Management , Meerut(321)
TECHNICAL SKILLS
Programming Languages : Core Java .
SPECIAL PACKAGE
I have done a two month special package of Core java from Sunrise Technologies Meerut
BBaassiicc kknnoowwlleeddggee iinn ccoommppuutteerr lliikkee aass MMSS oof f f f iiccee ,,NNeett ..
TRAINING & PROJECT
Training: Webroot Delhi.
Project Title: Sharing Hotel Information.
HOBBIES
Interacting with new people
Chatting with friends
STRENGTHS
Honesty and hardworking
Work with Punctuality & discipline
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 67/69
[Providing Online Exam] [2012]
67 Translam Institute Of Technology & Management , Meerut(321)
PERSONAL DETAILS
Father’s Name : Shri Gajendra Kumar
Date of Birth : 17-Mar-1992
Languages Known : English & Hindi
Nationality : Indian
Mobile No. :09045231336
E mail : [email protected]
Marital Status : Single
Gender : Male
Permanent Address : Vill-Rukanpur, Post-Morna
Distt- Meerut , ( UP)
PIN – 250001
DECLARATION
I hereby certify that all the particulars stated above are to the best of my knowledge and believe true
and fair.
Place: Meerut
Date: Shubham Kumar
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 68/69
[Providing Online Exam] [2012]
68 Translam Institute Of Technology & Management , Meerut(321)
Resume
RAVI KUMAR
Objective – Intend to build a career with leading corporate of hi-techenvironment with committed & dedicated people & Willing to work as a
key player in challenging & creative environment.
Email:
Present Address:
179,govind puri,
Kanker Khera ,
Meerut.
Mob. 9319332076,9045517937.
Personal Data:
Father : Sh. Gulshan kumar
Sex : Male
D.O.B : 15\12\1988
Nationality : Indian
Marital Status: Unmarried
Language : Hindi,English.
Hobbies :watching news,racing games.
8/2/2019 Sharing Hotel Information Rep
http://slidepdf.com/reader/full/sharing-hotel-information-rep 69/69
[Providing Online Exam] [2012]
Professional Experience
Six month experience in marketing.
Subject Specialization Design & analysis of algorithm, Data structure &
Computer organization.
Computer Skills:
Operating Systems : WIN Xp, DOS,vista & win7
Internet : E-mail, Browsing.
Packages : MS Office 2003,C, Oracle10g.
Education:
High school from u.p. board with 66% in 2006.
Intermediate from u.p. board with 67.6% in 2008.
persuing B. Tech.(4th year) from Translam Institute of Technology&
Management,mawana road, meerut in Information Technology.
DATE:
PLACE:Meerut (RAVI KUMAR )