Вы находитесь на странице: 1из 37

INDIRA GANDHI NATIONAL OPEN UNIVERSITY

TABLE OF CONTENTS

1
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

1 : Title of Project 2
2 : Introduction and 3
3:objectives of the Project 4
3 : Project Category 5
4: Tools / Platform(Hardware and Software Requirement 6
specification)
4.1;Hardware Requirement Specification 11
4.2:Software Requirement Specification 13
16
4.3:Specific requirement
5:Requirement Specification 20
5.1:Functional Requirement 20
21
5.2:Technical Requirement
6: Scope of the solution 22
7: Analysis( DFD, ER-Diagram) 23
7.1: DFD 23
29
7.2: ER DIAGRAM
31
8:Network Architecture 33
9:Security Mechanism 34

9.1:Limitation of the system


9.2:Future of the project
10:BibliGRAPHY 35

2
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

3
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

1: Project Title

Blogger Site

2.1 Introduction
4
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)

2.2 Objective

5
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.

3: Project Category
6
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.

4: Tools / platform

7
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

Backend Tool: - Oracle 9i


Oracle 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.

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.

8
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
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.

COMPILATION AND EXECUTION OF JAVA APLICATION:-

9
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
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 source code

Javac

Java class file

Java

Java program
Output

JAVA COMPILATION PROCESS

JAVA SERVER PAGES: - Java Server Pages provide a means for


mixing HTML and Java in a single page. Inside Tomcat JSP pages should

10
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
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 TAGS:-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

11
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.

4.1 Hardware Requirement Specification

12
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

MAIN HARDWARE COMPONENTS (RECOMMENDED):

 MICROPROCESS : PENTIUM IV (1.4 GHZ)


OR

 RAM : 256 MB

 MOTHERBOARD : INTEL 810E

 HARD DISK : 40 GB HDD

 POINTING : 3 BUTTON MOUSE WITH WHEEL


DEVICE

 MONITOR : 15 INCH COLOR MONITOR

 STANDARD : MULTIMEDIA KEYBOARD


INPUT DEVICE

 CD-ROM/DVD : SAMSUNG/LG 52X MAX S


DRIVE

 UPS/INVERTOR : FOR CONTINUOUS & STABLE


POWER SUPPLY

PERIPHERALS:

13
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

 PRINTER : LASERJET 6L PRO (COLOR/ B&W)

 Network Controller : 100MBPS (FROM ANY STANDARD


Card COMPANY)

 MODEM : INTERNAL OR EXTERNAL 56/112/224


KBPS

 OTHER : Backup Devices


PREIPHERALS

Software Requirement Specification

 OPERATING SYSTEM : WINDOWS Server 2003 / XP (service pack


2)

 FRONTEND : JAVA
PLATFORM

 BACK-END : ORACLE 9I
ENVIRONMENT

4.2: SOFTWARE REQUIREMENT


SPECIFICATION

14
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:-

1. INTRODUCTION

15
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
1.1. PURPOSE
1.2. SCOPE
1.3. DEFINITIONS ACRONYMS AND
ABBREVIATIONS
1.4. OVERVIEW
2. OVERALL DESCRIPTION
2.1 PRODUCT PERSPECTIVE
2.2 USER CHARACTERISTICS
2.3 GENERAL CONSTRAINTS

2.4 ASSUMPTION AND DEPENDENCIES


3. SPECIFIC REQUIREMENTS
3.1 INPUTS TO THE PROJECT
3.2 OUTPUTS OF THE PROJECT
3.3 FUNCTIONAL REQUIREMENTS
3.4 EXTERNAL INTERFACE
REQUIREMENTS
3.5 SOFTWARE REQUIREMENT
3.6 HARDWARE REQUIREMENT

1. INTRODUCTION
I. PURPOSE
II. PRELIMINERY PRODUCT DESCRIPTION
2. SPECIFIC REQUIREMENTS
. INPUTS TO THE APPLICATION
. OUTPUTS FROM THE APPLICAION
3. FUNCTIONAL REQUIREMENTS
4. TECHNICAL REQUIREMENTS
I. OVERVIEW
II. PRODUCT PERSPECTIVE
III. USER CHARACTERISTICS

16
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
5. PROJECT PLANNING AND SCHEDULING

17
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 REQUIREMENTS
Inputs 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..

Inputs to the Project

18
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
SERVER 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 Project


CLIENT 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

19
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.

20
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

Output of the Project


SERVER 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.

21
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.

22
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.
.

23
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
6:- Scope of application

 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.

24
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.

REQUEST HOME
USER PAGE

WITH AUTHENTICATED

SEARCH
PAGE
LOGIN BLOG
MODULE CREATIO
NPAGE
AUTHENTICATED
BY SERVER

RETURN E

25
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
0TH LEVEL DFD

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

SERVER
HOME PAGE
User MODULE

BY TOPIC AND BY CREATER


NAME

AUTHENTICATED

ACCOUNT
SEARCH
LOGIN CREATION
MODULE

1 LEVEL DFD
CLIENT LOGIN MODULE

26
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

PROCESS OF SERVER COMMUNICATION


DURING SEARCH

This process accept connection request and search by providing topic


and blogger name

Home page BY BLOGGGER NAME


Search
BY TOPIC SEARCH
USER_NAME, PASSWORD
DISPLAY
PAGE

LI

TI
O
A

D
A

N
V
nd
sta E
e S
qu N
Re SPO
RE

DATA BASE

SERVER

2.1 LEVEL SEARCH MODULE

27
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

MODULE SHOWING VARIOUS COMMUNIACTION


FROM SERVER AND DATABASE

This module open link between different sub module and properties

USER HOME

BLOG CREATION
SERVER

AUTHENTICATED

LOGIN

DATA BASE

2.2 LEVEL DFD

28
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
SECOND LEVEL DFD SHOWING SUB MODULES

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.

USER HOME ACCOUNT


CREATION

N
E IO
ET AT E
M PL M
R TH
LOGIN CO FO T
R IN OU
TE AB ER
AF US

SERVER

DATA BASE
2.3 LEVEL DFD
SCRAP MODULE

29
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

BETWEEN BLOG PAGE TO SERVER AND SERVER


TO DATABASE

BLOG CREATION
LOGIN
PAGE

ENTER THE INFORMATION

SERVER

DATABASE

30
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

7.2 :-E-R Diagram

USER_ID
PASSWORD USER_NAME

PICTURE AGE

SEX
E_MAIL
ADDRESS
USER
PHONE
QUALIFICATIO
N

MATRIMONIAL STATUS
HOBBY

Ha
WIL
L
s

FOLLOWER

UPDATE
CONTAINT
FOLLOWER_ID

FOLLOWED_ID BLOG CANTAINT


TOPIC NAME

TOPIC _ID
CREATER NAME

CREATER_ID

31
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

complete ER-diagram of the project

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
Content Varchar MAX

32
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
Table Name: followers

Field Name Data Type Size


User_id Varchar Max
Profile_id Varchar Max

Implementation methodology

33
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

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.

8:-Network Architecture

34
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.

Request

Response

Client /user Server

9:- Security Mechanism

35
INDIRA GANDHI NATIONAL OPEN UNIVERSITY

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.

36
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.

37

Вам также может понравиться