Está en la página 1de 68

TABLE OF CONTENTS

1. Abstract
2. Introduction
2.1 Organization Profile
2.2 About the project
3. System Analysis
3.1 Existing system
3.2 Problem Definition
3.3 Proposed System
3.4 Requirement Analysis
3.5 Feasibility study
4. System Design
4.1

Project Modules

4.2

Data Dictionary

4.3

Data Flow Diagrams

4.4

E-R Diagrams

4.5
4.6
4.7

UML Diagrams
Activity diagrams
Hardware And Software Requirements

5. System Testing
6. Software Tools Used
7 Technical Notes

8.

7.1

Introduction To Real-time programming

7.2

Introduction to OOPS and Windows

7.3

Introduction to Java

Screens

9. Conclusion
10. Bibliography

1. Abstract
Apna life insurance system automates the management of Apna life
insurance activities, which involves Defining Policies, Schemes, Policy
Specifications, Policy Terms and Conditions, Policies registrations by the
customers, Facilitates the Premiums Flexi-Pay modes, Policy Bonus in Flexible
periods.
The Agents are involved in the process of the Customer Policy registration
and the Commissions are based on the targets achieved by the Agents.
Apna life insurance System also maintains the database of the Branch
Managers who deals with the Agents which in turn deals with the Customers.

2. INTRODUCTION
2.1 ABOUT THE ORGANIZATION

2.2 About the project


The main theme of this project is automation of the Apna life insurance
System and processes the all activities through on line. Here the main advantage
of this system is to access this database globally for authorized users.
The customers pay their payment at any branch and also know
their details at any branch. Here dynamically generated the reports like premium
payments details, bonus details, due details.
The main advantages of this system are to reduce the time and
also manpower. These two factors are very important to improve any
organization. This system mainly concentration on these factors.
The main actors of this system are:

Chairman

Manager

Customer

Agent.

The Second chapter explains the exact Definition of the Problem and
evolves out with the Feasibility Study of the product/part.
The Third chapter is System Analysis which deals about the Hardware
and Software Specifications, and Software Requirement Specification, under this
SRS Formal Description and Module Description.
The Fourth chapter describes the System Design, under this two levels of
designs, they are

High level design (Data design, functional & interface design).

Low level design (Pseudo code & detail description of functions).


The Fifth chapter fully deals about Testing and Implementation of the

whole project.
The Sixth chapter deals the Conclusion and Foreseeable Enhancements
of the system.
The Seventh chapter deals about the Bibliography of this Project.
The Eight chapter is the final one which deals about the language
used, tools used, Screen layouts and Reports

Reports

Customer Premiums Details


Customer Bonus
Customer Premiums Dates
Customer Policy details
Customer Personal details
Policy Details
Customer Premiums Payments

3. SYSTEM ANALYSIS
3.1 Existing system
Before developing this application all activities done manually, then all the
activities take more time and also take more manpower. Commission, interests,
dues calculate manually, based on this manual problem some times calculate the
wrong
All related information passed one branch to another branch through
courier. Some times missed the important documents. So these problems
overcome when we will develop the system. This system is very helpful to

automation of entire Apna life insurance system and also reduces the time and
manpower.
Users of the system:
The users of the system are company chairman, Branch Managers,
Customer, Agents. This system is designed such a way that the users can easily
interact with the system with minimum knowledge.
3.2 PROBLEM DEFINITION AND FEASIBILITY ANALYSIS
Definition of the problem
To create or develop a new system first we have to study the prior
system, Analysis difficult problems faced by the operator of that system. System
Analysis therefore understands such problems and proposes a new system in
which the above problems are rectified.
3.3 Proposed System
Operational Feasibility
In this test, the operational scope of the system is checked. The system
under consideration should have enough operational reach. It is observed that
the proposed system is very user friendly and since the system is built with
enough help, even persons with little knowledge of windows can find the system
very easy.
Technical Feasibility
This test includes a study of function, performance and constraints that
may affect the ability to achieve an acceptable system. This test begins with an

assessment of the technical viability of the proposed system. One of the main
fusers to be accessed is the need of various kinds of resources for the
successful implementation for the proposed system.
Economical Feasibility
An evaluation of development cost weighed against the ultimate income or
benefit derived from the development of the proposed system is made. Care
must be taken that incurred in the development of the proposed of the system
should not exceed from the system. The income can be in terms of money or
goodwill, since the software brings in both, the system is highly viable.

3.4 Requirement Analysis


Hardware and Software Specifications
The development of this project deals with the following environment

Hardware requirements

Software requirements

Hardware Requirements:
The selection of hardware is very important in the existence and proper
working of any software. In the selection of hardware, the size and the capacity
requirements are also important.
The Web Based Manufacturing System can be efficiently run on Pentium
system with at least 128 MB RAM and Hard disk drive having 20 GB. Floppy disk
drive of 1.44 MB and 14 inch Samsung color monitor suits the information
system operation.(A Printer is required for hard copy output).

Pentium processor --------

RAM Capacity

--------

Hard Disk

--------

Floppy disk

--------

233 MHZ or above


256MB
20GB
1.44 MB

CD-ROM Drive

--------

32 HZ

Software Requirements:
One of the most difficult tasks is that, the selection of the software, once
system requirement is known is determining whether a particular software
package fits the requirements. After initial selection further security is needed to
determine the desirability of particular software compared with other candidates.
This section first summarizes the application requirement question and then
suggests more detailed comparisons.

Operating System

Browser

--

IE

Web/Application Server

--

Tomcat Server

Database

--

Oracle

Database Connectivity

--

JDBC

Java Technologies

--

Windows 98/NT/2000

--

Java (Servlets, jsp, java


Beans)

Scripting Technology

--

Java Script

3.6 Feasibility study


It is necessary and prudent to evaluate the feasibility of a project at the
earliest possible time. There may be different ways of checking whether a
system is feasible or not. The following feasibility studies were performed to
gauge the feasibility of the system.

4. SYSTEM DESIGN
4.1 Project Modules
Modules Description:

The entire system is divided into 4 modules


1. Chairman
2. Manager
3. Agent
4. Customer
1. Chairman
The Chairman is the Super User of the System. The Chairman is
responsible for the defining the Policies, Policies Terms and conditions, Policies
Amounts, Face Amounts, Establishing the different branches, Registration of the
Branch Managers.
The Policies Definition includes the Policy Interest Rates, Policy Bonus
Rates, Policy Bonus Period , Policy Term.
The Chairman also defines the Policy Commission Rates for the Agents
who involves in the Customer Policy Registration Process.
The Chairman is responsible for the

Defines Policies and Schemes

Branch Establishments

Recruits Branch Managers

Defines the Policy Terms and Conditions

Defines the Policy Specifications

Reports:

2. Manager

Policy Details
Branch Manager details
Agents Details
Customer details

The Managers of the different branches recruits the Agents and also
registration of customers. He is also responsible for
calculate

registration of Policies,

the premium amounts, interests, dues, bonus and

also agent

Commission. Bonus calculate based on the payment of premiums. The Manager


also responsible for calculate the Agent Commission based on Agent
performance.
The Manager is responsible for the

Manages the Agents

Customer Registrations

Customer Policy Registrations

Customer Premium Payments

Customer Bonus

Agent Commission

Reports

Policy details
Agent Commission
Customer Details
Policy Details

3. Agents
The main role of Agents is to registration of the
Customers. Agents just like a mediator between Apna life insurance system and
Customers. Based on their performance they will get commission. These
systems provide a facility to Agents like to visible their Commission and also their
customer details.

The responsibilities of the Agents as follows

Involves in the Customer Policy Registration Process

Agent Personal Details

Manager Details

4. Customer
The Customers are a main source of this system. Based on his
interest and benefits, he takes a policy. Customers also take more than
one policy based on their requirement. Here so many facilities are
provided to the Customers, like their information visible on line, like
premium dates, bonus dates, personal details, policy details.
The responsibilities of the Customers as follows

Customer Premium Dates

Customer Bonus Dates

Customer Personal Details

Customer Policies Details

Design Description
Design is essentially a blue print or it acts as a bridge between the
requirement specification and the final solution for satisfying the requirements.
Based on the work-flow described above we can draw the following
conclusions for the Software System that has to be developed:

The System needs to be a web-based system so that it allows the Chairman,


Branch Managers, Agents, and Customers to access the company database
over the Internet.

Being a web-based system also enables the Company staff to communicate


with other users.

An added advantage is chairman communicate with other employees over


the net since there could be instant responses from the Suppliers.

The whole process depends on communications between Chairman & the


Manager, and between Customers & the Agents. If all these communications
are done through a web-based system, then the time period for the whole
process can be considerably brought down.

The System needs to store the Company details.

The System needs to store the details of all the Premiums that are available
of the company.

The System needs to store the details of all the Customers held in the
Company warehouse.

The System needs to store the details of all the Agents held in the Company.

The System needs to store the details of all the Branch Managers details.

Since it is a web-based system, a Login authorization should be provided so


that Chairman, Managers, Customers and Agents will be able to lookup & use
options that are specific to them.

The System should allow the Agents to enter their Statistics.

The System should allow the Customers to visible their next premium dates,
bonus, dues and related information.

The System should provide an option to generate a Customers Report and


estimated of company business.

The System should provide an option to generate a Agents Reports, with the
help of these reports estimate of their performance

For the above to take place the system should store the Premium details of
the Customers. If any future modification required, easily modify the
Customers details.

The System should provide an option that all customers are visible to latest
Policies and their specifications. This facility is very help to Customers to see
the all information through on line.

4.1 High level design


1. Login
Name
Null?
Type
----------------------------------------- -------- ---------------------------USERID
NOT NULL NUMBER(11)
PASSWORD
VARCHAR2(22)
TYPE
VARCHAR2(22)
2. Policies
Name
Null?
Type
----------------------------------------- -------- ---------------------------POLICYID
NOT NULL NUMBER(5)
POLICYNAME
VARCHAR2(55)
POLICYTERM
NUMBER(2)
POLICYAMOUNT
NUMBER(15,3)
POLICYFACEAMOUNT
NUMBER(16)
POLICYINTEREST
NUMBER(2)
POLICYDATE
DATE
BONUSPERIOD
NUMBER(2)

BONUSRATE

NUMBER(2)

3. Agents
Name
Null?
Type
----------------------------------------- -------- ---------------------------AGENTID
NOT NULL NUMBER(11)
AGENTNAME
VARCHAR2(22)
AGENTFNAME
VARCHAR2(22)
AGENTAGE
NUMBER(3)
AGENTSEX
VARCHAR2(1)
AGENTQUAL
VARCHAR2(22)
AGENTOCCUPATION
VARCHAR2(22)
AGENTADDRESS
VARCHAR2(22)
AGENTREGDATE
DATE
AGENTSECURITYDEPOSIT
NUMBER(10,3)
BRANCHMGRID
NUMBER(7)

4. BranchMgr
Name
Null?
Type
----------------------------------------- -------- --------------------------BRANCHMGRID
NOT NULL
NUMBER(11)
BRANCHMGRNAME
VARCHAR2(22)
BRANCHMGRFNAME
VARCHAR2(22)
BRANCHMGRAGE
NUMBER(3)
BRANCHMGRSEX
VARCHAR2(1)
BRANCHMGRQUAL
VARCHAR2(11)
BRANCHMGRADDRESS
VARCHAR2(33)
BRANCHNAME
VARCHAR2(22)
BRANCHMGRJOINDATE
DATE

5. Customer
Name
Null?
Type
----------------------------------------- -------- ---------------------------CUSTID
NOT NULL
NUMBER(11)
CUSTNAME
VARCHAR2(33)
CUSTFNAME
VARCHAR2(33)
CUSTAGE
NUMBER(3)

CUSTSEX
CUSTQUAL
CUSTADDRESS
CUSTOCCUPATION
CUSTREGDATE

VARCHAR2(1)
VARCHAR2(33)
VARCHAR2(33)
VARCHAR2(33)
DATE

6. CustPolicies
Name
Null?
Type
----------------------------------------- -------- ---------------------------CUSTPOLICYID
NOT NULL
NUMBER(11)
CUSTID
NUMBER(10)
POLICYID
NUMBER(5)
POLICYDATE
DATE
PREMIUMTYPE
VARCHAR2(10)
PREMIUMAMOUNT
NUMBER(15,2)
NOMINEENAME
VARCHAR2(33)
RELATION
VARCHAR2(20)
AGENTID
NUMBER(11)
EXPIRYDATE
DATE

7. CustpolicyAmounts
Name
Null?
Type
----------------------------------------- -------- ---------------------------CUSTPOLICYID
NUMBER(11)
AMOUNT
NUMBER(15,3)
INTERESTAMOUNT
NUMBER(15,2)
NETAMOUNT
NUMBER(15,2)
8. Custpremiumdates
Name
Null?
Type
----------------------------------------- -------- ------------------CUSTPOLICYID
NUMBER(11)
PREVIOUSPREMIUMDATE
DATE
NEXTPREMIUMDATE
DATE
9. Custpremiumtx
Name
Null?
Type
----------------------------------------- -------- ----------------------CUSTPREMIUMTXID
NOT NULL
NUMBER(22)
CUSTPOLICYID
NUMBER(11)

PREMIUMAMOUNT
PREMIUMPAYDATE

NUMBER(15,2)
DATE

10. Policycommission
Name
Null?
Type
----------------------------------------- -------- ---------------------------TARGETAMOUNT
NOT NULL
NUMBER(20,3)
COMMISSIONRATE
NUMBER(5,2)

11. PremiumAmounts
Name
Null?
Type
----------------------------------------- -------- ------------------POLICYID
NUMBER(5)
MONTHLY
NUMBER(15,2)
QUARTERLY
NUMBER(15,2)
HALFYEARLY
NUMBER(15,2)
ANNUALLY
NUMBER(15,2)

12. AgentCommission
Name
Null?
Type
----------------------------------------- -------- ---------------------------AGENTID
NUMBER(11)
AGENTNETAMOUNT
NUMBER(13,3)

13. AgentcommTx
Name
Null?
Type
----------------------------------------- -------- -----------------------AGENTCOMMTXID
NOT NULL
NUMBER(11)
AGENTID
NUMBER(11)
AGENTAMOUNT
NUMBER(13,2)
AGENTCOMM
NUMBER(13,2)
AGENTCOMMDATE
DATE
14. Custbonusdates
Name
Null?
Type
----------------------------------------- -------- ---------------------------CUSTPOLICYID
NUMBER(11)
PREVIOUSBONUSDATE
DATE

NEXTBONUSDATE

DATE

15. Custbonustx
Name
Null?
Type
----------------------------------------- -------- ---------------------------CUSTBONUSTXID
NOT NULL
NUMBER(22)
CUSTPOLICYID
NUMBER(11)
BONUSDATE
DATE
BONUS
NUMBER(12,2)
16. Branch
Name
Null?
Type
----------------------------------------- -------- -----------------------BRANCHID
NOT NULL
NUMBER(5)
BRANCHNAME
VARCHAR2(22)
LOCATION
VARCHAR2(22)
BRANCHDATE
DATE
PHONE
NUMBER(12)
STATE
VARCHAR2(22)

4.3 DATA FLOW DIAGRAMS


Data flow diagram is a structure analysis tool that is used for graphical
representation of Data processes through any organization. The data flow
approach emphasis on the logic underlying the system, by using combination
of only 4 symbols. It follows a top down approach. A full description of a
system actually consists of set of DFD s, which comprises of various levels.
And initial over view model is exploded lower level diagrams that show
additional feature of the system. Further each process can be broken down
into a more detailed DFD. This occurs repeatedly until sufficient details are
described.
DFD symbols
square

it defines a source (originator ) or destination of system data.


Arrow
It indicates data flow-data in motion. It is a pipeline through which
information flows.

Circle or Bubble

It represents a process that transforms incoming data flow(s) into outgoing data
flow(s).

Open Rectangle

it is a data store-data at rest, or a temporary repository of data. Here I am giving


only the Data Flow Diagram.

They are explained by

GANE and SARON method

DEMACRO YORDAN method

GANE

AND

SARSON NOTATION

DATA FLOW

DATA STRUCTURE

EXTERNAL ENTITY
OR

DATA LINK

PROCESS

DATA BASE

DEMACRO YORDAN NOTATION

DATA FLOW

DATA STRUCTURE

EXTERNAL ENTITY
OR

DATA LINK

PROCESS

DATA BASE

Context level

Customers

customer
s
Manager

Managers

0. 0
Create Insurance
system

Chairman

Agents

Chairman

Agents

First level DFDs

Login Info
Data Base
Chairman

User

Login
Process

Managers

Customer
s
Invalid

Chairaman

Agents

Registration of
Branch, Polices,

Branch Manager

Customers

Agents

Branch Managers

1.0
Create Insure
System

Registration of
Agents, Customers
Cal Interest,Bo
nus

1.0
Creative Insurance
System

Finding Next Premium


1.0
Dates,Bonus Dates,
1.0
Create
Insurance
Policy Details
System

View the Customers


Personal Details,
Policy Details

1.0
Creative
Insurance
System

View

Chairman

Reports

View

Branch Manager

Reports

view
Reports

View
Reports

Customers

Agents

II level DFD for Chairman

Registratio
n
Of Branch
Chairman

Login

Create
Insurance
System

Appoint of
Manager
Registration
of Policies
Reports

II level DFD for Managers

Registratio
n
Of Agents
Registration
of
Customers
Branch Managers

Login

Create
Insurance
System

Calculate
of Customer
Bonus

Calculate of
customer
Next
Premium
Agents
Commission

Reports

II level DFD for Customers

Registratio
n
Of Agents

Customers

Login

Registration
of
Customers
Create
Insurance
System

Calculate
of Customer
Bonus

Calculate of
customer
Next
Premium
Agents
Commission

Reports

4.4ENTITY-RELATIONSHIP DIAGRAMS

E-R (Entity-Relationship) Diagram is used to represents the


relationship between entities in the table.
The symbols used in E-R diagrams are:
SYMBOL

PURPOSE

Represents Entity sets.

Represent attributes.

Represent Relationship Sets.

Line represents flow


ER-Diagrams
Branch
mgrId

Phone

BranchI
d

Branch
MgrNa
me

BMJoin
Date

Stat
e

Branch
Name

Branc
hNam
e

Branch

Location

Branch
MgrFat
herNa
me

Branch
Date
Age

Customer
Addr

BranchMgr

Custome
RegDate

CustId

BMQual

BMSe
x

BMAg
e
CustId

CustPoli
cyId

PolicyId

Sex

CustNa
me

Customer

Customer
FNmae

CustI
d

Policy
Date
CustQ
ual

Customer
Occuptio
n

Agent
Id

CustPolicies

Nomine
eName

Premiu
mType

Premiu
mAmout
nt

PolicyTer
m

Bonu
sPerio
d

PolicyAm
ount

PolicyId

Policy
Name

Policies

Bon
usR
ate

PolicyI
d

Policy
Id

Monthly
u

Quarterl
y

Premium
Amounts

PolicyFac
eAmount

PolicyI
nterest

PolicyDat
e

Halfye
arly

Annualy

Agent
Age
AgentAd
dress

Agents
RegDate

AgentId

Agent
Name

Agents

AgentFN
mae

Age
ntsS
ex

Agents
Id

Agents
CommT
xId

Agent
Id

AgentA
mount

Agents
CommTx

Agents
Comm
Agent
Id
Agents
Securit
y
Deposi
t

BranchM
geId

Agents
Comm
Date

4.5 UMLDIAGRAMS
INTRODUCTION
UML is a notation that resulted from the unification of Object
Modeling Technique and Object Oriented Software Technology .UML has been
designed for broad range of application.
Hence, it provides constructs for a broad range of systems and activities.
An Overview of UML in five notations
1.use case diagrams
Use cases are used during requirements elicitation and analysis To
represent the functionality of the system.Use cases focus on the behaviour of
the system from the external point of view.The actor are
Outside the boundary of the system,whereas the use cases are inside the
boundary of the system.
2.class diagrams

Class diagrams to describe the structure of the system. Classes Are


abstraction that specify the common structure and behaviour of a set
Class diagrams describe the system in terms of objects, classes,
attributes, operations and their associations.
3.Sequence diagrams
Sequence diagrams are used to formalize the behaviour of the
system and to visualize the communication among objects. They are useful for
identifying additional objects that participate in the use cases. A Sequence
diagram represents the interaction that take place among these objects.
4.Statechart diagrams
State chart diagrams describe the behaviour of an individual object as a
number of states and transitions between these states. A state represents a particular set of
values for an object. The sequence diagram focuses on the messages exchanged between
objects, the state chart diagrams focuses on the transition between states.

4.6 Activity diagrams


An activity diagram describes a system in terms of activities. Activities are
states that represents the execution of a set of operations. Activity diagrams are similar to
flowchart diagram and data flow.

Use Case Diagram of Chairman

Policies Maintainance

Manager Registration

Chairman

Chairman

Branch Creation

Use Case Diagram of Manager

Agents Registration

Customer Registration

Customer Policy Registration

Manager

Manager
Customer Premium Payment

Customer Bonus

Agent Commission

Use Case Diagram of Agents

Customers Policies Details

Customers Personal Details

Policies Details
Agent

Agent

Manager Details

Agent Personal Details

Use Case Diagram of Customers

Policy Amounts

Bonus Dates

Premium Dates

Customer
Policies Details

Customer

Customer Policy Details

Customer Personal Details

4.7 Hardware And Software Requirements


Hardware Requirements:
The selection of hardware is very important in the existence and proper
working of any software. In the selection of hardware, the size and the capacity
requirements are also important.
The Web Based Manufacturing System can be efficiently run on Pentium
system with at least 128 MB RAM and Hard disk drive having 20 GB. Floppy disk

drive of 1.44 MB and 14 inch Samsung color monitor suits the information
system operation.(A Printer is required for hard copy output).

Pentium processor --------

RAM Capacity

--------

Hard Disk

--------

Floppy disk

--------

CD-ROM Drive

--------

233 MHZ or above


256MB
20GB
1.44 MB
32 HZ

Software Requirements:
One of the most difficult tasks is that, the selection of the software, once
system requirement is known is determining whether a particular software
package fits the requirements. After initial selection further security is needed to
determine the desirability of particular software compared with other candidates.
This section first summarizes the application requirement question and then
suggests more detailed comparisons.

Operating System

Browser

--

IE

Web/Application Server

--

Tomcat Server

Database

--

Oracle

Database Connectivity

--

JDBC

Java Technologies

--

Windows 98/NT/2000

--

Java (Servlets, jsp, java


Beans)

Scripting Technology

5. System Testing

--

Java Script

TESTING
Testing is a process, which reveals errors in the program. It
is the major quality measure employed during software development.
During software development. During testing, the program is executed
with a set of test cases and the output of the program for the test cases is
evaluated to determine if the program is performing as it is expected to
perform.
In order to make sure that the system does not have
errors, the different levels of testing strategies that are applied at differing
phases of software development are:
1.

Unit Testing
Unit Testing is done on individual modules as they are
completed and become executable. It is confined only to the
designer's requirements.
Each module can be tested using the following two
strategies:
i)

Black Box Testing:


In this strategy some test cases are generated as

input conditions that fully execute all functional requirements for the
program. This testing has been uses to find errors in the following
categories:
a) Incorrect or missing functions
b) Interface errors
c) Errors in data structure or external database access
d) Performance errors
e) Initialization and termination errors.

In this testing only the output is checked for correctness.


The logical flow of the data is not checked.
ii)

White Box testing


In this the test cases are generated on the logic of each
module by drawing flow graphs of that module and logical decisions
are tested on all the cases.
It has been uses to generate the test cases in the following
cases:
a) Guarantee that all independent paths have been executed.
b) Execute all logical decisions on their true and false sides.
c) Execute all loops at their boundaries and within their operational
bounds.
d) Execute internal data structures to ensure their validity.

2.

Integrating Testing
Integration testing ensures that software and subsystems
work together as a whole. It tests the interface of all the modules to
make sure that the modules behave properly when integrated
together.

3.

System Testing
Involves in-house testing of the entire system before delivery
to the user. It's aim is to satisfy the user the system meets all
requirements of the client's specifications.

4.

Acceptance Testing
It is a pre-delivery testing in which entire system is tested at
client's site on real world data to find errors.

validation
The system has been tested and implemented successfully
and thus ensured that all the requirements as listed in the software
requirements specification are completely fulfilled. In case of erroneous
input corresponding error messages are displayed.

Screens and Reports

7. Technical Notes

OVERVIEW OF JAVA TECHNOLOGY


HISTORY OF JAVA
Java language was developed by James Gosling and his team at sun micro
systems and released formally in 1995. Its former name is oak. Java
Development Kit 1.0 was released in 1996. to popularize java and is freely
available on Internet.

Overview of Java
Java is loosely based on C++ syntax, and is menat to be Object-Oriented
Structure of java is midway between an interpreted and a compiled language .
java programs are compiled by the java compiler into Byte Codes which are
secure and portable across different platforms . these byte codes are essentially
instructions encapsulated in single type, to what is known as ajava virtual
machine (JVM) which resides instandard browser.
Jvm verifies these byte codes when downloaded by the browser for integrity.
Jvms available for almost all OS. JVM converts these byte codes into machine
specific instructions at runtime.
FEATURES OF JAVA

java is object-oriented language and supports encapsulation,


inheritance , polymorphism and dynamic binding , but does not
support multiple inheritance.every thing in java is an object except
some primitive datatypes .

java is portable architecture neutral that is java programs once


compiled can be executed on any machine that is enabled.

JAVA is distributed in its approach and used for internet


programming.

Java is robust, secured, high performing and dynamic in nature.

Java supports multithreading. There for different parts of the


program can be executed at the same time

JAVA AND INTERNET


Java is strongly associated with internet and known as internet
programming language. Internet users can use java to create applet programs
and run them locally using java enabled browser search as hot java. Applets can
be downloaded from remote machine via internet and run it on local machine .

JAVA AND WORLD WIDE WEB


World wide web is an open ended information retrieval system designed to
be used in the distributed environment. This system contains web pages that
provide both information and controls. We can navigate to a new web page in
any direction. This is made possible worth HTML java was meant to be used in
distributed environment such as internet. So java could be easily incorporated
into the web system and is capable of supporting animation graphics , games
and other special effect. The web has become more dynamic and interactive with
support of java. We can run a java program on remote machine over internet with
the support of web .
JAVA ENVIRONMENT
Java environment includes a large no.of tools which are part of the
system known as java development kit (JDK) and hundreds of classes, methods,
and interfaces grouped into packages forms part of java standard library(JSL).
JAVA ARCHITECTURE
Java architecture provides a portable , robust , high performing
environment for development. Java provides portability by compiling the byte
codes for the java virtual machine which are then interpreted on each platform by
the runtime environment . java also provides stringent compile and runtime
checking and automatic memory management in order to ensure solid code .
JAVA VIRTUAL MACHINE
When we compile the code, java compiler creates machine code (byte
code) for a hypothetical machine called java virtual machine (jvm). The jvm will
execute the byte code and overcomes the issue of portability . the code is written
and compile for one machine and interpreted all other machines , this machine is
called java virtual machine .

PARADIGM OF JAVA

Dynamic down loading applets(small application programs);

Elimination of flatware phenomenon that is providing those


features of a product that user needs at a time. The remaining
features of a product can remain in the server.

Changing economic model of the software

Up-to-date software availability

Supports network entire computing

Supports CORBA & DCOM


ABOUT HTML

HTML (hyper text markup language) is a language used to create hyper


text documents that have hyper links embedded in them . it consists of tags
embedded in the text of a document with HTML. We can build web pages or web
document s. it is basically a formatting language and not a programming
language. The browser reading the document interprets mark up tags to help
format the document for subsequent display to a reader. HTML is a language for
describing structured documents. HTML is a platform independent. WWW(world
wide web) pages are written using HTML. HTML tags control in part the
representation of the WWW page when view with web browser. The browser
interpretes HTML tags in the web document and displays it. Different browsers
show data differently. Examples of browsers used to be web pages include:

Netscape

Internet Explorer

JAVA SCRIPT
Java script is a general purpose , prototype based , object oriented
scripting language developed jointly by sun and netscape and is meant for the

www. it is designed to be embedded in diverse applications and systems , with


out consuming much memory . java script borrows most of its syntax from java
but also inherits from awk and perl , with some indirect influence from self in its
object prototype system.
Java scripts dynamically typed that is programs donot declare variable
types, and the type of variable is unrestricted and can change at runtime . source
can be generated at run time and evaluated against an arbitrary scope. Typical
implementations compile by translating source into a specified byte code format,
to check syntax and source consistency. Note that the availability to generate
and interprate programs at runtime implies the presence of a compiler at runtime.
Java script is a high level scripting language that does not depend on or
expose particular machine representations or operating system services. It
provides automatic storage management, typically using a garbage collector.
FEATURES:

Java script is embedded into HTML documents and is executed


with in them.

Java script is browser dependent

JavaScript is an interpreted language that can be interpreted by


the browser at run time .

Java script is loosely typed language

Java script is an object based language.

Java script is an Event-Driven language and supports event


handlers to specify the functionality of a button.

ADVANTAGE
1. java script can be used for client side application
2. java script provides means to contain multiform windows for
presentation of the web.

3. java script provides basic data validation before it is sent to


the server. Eg : login and password checking or whether the
values entered are correct or whether all fields in a from are
filled and reduced network traffic
4. it creates interactive forms and client side lookup tables .
Java Database Connectivity(JDBC)
Overview of New Features
Result set enhancements
The JDBC 1.0 API provided result sets that had the ability to scroll in a forward
directionally. Scrollable result sets allow for more flexibility in the processing of
results by
providing both forward and backward movement through their contents. In
addition,
scrollable result sets allow for relative and absolute positioning. For example, its
pos-sable to move to the fourth row in a scrollable result set directly, or to move
directly to
the third row following the current row, provided the row exists. The JDBC API
allows result sets to be directly updatable, as well.
Batch updates
The batch update feature allows an application to submit multiple update
statements
(insert/update/delete) in a single request to the database. This can provide a
dramatic
increase in performance when a large number of update statements need to be
executed.

9. Conclusion

The web application is developed for to maintain the insurance policies. These
application is used CEO, Managers, Agents and customers. The CEO can be
maintain the branch, policies, manager and all the repots are handled. Manager
can be maintain the agents, customers, premium payments, agent commission
and reports are maintain.
The Agents are involved in the process of the Customer Policy registration
and the Commissions are based on the targets achieved by the Agents.
Apna life insurance System also maintains the database of the Branch
Managers who deals with the Agents which in turn deals with the Customers.

10. BIBLIOGRAPHY
ORACLE
Java 2, The Complete Reference

Ivan Bayross
Patrick Naughton
& Herbert Schildt

Java Servlet Programming


HTML: The Definition Guide
Developing Java Servlet
Java Server pages

Jason Hunter
& William Crawford
Musciano
James Goodwill
Larne Pekowsky