Beruflich Dokumente
Kultur Dokumente
Project Report
INTRODUCTION
Arte Museo
Project Report
Arte Museo
Project Report
SYSTEM ANALYSIS
2.1 INTRODUCTION
St Thomas College, Kozhencherry
Dept Of Computer Science
Arte Museo
Project Report
It is the process of gathering and interpreting facts in the area of paintings, diagnosing the
problems and using the information to recommend improvements on the system. System analysis
is a problem solving activity that requires intensive communication between the system users
and system developers. Requirement analysis or study is an important phase of any system
development process. The system is studied to the minutest detail and analyzed. The system
analyst plays the role of interrogator and dwells deep into the system are identified. The outputs
from the organization are traced through various phases of the processing of inputs.
Arte Museo
Project Report
Technical Feasibility
Economic Feasibility
Operational Feasibility
The proposed system Arte Museo must be evaluated from the technical point of view first, and if
technically feasible their impact on the organization must be assessed. If compatible, operational
system can be devised. Then they must be tested for economic feasibility. The assessment of this
feasibility must be based on an outline design of the system requirement in the terms of input,
output, programs, procedure and staff. Having identified an outline system, the investigation must
go to suggest the type of the equipment, required method developing the system, method of
running the system once it has been designed. The project should be developed such that the
necessary functions and performance are achieved within the constraints. Though the system may
become obsolete after some period of time, due to the fact that the newer version software supports
the older version, this system may still be used. Arte Museo helps you to manage and purchase the
paintings in the stock and also offers a wide variety of reports that give you exactly the information
you need. It is available to view information of each customer who purchase the paintings and to
find their paintings and other facilities. Arte Museo allows to add and removethe paintings with
detailed description and cost. The admin can view all the bookings and grand total of the bills. This
module will increase the dynamism of the administration system. The change that occurs in the
general administration reflects in the overall functionality of the project. The administrator is
responsible to insert news regarding new trends that are emerging in the Arte Museo. It is also the
duty of the administrator to add, remove and update the various informations of the application.
St Thomas College, Kozhencherry
Dept Of Computer Science
Arte Museo
Project Report
Requirement Analysis:
Arte Museo
Project Report
The system will provide a login name and password to the admin.
An error message will be displayed if the username and password does not match.
The admin can add, edit/update and delete the customer details.
The admin can add, edit/update and delete the paintings details.
The admin can add, edit/update and delete the booking details.
The admin can add, edit/update and delete the payment details.
Arte Museo
Project Report
SYSTEM
REQUIREMENT
SPECIFICATION
Arte Museo
Project Report
80 GB
DISPLAY
15 COLOR MONITOR
MAIN MEMORY
1 GB
KEYBOARD
104 KEYS
CLOCK-SPEED
2.6 GHZ
MONITOR
15 SVGA COLOR
WINDOWS 7
BACKEND
FRONT END
JAVA (jdk1.6)
Arte Museo
Project Report
Platform Independence:
The Write-Once-Run-Anywhere ideal has not been achieved (tuning for different
platforms usually required), but closer than with other languages.
Object Oriented:
Object oriented throughout - no coding outside of class definitions, including main (). In
core language package an extensive class library available.
Compiler/Interpreter:
Code is compiled to byte codes that are interpreted by Java virtual machines (JVM). This
provides portability to any machine for which a virtual machine has been written. The two steps
of compilation and interpretation allow for extensive code checking and improved security.
Robust:
Exception handling built-in, strong type checking (that is, all data must be declared an
explicit type), local variables must be initialized.
Security:
No memory pointers
10
Arte Museo
Project Report
Security manager - determines what resources a class can access such as reading and
writing to the local disk.
Dynamic Binding:
The linking of data and methods to where they are located is done at run-time. New
classes can be loaded while a program is running. Linking is done on the fly. Even if libraries are
recompiled, there is no need to recompile code that uses classes in those libraries.
This differs from C++, which uses static binding. This can result in fragile classes for cases
where linked code is changed and memory pointers then point to the wrong addresses.
Good Performance:
Interpretation of byte codes slowed performance in early versions, but advanced virtual
machines with adaptive and just-in-time compilation and other techniques now typically provide
performance up to 50% to 100% the speed of C++ programs.
Threading:
Lightweight processes, called threads, can easily be spun off to perform multiprocessing.
Can take advantage of multiprocessors where available. Good for multimedia displays.
Built-in Networking:
Java was designed with networking in mind and comes with many classes to develop
sophisticated Internet communications.
11
Arte Museo
Project Report
The first step was to eliminate redundancy from C and C++. In many ways, the C
language evolved into a collection of overlapping features, providing too many ways to say the
same thing, while in many cases not providing needed features. C++, in an attempt to add
"classes in C", merely added more redundancy while retaining many of the inherent problems of
C.
12
Arte Museo
Project Report
In C you'd define these classes as structures. In Java, you simply declare classes. You can
make the instance variables as private or as public as you wish, depending on how much you
wish to hide the details of the implementation from other objects.
No Enums:
Java has no enum types. You can obtain something similar to enum by declaring a class
whose only raison d'etre is to hold constants. Using classes to contain constants in this way
provides a major advantage over C's enum types. In C (and C++), names defined in enums must
be unique.
Using the class-to-contain-constants technique in Java, you can use the same names in
different classes, because those names are qualified by the name of the containing class. There is
no ambiguity because the name of the containing class acts as a qualifier for the constants. Java
effectively provides you the concept of qualified enums, all within the existing class
mechanisms.
No More Functions:
Java has no functions. Object-oriented programming supersedes functional and
procedural styles. Mixing the two styles just leads to confusion and dilutes the purity of an
object-oriented language. Anything you can do with a function you can do just as well by
defining a class and creating methods for that class.
It's not to say that functions and procedures are inherently wrong. But given classes and
methods, we're now down to only one way to express a given task. By eliminating functions,
your job as a programmer is immensely simplified: you work only with classes and their
methods.
13
Arte Museo
Project Report
An interface is not a definition of a class. Rather, it's a definition of a set of methods that
one or more classes will implement. An important issue of interfaces is that they declare only
methods and constants. Variables may not be defined in interfaces.
No More Pointers:
Most studies agree that pointers are one of the primary features that enable programmers
to inject bugs into their code. Given that structures are gone, and arrays and strings are objects,
the need for pointers to these constructs goes away. Thus, Java has no pointer data types. Any
task that would require arrays, structures, and pointers in C can be more easily and reliably
performed by declaring objects and arrays of objects. Instead of complex pointer manipulation
on array pointers, you access arrays by their arithmetic indices.
St Thomas College, Kozhencherry
Dept Of Computer Science
14
Arte Museo
Project Report
The Java run time system checks all array indexing to ensure indices are within the
bounds of the array. You no longer have dangling pointers and trashing of memory because of
incorrect pointers, because there are no pointers in Java.
Java is simple because it is a stripped version of C++. Some of the complex features
of C++ such as pointers, operator overloading, and memory management problems
have been removed in Java.
The building up of functions and data together as a single entity called the object,
leads to several attractive features like data encapsulation, data abstraction,
inheritance and polymorphism. The chief advantage of object-oriented languages is
their code reusability.
Java is an interpreted language and such interpreters are a part of Java-enabled Webservers.
Java is portable since it does not contain any OS dependent code. This means that it
can run on OS like Windows 95/98/Me/NT, UNIX, LINUX, and Solaris etc.
Multithreaded feature is ideal for a network like Internet where multiple tasks have to
be performed simultaneously.
15
Arte Museo
Project Report
Sun offers a package java.sql that allows the java programs to access relational
database management system. Through this Java database connectivity package, we
can connect to relational database and interact with the database.
Establish a connection between Java program and the database manager. Send a SQL
statement to the database by using the statement object. Read the results and use them
in your program.
In order to establish a connection with the database the Java runtime environment
must load the driver for the specified database. The Driver manager class is
responsible for loading and unloading drivers.
Loading Drivers
A database vendor typically writes JDBC drivers. They accept JDBC connection and
statements from one-side and issue native calls to the database from the other. Some
database vendors havent yet written JDBC drivers, but they have drivers that confirm
to Microsoft Standard ODBC. The following code preloads a JDBC-ODBC bridge:
Try
{ Class.forName (sun.jdbc.odbc.JdbcOdbcDriver); }
catch (ClassNotFoundException) { };
Once a driver has registered with Driver Manager we can use it to connect to a
database. Tell Driver Manager that we want to make a new connection. It will invoke
the Driver and return a reference to the connection for us. You will need to specify the
location of the database and for many database you will need a user name and a
password.
16
Arte Museo
Project Report
When the Driver Manager gets a getConnection () request, it takes the JDBC URL
and passes it to each registered Driver in turn. The first Driver to recognize the URL
and say that it can connect gets to establish the connection.
The connection class produces the statement object using a method createStatement().
We can use a statement object to hold the SQL statement. When we send a statement
object to the database over the connection, the database runs our SQL and returns a
Resultset. To get a Resultset write code like
The Result set class itself functions as a SQL cursor. Resultset allows us to step
through the data from a SELECT statement one row at a time. To advance from one
row to the next Sun has provided getType() methods for all of the primitive types that
SQL can store. When you have finished with the statement and connection objects, it
is good
17
Arte Museo
Project Report
lightweight components is possibly slower execution. The advantage is uniform behavior on all
platforms.
JApplet
JFrame
JDialog
18
Arte Museo
JPanel
JTabbedPane
JScrollPane
JToolBar
Project Report
Atomic components:
Atomic components placed on the intermediate level Swing containers. Atomic
components are used to accept input from a user. The various atomic components are:
JTextField
JComboBox
JCheckbox
JButton
JLabel
JTable
JApplet
JApplet is an extension of the AWT Applet class. The Swing components that contain an
applet need to extend the JApplet class. We can add menu and toolbars using the JApplet class.
The JApplet class includes various panes such as content pane, layered pane, glass pane and root
19
Arte Museo
Project Report
pane. The JApplet () constructor enables us to create a Swing applet instance when we create an
instance of the JApplet class.
JFrame
JFrame class is an extension of the AWT Frame class. A frame is a top-level window that
contains the title, border, minimize and maximize buttons. We cannot add components directly to
JFrame. We need to add components to content pane of the JFrame class.
JDialog
JDialog class is extension of the Java AWT Dialog class. The JDialog class is used to
create modal and non-modal Dialog boxes. A modal dialog box does not enable us to interact
with other windows until the dialog box is closed. A non-modal dialog box enables us to interact
with other windows while the dialog box is open. The JDialog class does not enable us to add
component directly to a dialog box. The components are added to the content pane, which is a
child class of the dialog box.
JPanel
JPanel class is an extension of the JComponent class that provides placement for the
AWT panel class. A panel is used to hold other Swing components. We create a panel and add
various components to it. The panel is further added to the content pane, which represents the
display area of a window, a dialog or a frame. JPanel support all Layout Managers of AWT. By
default, Panel applies the Flow Layout Manager.
JTabbedPane
JTabbedPane class is used to create a tabbed pane component that enables us to switch
between groups of components by clicking a tab with given label. Tabs are added to the
JTabbed pane object by using the addTab () method.
20
Arte Museo
Project Report
Atomic Components
JButton
The JButton class enables us to add a button to an applet or a panel.
JTextField
The JTextField class creates a text field that enables us to edit a single line of text.
JCheckbox
The JCheckbox class is an extension of check boxes created using AWT. The JCheck Box
class creates a check box that contains a text string and icon.
JComboBox
The JComboBox is a combination of text field and a drop-down list. We can type in a
value or select it from a list using the JCombo Box.
JLabel
The JLabel class is used to display text and image. By default, a label that displays text is
left aligned and a label that displays images is horizontally centered.
Easier to Use
Windows XP makes it easier to work with file find information, personalize user
21
Arte Museo
Project Report
Easier to Manage
Windows XP makes it easier to setup, easier to administrate and easier to support
workstation.
More Compatible
Windows XP is more compatible with different types of networks, current and next
generation hardware and software devices and multimedia devices that make up computing
system.
More Powerful
Windows XP produces instrumental strength, reliability, the highest level of security
other
Query optimization
Data integrity
Concurrency control
22
Arte Museo
Project Report
Internet Integration.
The SQL Server 2005 database engine includes integrated XML support .It has the
scalability, availability, and security features required to operate as the data storage
component of the largest Web sites.
The same database engine can be used across platforms ranging from laptop computers
running Microsoft Windows 98 through large, multiprocessor servers running Microsoft
Windows 2005 Data Center Edition. SQL Server 2005 Enterprise Edition supports
features such as federated servers, indexed views, and large memory support that allow it
to scale to the performance levels required by the largest Web sites.
The SQL Server 2005 relational database engine supports the features required to support
demanding data processing environments .The database engine protects data integrity
while minimizing the overhead of managing thousands of users concurrently modifying
the database.
SQL Server 2005 includes a set of administrative and development tools that improve
upon the process of installing, deploying, managing and using SQL Server across several
sites .SQL Server 2005 also supports a standards- base programming model integrated
with the Windows DNA, making the use of SQL Server databases and data warehouses a
seamless part of building powerful and scalable systems.
23
Arte Museo
Project Report
Data Warehousing
SQL Server 2005 includes tools for extracting and analyzing summary data for online
analytical processing .SQL Server also includes tools for visually designing databases
and analyzing data using English-based questions.
24
Arte Museo
Project Report
25
Arte Museo
Project Report
SYSTEM DESIGN
4.1 INTRODUCTION
In system engineering, modular design or "modularity in design" is an approach
that subdivides a system into smaller parts (modules) that can be independently created and then
used in different systems to drive multiple functionalities. Besides reduction in cost (due to lesser
customization, and less learning time), and flexibility in design, modularity offers other benefits
such as augmentation (adding new solution by merely plugging in a new module), and exclusion.
Applications are getting more and more complicated, and they are increasingly assembled
from pieces developed independently. But they still need to be reliable. Modular coding enables
you to achieve and manage that complexity. Splitting an application into modules has benefits
for software quality. Modular software limits the risk of creeping coupled nest by requiring that
St Thomas College, Kozhencherry
Dept Of Computer Science
26
Arte Museo
Project Report
different components of the system interoperate through well-defined API contracts to a method
will return only once.
Modularity is about the interaction between systems, rather than between small parts of
subsystems. Modular applications are composed of modules. Modularity gives systems clearer
design and control of module interdependencies; it also gives developers more flexibility in
maintenance.
Modular design will have large benefits for the architecture of the entire application as it
grows from its infancy. The real benefits of modular programming might not be apparent in the
first version of an application. But they will become obvious later with the reduced cost of
creating the 2.0 and 3.0 versions. Since modular programming does not add significant cost to
creating the 1.0 version of an application, there is little reason not to use this approach on all
projects. A downside to modularity (and this depends on the extent of modularity) is that modular
systems are not optimized for performance. This is usually due to the cost of putting up
interfaces between modules
27
Arte Museo
Project Report
From a project management point of view, software design is conducted in two steps.
Preliminary design is concerned with the transformation of requirements in to data and software
architecture. Detail design focuses on refinement to the architectural representation that lead to
detail algorithm data structure and representation of software.
In System Design, high-end decisions are taken regarding the basic system architecture,
platforms and tools to be used. The system design transforms a logical representation of what a
given system is required to be in the physical specification. Design starts with the System
Requirement Specification and converts it to a physical reality during the development.
Important design factors such as reliability response time, throughput of the system
maintainability, expandability etc should be taken into account to storage device. This is the
difference between logical and physical data.
Different stages of system design are:
Input Design
Output Design
Database Design
Procedure Design
28
Arte Museo
Project Report
been supplied with messages so that user can enter data without facing any difficulty. The data is
validated wherever it requires in the project. This ensures that only the correct data have been
incorporated into the system.
The goal of designing input data is to make the automation as easy and free from errors as
possible. For providing a good input design for the application easy data input and selection
features are adopted. The input design requirements such as user friendliness, consistent format
and Interactive Dialogue for giving the right message and help for the user at right time are also
considered for the development of this project.
29
Arte Museo
Project Report
30
Arte Museo
Project Report
31
Arte Museo
Project Report
Level 1
32
Arte Museo
Project Report
Level 1.1
Level 1.2
33
Arte Museo
Project Report
Level 1.3
Level 1.4
34
Arte Museo
Project Report
FIELD NAME
DATA TYPE
SIZE
CONSTRAINTS
DESCRIPTION
*username
varchar
50
PRIMARY KEY
Username
password
varchar
50
NOT NULL
Password
35
Arte Museo
Project Report
FIELD NAME
DATA TYPE
SIZE
CONSTRAINTS
DESCRIPTION
*userid
int
PRIMARY KEY
User ID
name
varchar
50
NOT NULL
Name
address
varchar
150
NOT NULL
Address
city
varchar
30
NOT NULL
City
state
varchar
30
NOT NULL
State
country
varchar
30
NOT NULL
Country
registrationdate
varchar
10
NOT NULL
Registration Date
phone
varchar
15
NOT NULL
Phone Number
mobile
varchar
15
NOT NULL
Mobile Number
varchar
60
NOT NULL
Email ID
usertype
tinyint
NOT NULL
User Type
DATA TYPE
SIZE
CONSTRAINTS
DESCRIPTION
*paintingid
int
PRIMARY KEY
Painting ID
**userid
int
FOREIGN KEY
Painter ID
rate
float
NOT NULL
Rate
quantity
int
NOT NULL
Quantity
description
varchar
150
NOT NULL
Painting Description
paintingtype
varchar
50
NOT NULL
Painting Type
36
Arte Museo
FIELD NAME
Project Report
DATA TYPE
SIZE
CONSTRAINTS
DESCRIPTION
*billno
int
PRIMARY KEY
Bill Number
**userid
int
FOREIGN KEY
User ID
date
varchar
10
NOT NULL
Sale Date
DATA TYPE
SIZE
CONSTRAINTS
DESCRIPTION
**billno
int
FOREIGN KEY
Bill Number
**paintingid
int
FOREIGN KEY
Painting ID
quantity
int
NOT NULL
Quantity
discount
int
NOT NULL
Discount
37
Arte Museo
Project Report
Home Page
St Thomas College, Kozhencherry
Dept Of Computer Science
38
Arte Museo
Project Report
Users
39
Arte Museo
Project Report
Add users
Edit Users
40
Arte Museo
Project Report
View users
Paintings
41
Arte Museo
Project Report
Add paintings
42
Arte Museo
Project Report
Edit Paintings
View Paintings
43
Arte Museo
Project Report
Payment
44
Arte Museo
Project Report
SYSTEM TESTING
&
CODING
45
Arte Museo
Project Report
Unit Testing
Integration Testing
Validation Testing
Output Testing
User Acceptance Testing
System Testing
46
Arte Museo
Project Report
47
Arte Museo
Project Report
some aspects of a system with little regards for the internal logical structure of the software.
Errors in the following categories were found through black box testing
Interface errors
Performance errors
5.2 CODING
Coding is the software activity where the detailed design specification is implemented as
source code. Coding is the lowest level of abstraction for the software development process. It is
the last stage in decomposition of the software requirements where module specifications are
translated into a programming language.
Typical tasks for Coding
Traceability analyses
48
Arte Museo
Project Report
SYSTEM
IMPLEMENTATION
49
Arte Museo
Project Report
50
Arte Museo
Project Report
changing from one system to another. The objective is to put the tested system into operation
while holding costs, risks and personal irritation to a minimum.
Changeover is the process of adopting the new system. The new system has to be
introduced however. This is done after the system has been developed and tested completely.
There is a set of methods like Direct Changeover, Parallel Changeover, Pilot running etc. Pilot
running is intended here.
Data from one or more previous periods for the whole or part of the system is run on the
new system after results have been obtained from the old system and both are compared. It is
performed till the completion of one system life cycle.
When the changeover has taken place there will be a need for amendment to correct or
improve the new system. When the user wants to add any new records, some fields will
automatically get their default values. If the user desires to change these default values he can do
it.
51
Arte Museo
Project Report
CONCLUSION
52
Arte Museo
Project Report
The application entitled "Arte Museo developed is designed in such a way that any
further enhancement can be done with ease. The system has the capability for easy integration
with other systems. New modules can be added to the existing system with less effort. We put as
much as our effort to develop this system based application titled "Arte Museo that is easily
accessible, informative and helpful. It has been designed in such a way that it is easy to modify,
can be updated efficiently and accurately. The forms are designed user friendly by providing
messages and captions whenever necessary, so that user has no problem to overcome difficulties
in data entry, validation, searching etc. On realizing the importance of systematic documentation
all the processes are implemented using a software engineering approach. Working in a live
environment enables one to appreciate the intricacies involved in the System Development Life
Cycle (SDLC). We have gained a lot of practical knowledge from this project, which we think,
shall make us stand in a good state in the future.
Once again we would like to thank everyone who was somehow or other related with the
successful completion of this project.
53
Arte Museo
Project Report
BIBLIOGRAPHY
54
Arte Museo
Project Report
55