INDIRA GANDHI NATIONAL OPEN UNIVERSITY
TABLE OF CONTENTS
1
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
1 : Title of Project 2
2 : Introduction and
3:objectives of the Project
3 4
3 : Project Category 5
4: Tools / Platform(Hardware and Software Requirement
specification)
6
4.1;Hardware Requirement Specification
4.2:Software Requirement Specification
4.3:Specific requirement
5:Requirement Specification
5.1:Functional Requirement
5.2:Technical Requirement
111316
202021
6: Scope of the solution 22
7: Analysis( DFD, ER-Diagram)
7.1: DFD
7.2: ER DIAGRAM
8:Network Architecture
9:Security Mechanism
9.1:Limitation of the system
9.2:Future of the project
10:BibliGRAPHY
232329313334
35
2
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
1: Project Title
Blogger Site
3
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
“Blogger Site” project has been undertaken for the fulfillment of the
B.C.A. (6 Th Sem.) Project, this is the JAVA based website using
technologies like Java Server Pages, Servlets, JavaBeans, Struts, Custom
Tags, Applet. And backend using the oracle9i.The website will be hosted
on Apache Tomcat web server.
My special thanks go to “Er.Pushkar Nath Tripathi” project
development who provided me sample ideas when I got stuck during the
project. They also helped me to collect all the relevant Information. They
also helped me in designing GUI user interface & restricting Input/Output
section of the software.
(Shweta khanna)
4
2.1 Introduction
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
1. To provide an environment in which users can search for
friends and acquaintances.
.
2. To develop a system for sharing of pictures and files..
3. To provide the facility for sending messages to each other.
4. To provide facilities for users to be informed of important
events and anniversaries.
5. To provide facilities for creating online communities.
6. To provide an online tracker for events.
5
2.2 Objective
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Object Oriented Programming System:-
The fundamental concept of Object-Oriented Programming is that it
allows combination of data and functions/methods/procedures which are
working on that data, which did not exist in earlier procedure, based
programming paradigms. Object-Oriented Programming and Design is all
about objects. An object has a well –defined interface, which is the only
way to access the object’s data. The data is thus well organized and
hidden. Such hidden data is referred to as encapsulated. Data
encapsulation and data hiding are basic and a key term used in OOPS. An
Object-Oriented Program is a collection of objects for solving a problem.
An object can be considered to be a variable that stores data and can
perform operation on the stored data itself. These objects send message to
each other. A message can be equated to a request to call a function of the
receiver object. Each object can be related to a type, which is its class. An
important consideration of a class is that it specifies the message interface
that is the message that can be sent to that type/class of the objects.
6
3: Project Category
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Backend Tool: - Oracle 9iOracle is the widely used database in the world it runs on virtually every
kinds of computer. It’s function virtually identically on all these
machines, so we learn it on one, we can use in on any other. This type
makes knowledge oracle users and developers very much in demand, and
makes our oracle knowledge and skills very portable.
Oracle uses a variation of SQL called PL-SQL.This is a very
powerful language allowing for all conventional SQL statements, to
systems for defining new Data types, defining functions, triggers.
Front end Tool: - JAVA
Java is a platform independent, interpreted language from Sun
Microsystems. Java is a fully object oriented language providing facilities
for multithreading, network programming, database connectivity, etc.
Java has syntax reminiscent of C++ and removes the confusing and error
prone parts. Unlike C++ java have no facilities for pointer manipulation
and is completely object oriented.
7
4: Tools / platform
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Java is not compiled to executable code and instead is compiled to an
intermediate format called byte code file that interpreted and run by a java
virtual machine.
The salient feature of java is:-
1. JAVA IS MULTITREADED: - Multitasking is the ability to have
more than one program working at what seems like the same time.
Multithreaded programs extends the idea of multitasking by taking it
one level lower individual program will appear to do multiple tasks
the same short for thread of control programs that can run more than
one thread at once are said to be multithreaded.
2. JAVA HAS EXTENSIVE NETWORKING CAPABILITIES: - The extensive networking facilities of java in the java .net packages
are the most powerful that any language has got to offer. The
various constructs like server socket, socket etc. offer extensi9ve
networking facilities.
3. JAVA HAS EXCELENT DATABSE CONNECTIVITY FACILITITES:-The database connectivity package of java namely JDBC (JAVA
DATABASE CONNECTIVITY) was the pioneer in providing a
consistent database connectivity system across different databases.
These classes are part of the java.sql package. Some of the classes
provided are connection, resultant, diver manager, statement etc.
8
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
COMPILATION AND EXECUTION OF JAVA APLICATION:-When we compile a java application to java compiler (java), it is
compiled to binary machines code rather; it is converted to class file. To
execute these class file, SUN MICROSYSTEM provide us java
interpreter.
JAVA COMPILATION PROCESS
9
Java source code
Javac
Java class file
Java
Java programOutput
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
JAVA SERVER PAGES: - Java Server Pages provide a means for
mixing HTML and Java in a single page. Inside Tomcat JSP pages should
be placed in the top-level Web application directory or in a subdirectory
with any name other then WEB-INF or META-INF. Servers are
prohibited from serving files from WEB-INF or META-INF to the user.
When you register a Web application,
JAVA BEANS :- Java Beans are reusable Java Components which are
used to implement the presentation and business logic of an application.
The website will make extensive use of these features to implement the
display of books, the display of shopping cart, etc.
CUSTOM TAG S:- Custom Tags provide means for implementing
reusable features which can be reused in much the same way as basic
HTML Tags. These are used to reduce the overall complexity of the site.
SERVLET :- Java Servlets are run on the web server and will be used to
provide support in Model view Architecture scenarios in the site where
beans, tags, and struts are concerned.
XML :- XML will be used to store data on the client side.XML provides to
creates an own tag.
APPLET:- An applet is a window-based program .As such ,its
architecture is different from the so-called normal, console-based
10
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Programs. The applet class is contained in the java. applet package.
Applet contains several methods that give you detailed control over the
execution of your applet. In addition, java. Applet also defines three
Interfaces: Applet Context, Audio Clip, and Applet Stub. The most trivial
applets override a set of methods that provides the basic mechanism by
which the browser or applet viewer interfaces to the applet and controls
its execution .four of these methods –init(),start(),stop() and destroy()-are
defined by Applet. Another paint (), is defined by AWT component.
11
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
4.1 Hardware Requirement Specification
MAIN HARDWARE COMPONENTS (RECOMMENDED):
MICROPROCESSOR
: PENTIUM IV (1.4 GHZ)
RAM : 256 MB
MOTHERBOARD : INTEL 810E
HARD DISK : 40 GB HDD
POINTING DEVICE
: 3 BUTTON MOUSE WITH WHEEL
MONITOR : 15 INCH COLOR MONITOR
STANDARD INPUT DEVICE
: MULTIMEDIA KEYBOARD
CD-ROM/DVD DRIVE
: SAMSUNG/LG 52X MAX S
UPS/INVERTOR : FOR CONTINUOUS & STABLE POWER SUPPLY
12
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
PERIPHERALS:
PRINTER : LASERJET 6L PRO (COLOR/ B&W)
Network Controller Card
: 100MBPS (FROM ANY STANDARD COMPANY)
MODEM : INTERNAL OR EXTERNAL 56/112/224 KBPS
OTHER PREIPHERALS
: Backup Devices
Software Requirement Specification
OPERATING SYSTEM : WINDOWS Server 2003 / XP (service pack 2)
FRONTEND PLATFORM : JAVA
BACK-END ENVIRONMENT
: ORACLE 9I
13
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
The origin of most software system is the need of someone who either
wants to automatic an existing manual system or desires a new software
system. The software system it self is created by the developer. Finally
the completed system will be used by the end users and the developers.
So me how the requirements for the systems that will satisfy the needs of
the clients and the concerns of the users have to be communicate to the
developer. The problem is that the client usually does not understand
software development process and the developer often does not
understand the client’s problem and his/her application area. This causes
a communication gap between the parties involved in the development
project.
A basic purpose of the software requirement specification (SRS)
is to bridge this communication gap.SRS is the medium through which
the client needs are accurately specified indeed SRS forms the basis of
software development. A good satisfy all the parties, something very hard
to achieve and involving trade offs
and persuasion.
A general structure of software requirement specification of my project is
given below:-
14
4.2: SOFTWARE REQUIREMENT SPECIFICATION
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
1. INTRODUCTION1.1. PURPOSE1.2. SCOPE1.3. DEFINITIONS ACRONYMS AND ABBREVIATIONS1.4. OVERVIEW
2. OVERALL DESCRIPTION2.1 PRODUCT PERSPECTIVE2.2 USER CHARACTERISTICS2.3 GENERAL CONSTRAINTS
2.4 ASSUMPTION AND DEPENDENCIES3. SPECIFIC REQUIREMENTS
3.1 INPUTS TO THE PROJECT3.2 OUTPUTS OF THE PROJECT3.3 FUNCTIONAL REQUIREMENTS3.4 EXTERNAL INTERFACE REQUIREMENTS3.5 SOFTWARE REQUIREMENT3.6 HARDWARE REQUIREMENT
1. INTRODUCTIONI. PURPOSE
II. PRELIMINERY PRODUCT DESCRIPTION2. SPECIFIC REQUIREMENTS
I. INPUTS TO THE APPLICATIONII. OUTPUTS FROM THE APPLICAION
3. FUNCTIONAL REQUIREMENTS4. TECHNICAL REQUIREMENTS
I. OVERVIEW
15
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
II. PRODUCT PERSPECTIVEIII. USER CHARACTERISTICS
5. PROJECT PLANNING AND SCHEDULING
16
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
1. Introduction:-
“Blogger Site” provides the perfect system for online socializing on the
web. The project will work as a virtual hangout for old and young alike to
have gossip, share thoughts, joys and sorrows. In general it is to satisfy
the most natural urge of human beings for friendship.
.
4.3:-SPECIFIC REQUIREMENTSInputs To The Project
CLIENT SIDE
Details of users, including, name, other personal information, photo
etc.
Authentication information consisting of an existing email, and
password.
Text messages, picture messages for friends.
Details of online communities consisting of name, purpose, and
profile.
Uploading of files.
Request for friend list changes..
17
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Inputs to the ProjectSERVER SIDE
User information from client side to login in the project.
New user information to registration in the system.
Request for friend list, communities list, picture list.
Request for friendship.
Request Creation of new communities.
Request for Logout.
Output of the ProjectCLIENT SIDE
When user will gives own valid username, password, and then this
application get connection to server. If the username and password
get validated then the user can avail of the various facilities
provided by the system.
The user can view messages sent for him.
The user can view profiles of other users.
On-line messaging System, this will allow the user users to
communicate instantaneously
18
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
On-line message board System, will allow users to communicate in
real time.
On-line albums for sharing of pictures.
19
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Output of the ProjectSERVER SIDE
If login information of a student is valid then server send “login
successful” message to the student else send “invalid User”
message.
Message to New User in client side that “Registration Complete” or
“Registration Not Complete”.
On request of users, it sends friend’s list, users list, pictures list, and
scrap.
Send list of logged in users to Client side for the user.
“Logged out” Message to user on request of logout.
20
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
5:- Requirements
5.1:-Functional Requirement
Whenever a project is decided to be build, then before
implementation process, one of important of phase of project
requirement phase knows functional requirements of determined
project. Function requirement phase emphasize on detail
documentation of all those modules which will meet during
development of project. A project can be implemented successfully
only when, we have clear process logic of all functionally dependent
or independent modules, which make a complete project.
During this project (“Blogger Site”) development, it has been tried
to have knowledge about all functional modules like registration of
new user, study through online. Some of these modules in project
are dependent on other module and some of them are independent of
functionality of other module development.
21
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
5.2:- Technical Requirement
OVERVIEW: The developer has following responsibilities:
(a) Developing the system according to real life needs such that it can
meet all type of user needs.
(b) Developing the system in such a way that it can support all browsers
used by clients.
(c) It should be developed in preplanned technical views under the most
experience project manager.
(d) Conducting any training that might be needed for using the system.
(e) Maintaining the system for a period for one year after installation
PRODUCT PERSECTIVE: The web application provides a platform
through which study through “online education system”.
USER CHARACTERISTICS:- From user point of view, if any one who
wanted to study, lecture note ,study material etc. can easily access through
online education system.
.
22
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
We can add video conferencing in our project to make the project more effective.
We can also include recording live lecture facility.
With Java Enabled Phones available everywhere this project can be made mobile enabled so that users can avail of the available facilities on their mobile sets.
23
6:- Scope of application
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
7: ANALYSIS
7.1: DFD
Data Flow Diagram: Data flow diagram focuses on movement of data through the system and its transformations. It is divided in to levels. Level 0, also known as the context diagram, defines the system scope. It consists of external agents, system boundary, and the data flow between the external agents and the system.
The 0th level data flow diagram of the project Blogger site.
USERHOMEPAGE
REQUEST
RETURN E
LOGINMODULE BLOG
CREATIONPAGE
WITH AUTHENTICATED
SEARCH PAGE
AUTHENTICATED BY SERVER
24
0 TH LEVEL DFD
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
PROCESS FROM MAIN MODULE
This process shows facility to login from client side in the project Blogger site. After Submitted of user authentication in login module, it will attempt to connect to the server
ACCOUNT CREATION
SEARCH
User HOME PAGESERVER MODULE
AUTHENTICATED
1 LEVEL DFDCLIENT LOGIN MODULE
LOGIN MODULE
BY TOPIC AND BY CREATER NAME
25
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
PROCESS OF SERVER COMMUNICATION DURING SEARCH
This process accept connection request and search by providing topic and blogger name
2.1 LEVEL SEARCH MODULE
USER_NAME, PASSWORD
BY BLOGGGER NAME
BY TOPIC
Request and
RESPONSE
SEARCHDISPLAY
PAGE
V A LI
D A TI
O N
Search
SERVER
Home page
DATA BASE
26
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
MODULE SHOWING VARIOUS COMMUNIACTION
FROM SERVER AND DATABASE
This module open link between different sub module and properties
2.2 LEVEL DFD
SECOND LEVEL DFD SHOWING SUB MODULES
27
HOME
LOGIN
SERVER
USER
DATA BASE
BLOG CREATION
AUTHENTICATED
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
In server side, client send connection request, after connection it collect
registration information and check that is username created already. If
username validated server create the username and password.
HOME
AFTER COMPLETE
DATA BASE
SERVER
INFORMATION
ABOUT THE
USER
2.3 LEVEL DFDSCRAP MODULE
ACCOUNT CREATION
USER
LOGIN
28
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
BETWEEN BLOG PAGE TO SERVER AND SERVER
TO DATABASE
29
LOGIN
SERVER
BLOG CREATION PAGE
ENTER THE INFORMATION
DATABASE
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
USER
USER_NAMEPASSWORD
E_MAIL
AGE
SEX
PICTURE
USER_ID
PHONE
MATRIMONIAL STATUS
FOLLOWER
FOLLOWER_ID
FOLLOWED_ID BLOG CANTAINT
CREATER NAMETOPIC _ID
CREATER_ID
TOPIC NAME
CONTAINT
Has
WILL
UPDATE
ADDRESS
HOBBY
QUALIFICATION
30
7.2 :-E-R Diagram
complete ER-diagram of the project
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Data Structure Tables used in the project
Given below the list of probable tables that are going to be used in the
software project.
Table Name: users
Field Name Data Type Size
User_id Varchar MAX
Username Varchar 255
Passwd Varchar 255
e-mail Varchar 255
Age Int -
Sex Varchar 10
Matrimonial status Varchar 20
Phone no int -
Address varchar 225
Hobby Varchar MAX
Qualification Varchar MAX
Table Name: Content
Field Name Data Type Size
Topic id int 255
Topic name varchar 100
Creater id int Max
Creater name varchar Max
31
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Content Varchar MAX
Table Name: followers
Field Name Data Type Size
User_id Varchar Max
Profile_id Varchar Max
32
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Implementation methodology
The goal of any development effort is to produce some useful
Product. A development process is a set of activities together with an
ordering relationship between activities, which if performed in a manner
that satisfies the ordering relationship will produce the desired product. A
Process model is an abstract representation of a development process.
To solve actual problems the software engineer or a team
of engineer must incorporate a development strategy that encompasses the
process, method and tools the generic phases (correction, adaptation,
enhancement and prevention). This strategy is often referred to as process
model or software engineering paradigm. A process model for software
engineering is chosen based on the nature of the project and application,
the methods and tools to be used, and the controls and deliverables that
are required.
As the development process specifies the major development and
quality assurance activities that need to be performed in the project, the
development process really forms the core of the software process. The
management process is decided based on the development process.
Due to the importance of development process, various models have
been proposed e.g. Water Fall Model (Linear Sequential Model), Spiral
Model.
33
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
This web application is based on client –server based network architecture in which client request for information and send request to server. When server receives any request from client then it process on requested information and then response the result back to requesting client.
Response
Request
Client /user Server
34
8:-Network Architecture
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
9:- Security Mechanism
9.1 :- Limitation of the project
Since user name and password should be stored in oracle 9i database. The only possible security based on security of data base.
Since all file is store on the file system of compute any use and any movement can delete the file.
9.2:- Future Scope of the Project:-
We can add video conferencing in our project to make the project
more effective.
With Java Enabled Phones available everywhere this project can be
made mobile enabled so that users can avail of the available facilities
on their mobile sets.
35
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
10 :-Bibliography
1- Core java vol 1& 2 Cay Horstmann & Gary Cornell.
2- Core Java servlet Marty Hall.
3- Oracle 9i The Complete Reference by Loney Koch.
36