Professional Documents
Culture Documents
Chapter 1
Abstract
The system aims at the maintenance and management of the different
accommodations that are available in the different parts of the world.
It mainly takes care of the resort management at the core area of the
database. The system provides the information regarding the
different resorts that are available and their status specific to
availability. The database also manages the atomic information
regarding the different units that are available under one resort and
the architectural details of the Unit facilities that are available. Each
unit is well furnished and is well designed for the basic flexibility of
the tourists who are expected to stay.
The guests can visit the site and register themselves with the required
information that is expected by the system. Each registered guest
can raise a request for the unit bookings. The Guests are scheduled
with the information of the availability of the units for they have
requested the time. The Units maintenance is automated for proper
management of the availability status of the units or the scheduled
expected date of their availability in near future. The system provides
the facility for booking of the required available units as per the
number that is available.
The system totally built upon the standards of Three Tier Architecture with
Client, Business and Data Tiers associated as separate layers, with
specification to high cohesion and loose Coupling Standards for easy
maintenance.
The entire project has been develped keeping in view of the Distributed client
server computing technology in mind.The specification have been
normalized upto 3NF to eliminate all the anomalies that may arise
due to the database transactions that are executed by the actual
administration and users.The user interfaces are browser specific to
give distributed accessability for the overall system.The internal
database has beeb selected as Oracle 8i.The basic constructs of the
tablespaces, clusters and indexes have been exploited to provide
higher consistency and reliability for the data storage.The oracle 9i
was a choice as it provides the constructs of high level reliabiity and
security.The total front end was dominated using HTML standards
applied with the dynamism of JAVA server pages. Thecommunicatin
client was designed using servlets and JSP’s. At all proper levels high
care was taken to check that the system manages the date
consistency with proper business validations.The database
connectivity was planned using the Java DataBase Connectivity,the
authorization and authorization was cross checked at all stages.The
user level accessabiity has been restricted into two zones the
administrative and the normal user zone.
The Bean components have been implemented for proper reusability and
authenticity. The standards of security and date portative mechanism
have been given a big choice for proper usage. The application takes
care of different modules and their associated reports which re
produced as per the applicable strategies and standards that are put
forwarded by the administrative staff..
Chapter 2
Introduction
The entire project has been develped keeping in view of the Distributed client
server computing technology in mind.The specification have been normalized
upto 3NF to eliminate all the anomalies that may arise due to the database
transactions that are executed by the actual administration and users.The
user interfaces are browser specific to give distributed accessability for the
overall system.The internal database has beeb selected as Oracle 8i.The
basic constructs of the tablespaces,clusters and ridexes have been exploited
to provide higher consistency and reliability for the data storage.The oracle 8i
was a choice as it provides the constructs of high level reliabiity and
security.The total front end was dominated using HTML standards applied
with the dynamism of JAVA server pages. Thecommunicatin client was
designed using servlets. At all proper levels high care was taken to check
that the system manages the date consistency with proper business
validations.The database connectivity was planned using the Java DataBase
Connectivity,the authorization and authorization was cross checked at all
stages.The user level accessabiity has been restricted into two zones the
administrative and the normal user zone.
About the Organization
Existing Process:
If not Available
IF available put
the info at the
Guest may guest View
compromise with
his requirment
The Automated system with distributed architecture can support issues like.
1) The system maintains the different location that are available and
registered in a central DB, which leads easy accessibility and consistency.
2) Each Accommodation available units and all the unit facilities are also
available at the click of a mouse.
3) The registration of new guest is online house new guest can make
them they convenient for registration process on the basic of
24x7x326days.
5) The Guest are provided with upto minute information related to the
unit availability and their status. From their convenient place.
7) The guest have information at their demand related to any unit status
of their own unit booking status.
Chapter 3
Feasibility
Report
System Analysis Concentration:
GENERAL REQUIREMENTS:
TECHINICAL FEASIBILITY:
Proposed projects are beneficial only if they can be turned into information
systems that will meet the organizations operating requirements. Simply
stated, this test of feasibility asks if the system will work when it is
developed and installed. Are there major barriers to Implementation? Here
are questions that will help test the operational feasibility of a project:
Is there sufficient support for the project from management from users? If
the current system is well liked and used to the extent that persons will not
be able to see reasons for change, there may be resistance.
Are the current business methods acceptable to the user? If they are not,
Users may welcome a change that will bring about a more operational and
useful systems.
Have the user been involved in the planning and development of the project?
Early involvement reduces the chances of resistance to the system and in
General and increases the likelihood of successful project.
Since the proposed system was to help reduce the hardships encountered. In
the existing manual system, the new system was considered to be
operational feasible.
ECONOMIC FEASIBILITY:
a) Technical Description
Databases: The total number of databases that were identified to build the
system is 10.The major part of the Databases is categorized as
Administrative components and the user components. The administrative
components are useful is managing the actual master data that may; be
necessary to maintain the consistency of the system. The administrative
databases are purely used for the internal organizational needs and
necessities. The user components are designed to handle the transactional
state that arise upon the system whenever the general client makes a visit
onto the system for the sake of the report based information. The user
components are scheduled to accept parametrical information for the user as
per the systems necessity.
GUI’s
For the flexibility of the user, the interface has been developed in graphical
user interface mode. The normal interface is applied through browser.
The GUI’s at the top level has been categorized as:
Feasibility
The system is self-explanatory and does not need any entire sophisticated
training. The system has been built by concentrating on the graphical user
interface concepts; the application can also be handled very easily with a
novice user. The overall time that a user needs to get trained is less than 15
minutes.
The system has been added with features of menu driven and button
interaction methods, which makes him the master as he starts working
through the environment. As the software that was used for developing this
application are very economical and are readily available is the market the
only time that is lost by the customer is just installation time.
Time Based:
In this world of busy schedule with which the industrial professionals are
getting through this kind of system is a boon for the kind of information they
can readily access at the tip of their fingers. The Tourist, who intends to
make a visit to the specific choice of his place, need not enquire about the
details taking the entire pin physically. The Tourist can just get himself
connected to the site at his own desk with the respective URL that has been
allocated for him and can make a wide variety of choices for the
accommodations that are available in the central repository of the existing
database. The User can have the information of all the units that are
practically registered along with the facilities that are available with respect
to every unit. The guest is given free hands to register his information as per
the practical requirements of the site, such that he can be tracked and
provided services at the demand that is raised by him.
The Guest once registered can make multiple visits upon the site as per his
requirements and enquire for the units availability and the status of his
previous bookings, if any.
The Administrators can make easy accessibility of the system from virtually
anywhere in this world, which facilitates the scope of global or remote
administration possible. All the consistent transactions are facilitated by the
administrators only with proper authorization and authentication.
Cost Based:
INTRODUCTION
Purpose: The main purpose for preparing this document is to give a general
insight into the analysis and requirements of the existing system or situation
and for determining the operating characteristics of the system.
Scope: This Document plays a vital role in the development life cycle (SDLC)
As it describes the complete requirement of the system. It is meant for use
by the developers and will be the basic during testing phase. Any changes
made to the requirements in the future will have to go through formal
change approval process.
Developers Responsibilities Overview:
The developer is responsible for:
Developing the system, which meets the SRS and solving all the
requirements of the system?
Demonstrating the system and installing the system at client's location after
the acceptance testing is successful.
Submitting the required user manual describing the system interfaces to
work on it and also the documents of the system.
Conducting any user training that might be needed for using the system.
Maintaining the system for a period of one year after installation.
Functional Requirements:
Output: The major outputs of the system are tables and reports. Tables are
created dynamically to meet the requirements on demand. Reports, as it is
obvious, carry the gist of the whole information that flows across the
institution.
Document Conventions:
The overall documents for this project use the recognized modeling
standards at the software industries level.
ER-Modeling to concentrate on the relational states existing upon the system
with respect to Cardinality.
The Physical dispense, which state the overall data search for the relational
key whereas a transactions is implemented on the wear entities.
Unified modeling language concepts to give a generalized blue print for the
overall system.
The standards of flow charts at the required states that are the functionality
of the operations need more concentration.
Scope of The Development Project:
Pentium IV Processor.
128 MB RAM.
20GB Hard Disk space.
Ethernet card with an Internet and Internet zone.
Required Software
BOOKING MODULE: This module maintains the information of all the booking
of the units, as pet the guest requirements, it inteplater itself with the units
station database and the specific registered guest who have raised the
demand upon the booking.
GUEST MODULE: This module maintains the overall activities through which a
guest is uniquely registered is the domain the module interpreter with the
specific gender status and also centrally sets with interpretation through
booking and registry to unit status.
Administrative View
Guest View
Administrative View
This view is designed for interacting with the absolute Meta Data, which
becomes the ultimate repository to maintain the consistency.
This Module takes care of the responsibility of the major Table management
for
Data Insertion
Data Deletion
Data Updating
Data Selection
All the activities are validated and authenticated to proper profile to avoid un
authorized access.
Guest View: In this view the guest can view complete details of available
accommodation list information.
Chapter 6
Analysis
Report
SOFTWARE REQUIREMENT SPECIFICATION
REQUIREMENT SPECIFICATION:
INTRODUCTION
Purpose: The main purpose for preparing this document is to give a general
insight into the analysis and requirements of the existing system or situation
and for determining the operating characteristics of the system.
Scope: This Document plays a vital role in the development life cycle (SDLC)
as it describes the complete requirement of the system. It is meant for use
by the developers and will be the basic during testing phase. Any changes
made to the requirements in the future will have to go through formal
change approval process.
1) Developing the system, which meets the SRS and solving all the
requirements of the system?
4) Conducting any user training that might be needed for using the
system.
Functional Requirements:
Inputs: The major inputs for Web Based Accommodation can be categorized
module-wise. Basically all the information is managed by the software and in
order to access the information one has to produce one's identity by entering
the user-id and password. Every user has their own domain of access beyond
which the access is dynamically refrained rather denied.
Output: The major outputs of the system are tables and reports. Tables are
created dynamically to meet the requirements on demand. Reports, as it is
obvious, carry the gist of the whole information that flows across the
institution. This application must be able to produce output at different
modules for different inputs.
Performance Requirements:
Document Conventions:
The overall documents for this project use the recognized modeling
standards at the software industries level.
• ER-Modeling to concentrate on the relational states existing
upon the system with respect to Cardinality.
• The Physical dispense, which state the overall data search for
the relational key whereas a transactions is implemented on the
wear entities.
• The standards of flow charts at the required states that are the
functionality of the operations need more concentration.
ORACLE 8i is one of the many database services that plug into a client /
server model. It works efficiently to manage resources, a database
information, among the multiple clients requesting & sending.
SQL is an inter-active language used to query the database and access data
in database. SQL has the following features:
1. It is a unified language.
3. It is a non-procedural language.
Introduction To Oracle
Because it gives so much control over data, a relational DBMS can also save
as the foundation for products that generate application and extract data.
Database management
Data access and manipulations
Programming
Connectivity
Database Management Tools
All of Oracle’s data access and manipulation tools are firmly based on ANSI
standard SQL. In Oracle, the tools that a user will use to access and
manipulate data, has well as to design or use applications. Each provides
separate point of entry and unique speech to the Oracle system. SQL*PLUS
allows direct access to database with SQL FORMS offer a user-friendly way to
create and use forms. SQL*REPORT writer lets you to creates formatted
output SQL*MENU provides a way for you to integrate your application
menus.
Oracle Supports Applications Development
One of the most important categories of tools available from oracle is its
series of programming interface. This precompiled software
provides a convenient and easy to use method of incorporating
ORACLE SQL statement in high level programming language.
Current oracle can interface with COBOL and ‘C’.
Connective Tools
Report generators
Graphic languages
Application generations
Specification language
Application language
♦ Easy to use
Over view:
With the varied topic in existence in the fields of computers, Client Server is
one, which has generated more heat than light, and also more hype than
reality. This technology has acquired a certain critical mass attention with its
dedication conferences and magazines. Major computer vendors such as IBM
and DEC; have declared that Client Servers is their main future market. A
survey of DBMS magazine reveled that 76% of its readers were actively
looking at the client server solution. The growth in the client server
development tools from $200 million in 1992 to more than $1.2 billion in
1996.
The key client server idea is that client as user is essentially insulated from
the physical location and formats of the data needs for their application. With
the proper middleware, a client input from or report can transparently access
and manipulate both local database on the client machine and remote
databases on one or more servers. An added bonus is the client server opens
the door to multi-vendor database access indulging heterogeneous table
joins.
What is a Client Server
Two prominent systems in existence are client server and file server systems.
It is essential to distinguish between client servers and file server systems.
Both provide shared network access to data but the comparison dens there!
The file server simply provides a remote disk drive that can be accessed by
LAN applications on a file-by-file basis. The client server offers full relational
database services such as SQL-Access, Record modifying, Insert, Delete with
full relational integrity backup/ restore performance for high volume of
transactions, etc. the client server middleware provides a flexible interface
between client and server, who does what, when and to whom.
Client server has evolved to solve a problem that has been around since the
earliest days of computing: how best to distribute your computing, data
generation and data storage resources in order to obtain efficient, cost
effective departmental an enterprise wide data processing. During mainframe
era choices were quite limited. A central machine housed both the CPU and
DATA (cards, tapes, drums and later disks). Access to these resources was
initially confined to batched runs that produced departmental reports at the
appropriate intervals. A strong central information service department ruled
the corporation. The role of the rest of the corporation limited to requesting
new or more frequent reports and to provide hand written forms from which
the central data banks were created and updated. The earliest client server
solutions therefore could best be characterized as “SLAVE-MASTER”.
Time-sharing changed the picture. Remote terminal could view and even
change the central data, subject to access permissions. And, as the
central data banks evolved in to sophisticated relational database
with non-programmer query languages, online users could formulate
adhoc queries and produce local reports with out adding to the MIS
applications software backlog. However remote access was through
dumb terminals, and the client server remained subordinate to the
Slave\Master.
The browser specific components are designed by using the HTML standards,
and the dynamism of the designed by concentrating on the constructs of the
Java Server Pages.
Communication or Database Connectivity Tier
About Java
Initially the language was called as “oak” but it was renamed as “Java” in
1995. The primary motivation of this language was the need for a platform-
independent (i.e., architecture neutral) language that could be used to create
software to be embedded in various consumer electronic devices.
Java has had a profound effect on the Internet. This is because; Java
expands the Universe of objects that can move about freely in Cyberspace.
In a network, two categories of objects are transmitted between the Server
and the Personal computer. They are: Passive information and Dynamic
active programs. The Dynamic, Self-executing programs cause serious
problems in the areas of Security and probability. But, Java addresses those
concerns and by doing so, has opened the door to an exciting new form of
program called the Applet.
Every time you that you download a “normal” program, you are risking a
viral infection. Prior to Java, most users did not download executable
programs frequently, and those who did scanned them for viruses prior to
execution. Most users still worried about the possibility of infecting their
systems with a virus. In addition, another type of malicious program exists
that must be guarded against. This type of program can gather private
information, such as credit card numbers, bank account balances, and
passwords. Java answers both these concerns by providing a “firewall”
between a network application and your computer.
When you use a Java-compatible Web browser, you can safely download Java
applets without fear of virus infection or malicious intent.
Portability
The key that allows the Java to solve the security and portability problems is
that the output of Java compiler is Byte code. Byte code is a highly optimized
set of instructions designed to be executed by the Java run-time system,
which is called the Java Virtual Machine (JVM). That is, in its standard form,
the JVM is an interpreter for byte code.
Translating a Java program into byte code helps makes it much easier to run
a program in a wide variety of environments. The reason is, once the run-
time package exists for a given system, any Java program can run on it.
Although Java was designed for interpretation, there is technically nothing
about Java that prevents on-the-fly compilation of byte code into native
code. Sun has just completed its Just In Time (JIT) compiler for byte code.
When the JIT compiler is a part of JVM, it compiles byte code into executable
code in real time, on a piece-by-piece, demand basis. It is not possible to
compile an entire Java program into executable code all at once, because
Java performs various run-time checks that can be done only at run time.
The JIT compiles code, as it is needed, during execution.
Java Virtual Machine (JVM)
Beyond the language, there is the Java virtual machine. The Java virtual
machine is an important element of the Java technology. The virtual machine
can be embedded within a web browser or an operating system. Once a piece
of Java code is loaded onto a machine, it is verified. As part of the loading
process, a class loader is invoked and does byte code verification makes sure
that the code that’s has been generated by the compiler will not corrupt the
machine that it’s loaded on. Byte code verification takes place at the end of
the compilation process to make sure that is all accurate and correct. So byte
code verification is integral to the compiling and executing of Java code.
Overall Description
Java .Class
Picture showing the development process of JAVA Program
Java programming uses to produce byte codes and executes them. The first
box indicates that the Java source code is located in a. Java file that is
processed with a Java compiler called javac. The Java compiler produces a
file called a. class file, which contains the byte code. The. Class file is then
loaded across the network or loaded locally on your machine into the
execution environment is the Java virtual machine, which interprets and
executes the byte code.
Java Architecture
Compilation of code
When you compile the code, the Java compiler creates machine code (called
byte code) for a hypothetical machine called Java Virtual Machine (JVM). The
JVM is supposed to execute the byte code. The JVM is created for overcoming
the issue of portability. The code is written and compiled for one machine
and interpreted on all machines. This machine is called Java Virtual Machine.
Compiling and interpreting Java Source Code
Java
PC Compiler Interpreter
Source
(PC)
Code
Java
………..
………..
Byte code
Macintosh
Compiler Java
……….. Interpreter
(Platform (Macintosh)
Java
Indepen Interpreter
………… dent) (Spare)
SPARC
Compiler
During run-time the Java interpreter tricks the byte code file into thinking
that it is running on a Java Virtual Machine. In reality this could be a Intel
Pentium Windows 95 or SunSARC station running Solaris or Apple Macintosh
running system and all could receive code from any computer through
Internet and run the Applets.
Simple
Java was designed to be easy for the Professional programmer to learn and
to use effectively. If you are an experienced C++ programmer, learning Java
will be even easier. Because Java inherits the C/C++ syntax and many of the
object oriented features of C++. Most of the confusing concepts from C++
are either left out of Java or implemented in a cleaner, more approachable
manner. In Java there are a small number of clearly defined ways to
accomplish a given task.
Object-Oriented
What Is MySQL?
software. Anybody can download the MySQL software from the Internet
and use it without paying anything. If you wish, you may study the source
code and change it to suit your needs. The MySQL software uses the GPL
(GNU General Public License), http://www.gnu.org/licenses/, to define what
you may and may not do with the software in different situations. If you
feel uncomfortable with the GPL or need to embed MySQL code into a
commercial application you can buy a commercially licensed version from
us.
The MySQL Database Server is very fast, reliable, and easy to use. If that is
what you are looking for, you should give it a try. MySQL Server also has a
practical set of features developed in close cooperation with our users.
You can find a performance comparison of MySQL Server with other
database managers on our benchmark page. MySQL Server was originally
developed to handle large databases much faster than existing solutions
and has been successfully used in highly demanding production
environments for several years. Though under constant development,
MySQL Server today offers a rich and useful set of functions. Its
connectivity, speed, and security make MySQL Server highly suited for
accessing databases on the Internet.
The technical features of MySQL Server:
The official way to pronounce MySQL is ``My Ess Que Ell'' (not ``my
sequel''),
History of MySQL:
We started out with the intention of using mSQL to connect to our tables
using our own fast low-level (ISAM) routines. However, after some testing
we came to the conclusion that mSQL was not fast enough nor flexible
enough for our needs. This resulted in a new SQL interface to our
database but with almost the same API interface as mySQL. This API was
chosen to ease porting of third-party code.
The derivation of the name MySQL is not clear. Our base directory and a
large number of our libraries and tools have had the prefix ``my'' for well
over 10 years. However, co-founder Monty Wideness’ daughter (some
years younger) is also named My. Which of the two gave its name to
MySQL is still a mystery, even for us.
The name of the MySQL Dolphin (our logo) is Sakila. Sakila was chosen by
the founders of MySQL AB from a huge list of names suggested by users
in our "Name the Dolphin" contest. The winning name was submitted by
Ambrose Twebaze, an open source software developer from Swaziland,
Africa. According to Ambrose, the name Sakila has its roots in SiSwati,
the local language of Swaziland. Sakila is also the name of a town in
Arusha, Tanzania, near Ambrose's country of origin, Uganda.
The Main Features of MySQL:
Column Types:
• Many column types: signed/unsigned integers 1, 2, 3, 4, and
8 bytes long, FLOAT, DOUBLE, CHAR, VARCHAR, TEXT, BLOB,
DATE, TIME, DATETIME, TIMESTAMP, YEAR, SET, and ENUM
and GROUP_CONCAT()).
• Support for LEFT OUTER JOIN and RIGHT OUTER JOIN with
both standard SQL and ODBC syntax.
• Support for aliases on tables and columns as required by
SQL-92.
• DELETE, INSERT, REPLACE, and UPDATE return the number
Security:
A privilege and password system that is very flexible and secure, and
allows host-based verification. Passwords are secure because all password
traffic is encrypted when you connect to a server.
Connectivity:
Localisation:
This section addresses the questions ``How stable is MySQL Server?'' and
``Can I depend on MySQL Server in this project?'' We will try to clarify
these issues and answer some important questions that concern many
potential users. The information in this section is based on data gathered
from the mailing list, which is very active in identifying problems as well
as reporting types of use.
Original code stems back from the early '80s, providing a stable code
base, and the ISAM table format remains backward-compatible. At TcX,
the predecessor of MySQL AB, MySQL code has worked in projects since
mid-1996, without any problems. When the MySQL Database Software
was released to a wider public, our new users quickly found some pieces
of ``untested code''. Each new release since then has had fewer
portability problems (even though each new release has also had many
new features).
Each release of the MySQL Server has been usable. Problems have
occurred only when users try code from the ``gray zones.'' Naturally,
new users don't know what the gray zones are; this section therefore
attempts to document those areas that are currently known. The
descriptions mostly deal with Version 3.23 and 4.0 of MySQL Server. All
known and reported bugs are fixed in the latest version, with the
exception of those listed in the bugs section, which are things that are
design-related. See section 1.8.6 Known Errors and Design Deficiencies in
MySQL.
MySQL Version 3.22 had a 4 GB (4 gigabyte) limit on table size. With the
MyISAM table type in MySQL Version 3.23, the maximum table size was
pushed up to 8 million terabytes (2 ^ 63 bytes).
Note, however, that operating systems have their own file-size limits.
Here are some examples:
SERVLETS
Introduction
The Java web server is JavaSoft's own web Server. The Java web server is
just a part of a larger framework, intended to provide you not just with a
web server, but also with tools. To build customized network servers for any
Internet or Intranet client/server system. Servlets are to a web server, how
applets are to the browser.
About Servlets
Attractiveness of Servlets
There are many features of Servlets that make them easy and attractive to
use. These include:
Easily configured using the GUI-based Admin tool
Can be loaded and invoked from a local disk or remotely across
the network.
Can be linked together, or chained, so that one Servlets can call
another Servlets, or several Servlets in sequence.
Can be called dynamically from within HTML pages, using
server-side include tags.
Are secure - even when downloading across the network, the
Servlets security model and Servlets sandbox protect your
system from unfriendly behavior.
Advantages of the Servlet API
• Servlets are persistent. Servlet are loaded only by the web server
and can maintain services between requests.
• Servlets are fast. Since Servlets only need to be loaded once, they
offer much better performance over their CGI counterparts.
• Servlets are platform independent.
• Servlets are extensible. Java is a robust, object-oriented
programming language, which easily can be extended to suit your
needs
• Servlets are secure.
• Servlets can be used with a variety of clients.
Loading Servlets
From a remote location. For this a code base like http: // nine.eng / classes /
foo / is required in addition to the Servlets class name. Refer to the admin
GUI docs on Servlet section to see how to set this up.
Invoking Servlets
JavaScript
JavaScript is a script-based programming language that was developed by
Netscape Communication Corporation. JavaScript was originally called Live
Script and renamed as JavaScript to indicate its relationship with Java.
JavaScript supports the development of both client and server components of
Web-based applications. On the client side, it can be used to write programs
that are executed by a Web browser within the context of a Web page. On
the server side, it can be used to write Web server programs that can
process information submitted by a Web browser and then updates the
browser’s display accordingly
Even though JavaScript supports both client and server Web programming,
we prefer JavaScript at Client side programming since most of the browsers
supports it. JavaScript is almost as easy to learn as HTML, and JavaScript
statements can be included in HTML documents by enclosing the statements
between a pair of scripting tags
<SCRIPTS>.. </SCRIPT>.
<SCRIPT LANGUAGE = “JavaScript”>
JavaScript statements
</SCRIPT>
Here are a few things we can do with JavaScript:
Validate the contents of a form and make calculations.
Add scrolling or changing messages to the Browser’s status line.
Animate images or rotate images that change when we move
the mouse over them.
Detect the browser in use and display different content for
different browsers.
Detect installed plug-ins and notify the user if a plug-in is
required.
We can do much more with JavaScript, including creating entire application.
JavaScript Vs Java
JavaScript and Java are entirely different languages. A few of the most
glaring differences are:
There are many other differences but the important thing to remember is
that JavaScript and Java are separate languages. They are both useful for
different things; in fact they can be used together to combine their
advantages.
Advantages
Hypertext Markup Language (HTML), the languages of the World Wide Web
(WWW), allows users to produces Web pages that include text, graphics and
pointer to other Web pages (Hyperlinks).
HTML is not a programming language but it is an application of ISO Standard
8879, SGML (Standard Generalized Markup Language), but specialized to
hypertext and adapted to the Web. The idea behind Hypertext is that instead
of reading text in rigid linear structure, we can easily jump from one point to
another point. We can navigate through the information based on our
interest and preference. A markup language is simply a series of elements,
each delimited with special characters that define how text or other items
enclosed within the elements should be displayed. Hyperlinks are underlined
or emphasized works that load to other documents or some portions of the
same document.
HTML can be used to display any type of document on the host computer,
which can be geographically at a different location. It is a versatile language
and can be used on any platform or desktop.
HTML provides tags (special codes) to make the document look attractive.
HTML tags are not case-sensitive. Using graphics, fonts, different sizes, color,
etc., can enhance the presentation of the document. Anything that is not a
tag is part of the document itself.
Advantages
A HTML document is small and hence easy to send over the net.
It is small because it does not include formatted information.
HTML is platform independent.
HTML tags are not case-sensitive.
What Is JDBC?
JDBC is a Java API for executing SQL statements. (As a point of interest,
JDBC is a trademarked name and is not an acronym; nevertheless, JDBC is
often thought of as standing for Java Database Connectivity. It consists of a
set of classes and interfaces written in the Java programming language.
JDBC provides a standard API for tool/database developers and makes it
possible to write database applications using a pure Java API.
Using JDBC, it is easy to send SQL statements to virtually any relational
database. One can write a single program using the JDBC API, and the
program will be able to send SQL statements to the appropriate database.
The combinations of Java and JDBC lets a programmer write it once and run
it anywhere.
What Does JDBC Do?
The JDBC API supports both two-tier and three-tier models for database
access.
In the two-tier model, a Java applet or application talks directly to the
database. This requires a JDBC driver that can communicate with the
particular database management system being accessed. A user's SQL
statements are delivered to the database, and the results of those
statements are sent back to the user. The database may be located on
another machine to which the user is connected via a network. This is
referred to as a client/server configuration, with the user's machine as the
client, and the machine housing the database as the server. The network can
be an Intranet, which, for example, connects employees within a corporation,
or it can be the Internet.
JAVA
Application Client machine
JDBC
DBMS-proprietary protocol
Database
DBMS server
Java applet or
Html browser Client machine (GUI)
Application
Server (Java) Server machine (business Logic)
JDBC DBMS-proprietary protocol
Database server
DBMS
Until now the middle tier has typically been written in languages such as C
or C++, which offer fast performance. However, with the introduction of
optimizing compilers that translate Java byte code into efficient machine-
specific code, it is becoming practical to implement the middle tier in
Java. This is a big plus, making it possible to take advantage of Java's
robustness, multithreading, and security features. JDBC is important to
allow database access from a Java middle tier.
JDBC Driver Types
The JDBC drivers that we are aware of at this time fit into one of four
categories:
JDBC-ODBC bridge plus ODBC driver
Native-API partly-Java driver
JDBC-Net pure Java driver
Native-protocol pure Java driver
JDBC-ODBC Bridge
If possible, use a Pure Java JDBC driver instead of the Bridge and an
ODBC driver. This completely eliminates the client configuration required
by ODBC. It also eliminates the potential that the Java VM could be
corrupted by an error in the native code brought in by the Bridge (that is,
the Bridge native library, the ODBC driver manager library, the ODBC
driver library, and the database client library).
What Is the JDBC- ODBC Bridge?
Java server Pages is a simple, yet powerful technology for creating and
maintaining dynamic-content web pages. Based on the Java programming
language, Java Server Pages offers proven portability, open standards,
and a mature re-usable component model .The Java Server Pages
architecture enables the separation of content generation from content
presentation. This separation not eases maintenance headaches; it also
allows web team members to focus on their areas of expertise. Now, web
page designer can concentrate on layout, and web application designers
on programming, with minimal concern about impacting each other’s
work.
Features of JSP
Portability:
Java Server Pages files can be run on any web server or web-enabled
application server that provides support for them. Dubbed the JSP engine,
this support involves recognition, translation, and management of the
Java Server Page lifecycle and its interaction components.
Components
It was mentioned earlier that the Java Server Pages architecture can
include reusable Java components. The architecture also allows for the
embedding of a scripting language directly into the Java Server Pages file.
The components current supported include Java Beans, and Servlets.
Processing
A Java Server Pages file may be accessed in at least two different ways. A
client’s request comes directly into a Java Server Page. In this scenario,
suppose the page accesses reusable Java Bean components that perform
particular well-defined computations like accessing a database. The result
of the Beans computations, called result sets is stored within the Bean as
properties. The page uses such Beans to generate dynamic content and
present it back to the client.
In both of the above cases, the page could also contain any valid Java
code. Java Server Pages architecture encourages separation of content
from presentation.
Steps in the execution of a JSP Application:
1. The client sends a request to the web server for a JSP file by giving the
name of the JSP file within the form tag of a HTML page.
Purpose
The generated application is the first version upon the system. The overall
system is planned to be in the formal of distributed architecture with
homogeneous database platform. The major objective of the overall system
is to keep the following components intact.
Admin
Units Info
Booking Info
WEB BASED
ACCOMODATIO Guests
N UPHOLDING
SYSTEM
Facilities Info
Guest
Units Facilities Registration Flow
: Ref Unit
Unit Facilities
Facilities
1.1 Commit(
Unit 1.0
)
Facilities Validate Unit Facilities
Registratio Generat Refunt
n e ID() Facilities
Scope out if
not
generated
ot
e turn if n
R
found
Gues
t
If Failed
: Ref Unit
Facilities
Guest Registration Flow
Accommodation
Units
Location
Commit(
3.0 3.1 3.2 )
Unit
Validate Validate
Registratio Generat Accom Ref Unit DB
e ID() False Location Type
n Process
If Failed
ER-Diagrams
Use cases model the system from the end users point of view, with the
following objectives
- Ubook ID
- Unit ID Ref Gender
- Guest ID
- Booking Status - Gender Code
CD Guest
- Gender Desc
+ Insert () - Guest ID
+ Insert ()
+ Delete () - Gender Code
+ Delete ()
+ Update () - Guest Name
+ Update ()
+ Search () - Date of Birth
+ Search ()
+ Validate Guest () - Guest Details
+ Update ()
+ Search ()
Ref Gender
- Unit ID
- Location ID
+ Insert ()
+ Delete ()
+ Update ()
+ Search ()
Accommodation Units
- Location ID - Units ID
- Location Name - Location ID
- Location Full Name - Unit Type Code
- Location Desc + Insert ()
+ Insert () + Delete ()
+ Delete () + Update ()
+ Update () + Search ()
+ Search () + Validate Location ()
+ Delete ()
+ Search () - Units ID
- unit Adv Code
+ Insert ()
+ Delete ()
+ Update ()
Ref Unit Facilites + Search ()
- Unit Adv Code
- Unit Adv Desc
+ Insert ()
+ Delete ()
+ Update ()
+ Search ()
Guest Units
Unit Booking
- Guest ID - Unit ID
- Gender Code - Unit Booking ID - Local ID
- Unit ID
+ Insert () + Insert ()
- Booking Station
+ Delete () - Guest ID + Delete ()
+ Update ()
- Booking Station Details
+ Update ()
- Booking End Details
+ Search () + Search ()
+ Insert ()
+ Validate + Validate Loc
+ Delete ()
Gender Code() ID ()
+ Update ()
+ Search ()
+ Validate Unit ID ()
+ Validate Guest ID ()
Location
Units
- Location ID
- Units ID
- Loc Short Name
- Location ID
- Loc Full Name
- Unit Type code
+ Insert ()
+ Insert ()
+ Delete ()
+ Delete ()
+ Update ()
+ Update ()
+ Search ()
+ Search ()
+ Validate Loc ID ()
OBJECT DIAGRAMS
Ref Gend Ob : Ref Gender
Units ob : Units
Guest Ob : Guest
Units ob : Units
Units ob : Units
Guest ob : Guest
Location Ob : Location
CLASS COLLABORATION
: Units
3 : Units : Accommodation Location
: Guest
5
4 : View Unit Status : Units : Locations
: Unit Bkng ID
: Guests
: Ref Gender
1) SEQUENCE DIAGRAMS
Open Form
Generate ID ()
Search ()
Guest
Commt
DB
x Generated
: View Unit
: Unit Bkg From : Unit Booking
: Guest Station
x Generated
Testing Objectives
The main objective of testing is to uncover a host of errors, systematically
and with minimum effort and time. Stating formally, we can say,
Testing is a process of executing a program with the intent of
finding an error.
A successful test is one that uncovers an as yet undiscovered error.
A good test case is one that has a high probability of finding error, if
it exists.
The tests are inadequate to detect possibly present errors.
The software more or less confirms to the quality and reliable
standards.
Levels of Testing
In order to uncover the errors present in different phases we have the
concept of levels of testing.Acceptance
The basic levels of testing are as shown
below… Testing
Client Needs
System Testing
Requirements
Design
Integration Testing
Code
Unit Testing
System Testing
The philosophy behind testing is to find errors. Test cases are devised with
this in mind. A strategy employed for system testing is code testing.
Code Testing:
This strategy examines the logic of the program. To follow this method we
developed some test data that resulted in executing every instruction in the
program and module i.e. every path is tested. Systems are not designed as
entire nor are they tested as single systems. To ensure that the coding is
perfect two types of testing is performed or for that matter is performed or
that matter is performed or for that matter is performed on all systems.
Types Of Testing
Unit Testing
Link Testing
Unit Testing
Unit testing focuses verification effort on the smallest unit of software i.e. the
module. Using the detailed design and the process specifications testing is
done to uncover errors within the boundary of the module. All modules must
be successful in the unit test before the start of the integration testing
begins.
In this project each service can be thought of a module. There are so many
modules like Login, HWAdmin, MasterAdmin, Normal User, and PManager.
Giving different sets of inputs has tested each module. When developing the
module as well as finishing the development so that each module works
without any error. The inputs are validated when accepting from the user.
Link Testing
Link testing does not test software but rather the integration of each module
in system. The primary concern is the compatibility of each module. The
Programmer tests where modules are designed with different parameters,
length, type etc.
Integration Testing
After the unit testing we have to perform integration testing. The goal here is
to see if modules can be integrated properly, the emphasis being on testing
interfaces between modules. This testing activity can be considered as
testing the design and hence the emphasis on testing module interactions.
In this project integrating all the modules forms the main system. When
integrating all the modules I have checked whether the integration effects
working of any of the services by giving different combinations of inputs with
which the two services run perfectly before Integration.
System Testing
Here the entire software system is tested. The reference document for this
process is the requirements document, and the goal os to see if software
meets its requirements.
Here entire ‘ATM’ has been tested against requirements of project and it is
checked whether all requirements of project have been satisfied or not.
Acceptance Testing
This is a unit testing method where a unit will be taken at a time and tested
thoroughly at a statement level to find the maximum possible errors. I tested
step wise every piece of code, taking care that every statement in the code is
executed at least once. The white box testing is also called Glass Box Testing.
I have generated a list of test cases, sample data, which is used to check all
possible combinations of execution paths through the code at every module
level.
This testing method considers a module as a single unit and checks the unit
at interface and communication with other modules rather getting into details
at statement level. Here the module will be treated as a block box that will
take some input and generate output. Output for a given set of input
combinations are forwarded to other modules.
Criteria Satisfied by Test Cases
Test cases that reduced by a count that is greater than one, the number of
additional test cases that much be designed to achieve reasonable testing.
Test cases that tell us something about the presence or absence of classes of
errors, rather than an error associated only with the specific test at hand.
Chapter
12
User Manual
Installation
The database as it is developed by oracle 8i can be installed only by
using the export and import concepts.
Using core java and components like JSP and Servlets needs proper
deployment as per general specifications developed the front end as it.
Chapter1
3
Conclusions &
Recommendations
Conclusions And Recommendations
The entire project has been developed and deployed as per the requirements
stated by the user, it is found to be bug free as per the testing standards
that are implemented. Any specification untraced errors will be concentrated
in the coming versions, which are planned to be developed in near future.
The system at present does not take care off the money payment methods,
as the consolidated constructs need SSL standards and are critically to be
initiated in the first face, the application of the credit card transactions is
applied as a developmental phase in the coming days. The system needs
more elaborative technicality for its inception and evolution.
Bibliography:
References for the Project Development Were Taken From the following
Books and Web Sites.
Oracle
PL/SQL Programming by Scott Urman
SQL complete reference by Livion
JAVA Technologies
JAVA Complete Reference
Java Script Programming by Yehuda Shiran
Mastering JAVA Security
JAVA2 Networking by Pistoria
JAVA Security by Scotl oaks
Head First EJB Sierra Bates
J2EE Professional by Shadab siddiqui
JAVA server pages by Larne Pekowsley
JAVA Server pages by Nick Todd
HTML
HTML Black Book by Holzner
JDBC
Java Database Programming with JDBC by Patel moss.
Software Engineering by Roger Pressman