Sunteți pe pagina 1din 30

TABLE OF CONTENTS

1. Company Profile
2. Feasibility Study
3. Working Of Present System
4. Characteristics of The Proposed System
5.

Data Tables

6. Data Flow Diagrams


7. Screen Shots Of Form
8. Conclusions
9. Future aspects
10. References

COMPANY PROFILE
CENTRE FOR DEVELOPMENT OF ADVANCE COMPUTING
C-DAC is a government research and development organization under the Department
Of Information Technology. After being denied CRAY supercomputers, as a result of
technology embargo, India started a program to develop an indigenous supercomputer in
collaboration with Russia. Supercomputers were considered a double edged weapon
capable of assisting in the development of nuclear weapon. For the purpose of achieving
self-sufficiency in the field, C-DAC was established by the Department Of Electronics in
1988. The final result of the effort was PARAM-8000., which was installed in 1991. It is
considered Indias first supercomputer. Originally established to research and assemble
high performance computers, the research of C-DAC has spread to several other areas
like grid computing, electronics, speed, natural language processing, information and
cyber security and bioinformatics.

C-DAC provides several courses in the field of advance computing and software
development. Its Headquarters is in Pune, besides Pune the other branches are placed in
Bangalore, Chennai, Delhi, Hyderabad, Kolkata, Mumbai, Noida, Mohali, and
Thiruvanthanpuram. Its other products and developments are Namespace, Param,
Bharat Operating System and Taxogrid.

My Training Schedule got started on 28th of May and ended on 30th of June. During the
initial fifteen days we went through the basic concepts of Java and in the next fifteen days
mainly concentrated on MVC Architecture that is Model-View-Controller Architecture
which was a major platform for the project. We were guided by two instructors namely
Mr. Lalit Matoliya sir and Mr. Pankaj Shukla sir . Mr. Lalit Matoliya is an experienced
trainer from C-DAC Pune. His ways of clearing doubts and queries were outstanding, he
is very much perfect in explaining the concepts. Mr. Pankaj Shukla is also an

experienced trainer C-DAC Hyderabad, his commands in coding are very good which
really helped me to carry out my project.

MODEL-VIEW-CONTROLLER ARCHITECTURE

Flexibility in large component based systems raise questions on how to organize a project
for easy development and maintenance while protecting your data and reputation,
especially from new developers and unwitting users. Architecture such as MVC is design
pattern that describes a recurring problem and its solution where the solution is never
exactly the same for every recurrence.
In the MVC design pattern, application flow is mediated by a central controller. The
controller delegates requests to an appropriate handler. The controller is the means by
which the user interacts with the web application. The controller is responsible for input
to the model. A pure GUI co2ntroller accepts input from the user and instructs the model
and viewport to perform actions based on that input. If an invalid input is sent to the
controller from the view, the model informs controller to direct the view that error
occurred and tells it to try again.
A web application controller can be thought of as specialized view since it has a visual
aspect. It would be actually be one or more HTML forms in a web application and
therefore the model can also dictate what the controller should display as input. The
controller would produce HTML to allow the user input a query to the web application.
The controller would add the necessary parameterization of the individual form element
so that the servlet can observe the input. The controller adapts the request to the model.
The model represents or encapsulates an applications business logic or state. It captures
not only the state of a process or system, but also how the system works. It notifies any
observer when any of the data changes. The model would execute the database query for
example. The view is responsible for the output of the model. A pure GUI view attaches
to a model and renders its contents to the display surface. In addition, when the model
changes, the viewport automatically redraws the affected part of the image to reflect
those changes. A web application view just transforms the state of the model into

readable HTML. The forwarding can be implements by a lookup in a mapping in either a


database or file.

Java Server Pages makes use of Java Beans where business logic could be placed. With
the help of JSP, it makes the initial implementation a little easier to write. Every request
goes through the controller who retrieves the necessary model object. The model object
sends the output results back to the controller. The controller takes the results and places
it inside the web browser session and forwards a redirect request to a particular JSP.

SYNOPSIS OF ONLINE SHOPPING

PURPOSE:
This shopping store is usually available 24 hours a day,thus allowing consumers to shop
at any time from their own home, thus saving traveling time and in many cases the price
comparison overhead. In online shopping,Consumers find a product of interest by
visiting the website.These shop allow consumers to sign up for a permanent online
account so that some or all of this information only needs to be entered once.
Moreover,online shopping provides detail information about the product like describe
products rate, photos, Also provides instructions, demonstrations, or manufacturer
specifications.One advantage of shopping online is being able to quickly seek out deals for
items or services with many different vendors.

SCOPE:
The Scope of this project is limited to:1. The scope of online shopping business is vast; however you must do a cost benefit
analysis before actually deciding the rate and quality of product.
2. Can be used anywhere any time as it is a web based application (user location
doesnt matter).
3. Providing online shoppers a beneficial aspects like convenience and easy access to
information.
FEATURES:
1. Secured.
2. Ease of use.
3. Reliable and accurate.

OVERVIEW:
Online shopping deals with the following things:-

PRODUCT LIST:It basically includes the products that are provided on the site. It consists of Icons named
MUSIC, HARDWARE ,SOFTWARE and BOOKS which gives an option for the user to
choose any product or get information about the products.

MUSIC STORE:It contains item list of music and any icon named BUY NOW which mainly gives an overview to
the user about the type of item,its information,price and item id.

HARDWARE AND SOFTWARE:It provides a general description of the items included in it,item price and item_id.It also contain
aicon named BUY NOW which provides a link to buy any item selected by user.

BOOKS STORE:Provides mainly the list of books available in the books store product.These list includes the books
description,its price for sale and Book_id ,also provides a link BUY NOW to users who likely to
purchase a books.

TECHNOLOGIES USED
Front end as:
HTML,
JAVA
Server:
Apache tomcat 7.0
Back-end:
My sql
Platform used:
XAMPP
X: -CROSS PLATFORM
A: -APACHE
M: -My sql
P:-PHP
P: -PERL

JAVA
HISTORY
Java is a programming language originally developed by James Gosling at Sun Microsoft
which is now a subsidiary of Oracle Corporation and released in 1995 as a core
component of Sun Microsofts Java Platform. The language derives its syntax from C++.
Java applications are compiled to byte code (class file) that can run on any Java Virtual
Machine (JVM) regardless of any computer architecture. Java is the first programming
language that is not tied to any particular hardware or operating system. Programs
developed in Java can be executed anywhere on the system. We can call Java as a
revolutionary technology because it has brought in a fundamental shift in how we
develop and use programs. Nothing like has happened to the software industry before.
FEATURES
The inventors of Java wanted to design a language which could offer solutions to some of
the problems encountered in modern programming. They wanted the language to be not
only reliable, portable and distributed but also simple, compact and interactive. The
features of Java are given below:1.) Compiled and Interpreted:Java combines both these approaches thus making itself a two-stage system.
First Java compiler translates source
code into what is known as byte code
instructions. Byte codes are not machine instructions and therefore, in the second
stage, Java interpreter generates machine code that can be directly executed by the
machine that is running the Java program.

2.) Platform-Independent and Portable:Java programs can be moved from one computer system to another, anywhere
and anytime. Changes and upgrades in operating systems, processors and system
resources will not force any changes in Java programs. Java ensures portability in

two ways. First, java compiler generates byte code instructions that can be
implemented on any machine. Secondly, the sizes of the primitive data types are
machine-independent.
3.) Robust and Secure:Java provides many safeguards to ensure reliable code. It has strict compile time
and run time checking for data types. It is designed as a garbage-collected language
relieving the programmers virtually all memory management problems. It also
ensures that no viruses are communicated with an applet. The absence of pointers
in Java ensures that programs cannot gain access to memory locations without
proper authorization.
4.) Simple, Small and Familiar:-

Many features of C and C++ that are either redundant or sources of unreliable
code are not part of Java. For example, Java does not use pointers, preprocessor
header files, goto statement and many others. It also eliminates operator
overloading and multiple inheritance. Java uses many constructs of C and C++ and
therefore, Java code looks like a C++ code.
5.) Multithreaded and Interactive:Java supports multithreaded programs. This means that we need not wait for
the application to finish one task before beginning another. For example, we can
listen to an audio clip while scrolling a page and at the same time download an
applet from a distant computer.

6.) Dynamic and Extensible:Java is capable of dynamically linking in new class libraries, methods, and
objects. Java can determine the type of class through a query, making it possible to
either dynamically link or abort the program, depending on the response.

STRUCTURED QUERY LANGUAGE


SQL is the standard language used for creating and accessing relational databases. Given
below are the common SQL statements being used:-

TABLE

Select

DESCRIPTION

Retrieves data from tables.

COMMON SQL
STATEMENTS
Select expression From
table name
Where condition;

Delete

Deletes one or more rows from a


table.

delete expression From


table name
Where condition;
Update expression
Where condition;

Update

Updates existing rows in a table.

Create

Creates tables and other database


objects.

Create table name;

Drop

Deletes a table or other database


object.

Drop table name;

ECLIPSE-INDIGO AND XAMPP

ECLIPSE-INDIGO:It is a Multilanguage software development comprising an integrated development


environment (IDE) and plug in system. It develops applications in Java, Ada, C,
C++, COBOL, Haskell, PHP, Python, etc. This is the software where this project
has been implemented and inside it the MVC Architecture platform has been taken
use of.
XAMPP:XAMPP is a free and open source cross-platform web server solution stack
package, consisting mainly of the Apache HTTP Server, MySQL database, and
interprets for scripts written in the PHP and Perl programming languages.
XAMPPS name is an acronym for: X meaning cross-platform.
Apache HTTP Server.
MySQL.
PHP.
Perl.

USING JDBC WITH DATABASE


JDBC Java Database Connectivity is a Java feature that lets you connect to
any relational database system, execute SQL commands, and process the results
all from within a Java program.
Before writing a Java program to access a database via JDBC: Install a driver that links Javas database to an actual database.
Set up an ODBC data source where your database is created in Access.
Before using JDBC to access a SQL database, a connection must be
established to the database by registering the driver class. (forName
method of the Class, class specifies the package and class name of the
driver throws ClassNotFoundException uses java.sql package.) .
After registering the driver class, call static getConnection method of the
DriverManager class to open the Connection, takes 3 String parameters:database URL, user name, and password.
con = DriverManager. getConnection (url,root, pw);

This technology is an API for the Java programming language that defines how
a client may access a database. It provides methods for querying and updating
data in a database. JDBC is oriented towards relational databases. A JDBC-toODBC bridge enables connections to any ODBC-accessible data source in the
JVM host environment. JDBC allows multiple implementations to exist and be
used by the same application. The API provides a mechanism for dynamically
loading the correct Java packages and registering them with the JDBC Driver

Manager. The Driver Manager is used as a connection factory for creating


JDBC connections. JDBC connections support creating and executing
statements. These may be update statements such as SQLs CREATE,
INSERT,UPDATE and DELETE, or they may be query statements such as SELECT.
Additionally, stored procedures may be invoked through a JDBC connection.

FEASIBLITY STUDY
1.) ECONOMIC FEASIBILITY
Economic analysis is most frequently used for evaluation of the effectiveness of the
system. More commonly known as cost/benefit analysis. The procedure is to determine
the benefit and saving that are expected from a System and compare them with costs,
decisions is made to design and Implement the system.
This part of feasibility study gives the top management the economic justification for the
new system. This is an important input to the management the management, because
very often the top management does not like to get confounded by the various
technicalities that bound to be associated with a project of this kind. A simple economic
analysis that gives
the actual comparison of costs and benefits is much more meaningful in such cases.
In the system, the organization is most satisfied by economic feasibility.
Because, if the organization implements this system, it need not require any
additional hardware resources as well as it will be saving lot of time.
2).TECHNICAL FEASIBILITY
Technical feasibility centers on the existing manual system of the test management
process and to what extent it can support the system. According to feasibility analysis
procedure the technical feasibility of the system is analyzed and the technical
requirements such as software facilities, procedure, inputs are identified. It is also one of
the important phases of the system development activities. The system offers greater
levels of user friendliness combined with greater processing speed. Therefore, the cost of
maintaining processing speed is very high and the work is reduced in the maintenance
point of view management convince that the project is operationally feasible.
3) BEHAVIOURAL FEASIBILITY

People are inherently resistant to change and computer has been known to facilitate
changes. An estimate should be made of how strong the user is likely to move towards the
development of computerized system. These are various levels of users in order to ensure
proper authentication and Authorization and security of sensitive data of the
organization.

4) EXISTING SYSTEM
The whole process of highlighting major attractions , itenaries of the four products leading him to book
his products was done manually till date. Processing i.e. purchising the products and the user certain
services used to take time when the software was not installed.

DISADVANTAGES OF CURRENT SYSTEM


The current system is very time consuming.
We do not provide our users a variety of options to pay and book the required
package.
It does not involve banking facilities.
When it comes to other customer , we dont provide him the details of products if
he is not registered.
Processing i.e purchasing takes more time as it is done manually.

CHARACTERSTICS OF THE PROPOSED SYSTEM


The online shopping has following features: In comparison to the present system the proposed system will be less time
consuming and is more efficient.

Analysis will be very easy in proposed system as it is automated.


squery system is maintained just in case the user comes with any doubt or
ambiguity.

ONLINE SHOPPING
Software System Attributes:
Usability:
The links are provided for each form. The user is facilitated to view and make entries
in the forms. Validations are provided in each field to avoid inconsistent or invalid entry
in the databases. Some forms consists Hyper Links, which provides further details.
Reports screen contains text boxes and drop down lists, so that reports can be produced.
Security:
Application will allow only valid users to access the system. Access to any application
resource will depend upon users designation. There are two types of users namely
Administrator and User. Security is based upon the individual user ID and Password.
Maintainability:
The operation manual of billing form will be provided to the userfor each produvt
item.
Availability:
System will be available around the clock except for the time required for the
backup of data.
Portability:
The application is developed in java. It would be portable to other operating
system provided .NET Framework is available for the OS. As the database is made in

DB2, porting the database to another database server would require some development
effort.

DATA TABLE

1.admin table:
Field

Data type

Description

Admin_id

Email_id

Pass

Uname

Text

User Name

Email

Text

Email

Accountno

Text

Account No

Mobile

Text

Mobile No

Product

Text

Product Name

Price

Text

Price

2.BILLING TABLE

DATA-FLOW DIAGRAM

SNAPSHOTS OF PROJECT: HOME

This is the Home-page with a header named A TO Z ONLINE SHOPPING. Here


total four links are provided namely the About Us,Sign in,Register,Shopping Cart.
About Us having a sub link Product; Sign In having a sub link named Product
List.Product List also having four sub links Books, Hardware, Music.
Music,Hardware,Books having two sub link named Buy Now, Go Back to Product
List.

About Us

In About Us page, there is information about respective products involved and


details about how a user can buy a product online.

Registration Form

It is meant for new users in which the user who is interested can Register for view
the products included in online shopping.This registration form includes
name,password,Hintquestion,Hintanswer,Fathername,Mobile,Address,City,Pin,State,
Country.After click on sumbit button the product list page opened.

Sign In

Here the already register user can sign in and after click on Login button he/she
can view the product list.Sign In page includes Create new account option for the user
who didnt have the account in present, Forget password for the users who forget there
password and To Change The Password if user want the change the current password.

Books store

Hardware

Music shop

Here, All the products like Books store, Hardware list and in Music shop contains a
respective sub list of items. From where a user can select a product which he/she likely to
buy.

Billing-Form

When user select item and click on Buy Now button the Billing-Form page open.
Which includes the details of user and product that he/she is going to buy and the user
account details.after submitting the details a link page opens asking about More product
likes to buy.

ADMIN PANEL

This is a Login page for the Administrator where he enters his self defined Email and
Password to sign in.

On signing in, the administrator can check the details of all the users in totality,he get it
by clicking on the view user button. Also if the administrator wants to delete any user
details, he gets it through the Delete link and by click on the Change Password
button ,the administrator can change his current password.

These are the user details related to a particular package as selected by the
administrator say his Name, Password, Hintquestion, Hintanswer, Fathername, Mobile
,Address ,City,Pin,State,Country,Email. Finally there is a delete and Edit option letting
the administrator to delete or edit a specific entry from the database.

CONCLUSION

This was the first considerably large and important project undertaken by me during
my JAVA course. It was an experience that changed the way I perceived project
development. The coding could not be started before the whole system was completely
finalized. Even then there were so many changes required and the coding needed to be
changed. I attribute this to inadequate information gathering from the user. Though
there were many meetings with the user and most of the requirements were gathered, a
few misinterpretations of the requirements still crept in. It made me realize how
important the systems analysis phase is. The project is a classic example for the adage
that learning of concepts needs to be supplemented with application of that knowledge.

On the whole it was a wonderful experience developing this project and I would have
considered my education incomplete without undertaking such a project which allowed
me to apply all that I have learnt.

FUTURE ASPECTS

Reviews and recommendations by experts and early adopters information can be


included to online shopping.
Developing the technology to protect the customers from a hackers attack.
The queries can be handled.
Can include the payment section.

Improves the technology of internet security and privacy.

REFERENCES
The following books were used extensively for the project development and
implementation.

1. Mc Graw Hill-E-Balaguruswamy.
2. Herbert Schildt (2001) The Complete Java Reference Tata McGraw-Hill
Publishing Company Limited.
3. Marty Hall (2000) Core Servlets and JavaServer Pages Sun Microsystems Press.

The following Links were searched and exploited extensively for the project development
and implementation.

1. http://java.sun.com/products/jsp
2. http://www.aw.com/cseng
3. http://jakarta.apache.org
4. http://www.w3school.org

S-ar putea să vă placă și