Professional Documents
Culture Documents
We are very grateful to the Management of our college for giving us an Opportunity in completing this project. It gives us immense pleasure to express my gratitude to our principal Mr.Dr.Palanki Balakrishna who gave us an opportunity in completing this project. We deeply express our profound gratitude and wholehearted thanks to our beloved H.O.D Mr.G.Ravinder Reddy , epartment of !omputer "cience and #ngineering who provided us with necessary facilities, guidance and endless encouragement which helped soundly in completing our project work within time. We express our sincere gratitude to $russ $echno "ofts, for its kind acceptance in providing us project successfully and providing us with encouraging guidance throughout. We also express our gratitude to our Internal %uide, Mrs.&. eepthi who directly or indirectly helped us in completing the project successfully and providing us with encouraging guidance throughout.
ABSTRACT
Ai
"mall entrepreneurs for local business and social networking
O!"e#$ive
Online yellow pages give us an easy way to find and review local businesses that provide daily services we need. $his portal assists us to find the best carpenters, tailors, plumbers, repairmen and other service providers in our neighborhood. Online yellow pages allow us to make our lives a little easier by bringing the information we need every day to our door step.
Pr%"e#$ S#%&e
In the current situation, there is no proper approach for the small entrepreneurs'service providers (Masons, !arpenters, #lectricians, and &lumbers etc.) to reach the consumers so as to provide their services and thereby generate more daily revenues. $he service providers are limited to a small geographical area (a locality) and their business depends on word of mouth marketing (or) verbal promotion (or) consumer loyalty. $he service providers, even though they are skilled, can*t advertise about themselves. !onsumers are unable to find skilled personnel in a short period of time and can crave the convenience of doorstep delivery. +ome,based service consumers are growing. $hey look for growth in income as well as look for serving more consumers. $he professional life of consumers raises a need for them to change their way of availing'utili-ation of services. $hey are looking for innovative solutions that help them to manage their day to day works within less time and less overhead cost. $hus the need to create an Online atabase for small entrepreneurs arises. $his system
will help service providers to have a greater visibility and thus a chance to increase their business. It provides a virtual marketplace where consumers can reach the service providers through this portal and choose a better one. "ince recommendations from others are important when hiring a service provider, so reviews and ratings from their past customers are offered.
C%n$en$s
'. (n$r%d)#$i%n*****************************....'
#ssence of the project &roblems in existing system &roposed system
-. Desi.n********************************../
0rchitecture of the system 1se case iagrams !lass iagrams "e/uence iagrams !ollaboration iagrams 0ctivity iagrams
/. ( &le en$a$i%n****************************'+
Introduction &seudo code
(NTROD5CT(ON
I2$5O 1!$IO2
(NTROD5CT(ON
Essen#e %6 $he Pr%"e#$
&resently the business of service providers depends mainly on word of mouth marketing, verbal promotion and on consumer loyalty. +ome,based service consumers are growing. $hey look for growth in income as well as look for serving more consumers On the other hand, home, based service consumers are growing. $he professional life of consumers raises a need for them to change their way of availing'utili-ation of services. $hey are looking for innovative solutions that help them to manage their day to day works within less time and less overhead cost. $he number of mobile phone subscribers has grown massively in the emerging markets. &erhaps even more interesting, the mobile phone has reached across income segments such that even the 6working poor* living on less than two dollars a day use mobile phones. $hus the need to create an "M" $he "M" riven riven atabase for "mall #ntrepreneurs "ystem arises.
increase their business and generate more daily revenues. It provides a virtual marketplace where consumers can reach the service providers (using mobile phones) and avail the service provided by them.
!onsumers are unable to find skilled personnel in a short period of time and can crave the convenience of doorstep delivery.
Pr%&%sed Sys$e
$he system is designed to facilitate the service providers and consumers to have a common medium of interaction. $his is implemented through an "M" based system which enables the consumer to get easy and /uick services. It will help service providers to increase their business and generate more daily revenues. $he administrator and helpdesk executive are allowed to login and authori-e the service provider registrations. $hey manage (add, update, view and delete) service provider details, view pending registrations and service history through the console. 0part from these the administrator has special privileges which are manage areas and manage category (skill type of the service provider).
RE85(REMENTS ANAL9S(S
5#71I5#M#2$" 02034"I"
RE85(REMENTS ANAL9S(S
:)n#$i%nal Re,)ire en$s
Area and Ca$e.%ry Mana.e en$ $his module allows the administrator to login and provides a console for him to store and maintain the details of areas and categories, skill of the service provider. Re.is$ra$i%n and Servi#e Pr%vider Mana.e en$
0fter background verification the service provider details are stored and maintained. $he user can register and can avail the services re/uired. P%r$al In this module users (general public) can search for service providers and if they want to avail the service, a check box is provided to send a message to the provider such that a contact is established between consumer and service provider and a history is maintained.
DES(GN
#"I%2
DES(GN
$he 1M3 (1nified Modeling 3anguage) notation is recommended as a standard for designing the system. It is a graphical language for visuali-ing, specifying, constructing and documenting the artifacts of a software intensive system. It gives a standard way to write a blueprint covering the conceptual things.
$he three major elements of 1M3 are $he 1M3*s basic building blocks $he rules that dictate how those building blocks may be put together. "ome common mechanisms that apply throughout the 1M3. Basi# !)ildin. !l%#ks %6 $he 5ML< $he vocabulary of 1M3 encompasses three kinds of building blocks8 $hings , the abstractions that are first,class citi-ens in a model 5elationships , tie these things together iagrams , group the interesting collection of things.
Thin.s in 5ML< $here are four kinds of things in the 1M3 "tructural things ;ehavioral things. %rouping things 0nnotational things
#"I%2
$hese things are the basic object oriented building blocks of the 1M3. $hey are used to write well,formed models. Rela$i%nshi&s in $he 5ML< $here are four kinds of relationships in the 1M38 ependency 0ssociation %enerali-ation 5eali-ation
shows set of use cases and their relationships. $hey are important for testing executable systems through forward and reverse engineering. 1se cases describe the proposed functionality of the new system. #ach 1se !ase has a description, which describes the functionality that will be built in the proposed system. 1se cases consolidate the external view of the system.
user
<<include>>
send request
#"I%2
add country
add state
add area
update area
view area
delete area
administrator
manage service provider <<extend>> view request view service delete sp update sp <<include>> view sp
add sp
enter details of sp
Class Dia.ra s
Dept. of CSE, BRECW
#"I%2
!lasses are most important building block of any Object Oriented system. $he class diagrams are important in constructing the executable system thorough forward and reverse engineering apart from visuali-ing, specifying and documenting. $he class diagram graphically represents the presentation of a static view that shows a collection of model elements such as classes, types and other contents and relationships apart from interfaces and collaborations.
enable login() admin spid : string firstname : string lastname : string address : string contactno : int areaname : string cityname : string statename : string countryname : string addS!() deleteS!() updateS!() add"ountry() update"ountry() addState() updateState() add"ategory() update"ategory() delete"#tegory() add#rea() update#rea() delete#$ea()
customer username : string password : string firstname : string lastname : string designation : string contact no : int login() view service() ma e request()
enable login()
())*
receive SMS sendSMS%andler mobile&' : int submit() update %istoryMaster spMobile&o : int category+, : String spid : string viewService%istroy()
Se,)en#e Dia.ra s
"e/uence diagrams describe the behavior as a se/uence of message exchanges among set of objects. $he se/uence diagrams consist of objects represented in the usual way as named rectangles with underline, messages represented as sold,line arrows and time represented as a vertical progression.
#"I%2
c:customer
d:database
s:smscenter
sp:service provider
2:maintain history
#"I%2
a:administraor
d:database
(:login()
.:perform service
/:update database
0:logout
de leteS! ( ) add"ountry( ) addState( ) add#rea ( ) update#rea ( ) v iew #rea ( ) delet e#rea ( ) add"ategory( ) update"ategory ( ) delete"ategory ( ) v iew"ategory ( )
.ig F.A8 , "e/uence iagram showing the se/uence of activities for the service provider management, area management and category management.
Dept. of CSE, BRECW
#"I%2
C%lla!%ra$i%n Dia.ra s
0 collaboration diagram groups together the interactions between different objects. $he interactions are listed as numbered interactions that help to trace the se/uence of the interactions. $he collaboration diagram helps to identify all the possible interactions that each object has with other objects.
.: .:select the available service provider
-: -:retrieve service providers list d:database (: (:enter details of service providers /: /:enter the details to ma e request c:customer
/: /:update database
#"I%2
A#$ivi$y Dia.ra s
$he process flows in the system are captured in the activity diagram. "imilar to a state diagram, an activity diagram also consists of activities, actions, transitions, initial and final states and guard conditions.
Database
3xecute 8uery
Da$a!ase Desi.n
Dept. of CSE, BRECW
#"I%2
ata is crucial for every organi-ation'"ystemG "M" riven atabase system for "mall #ntrepreneurs is also not an exception for that. $his system works completely based on data of the service providers. $he administrator and the helpdesk executives maintain the database. $hey are allowed to login and authori-e the service provider registrations. $hey manage (add, update, view and delete) service provider details, view pending registrations and view service history through the console. 0part from these the administrator has special privileges which are manage areas and manage category (skill type of the service provider). 0 set of tables are maintained for the mapping purpose, so that the consumer can re/uest for a service provider of a specific category and from a particular area. $o organi-e the system*s data properly Oracle database is used. ata ictionary $able8 usermaster 2ame username password firstname lastname designation contactno $ype varchar=(=<) varchar=(=<) varchar=(=<) varchar=(=<) varchar=(=<) number $able F.:8 usermaster $able F.: maintains information about the administrator and helpdesk executives. It is used by the system to authenticate them before he'she enters the system. $able8 countrymaster 2ame countryid countryname countrycode $ype varchar=(=<) varchar=(=<) varchar=(=<) $able F.=8 countrymaster !onstraint &rimary key !onstraint
#"I%2
$able F.= contains the details of the countries where the services of the system are available. $he administrator alone has the privilege to add a country through the console. When the country is added the countryid is automatically generated.
$able8 statemaster 2ame countryid stateid statename $ype varchar=(=<) varchar=(=<) varchar=(=<) $able F.F8 statemaster $able F.F contains the details of the states in each country where the services of the system are available. $he administrator alone has the privilege to add a state through the console. When the state is added the stateid is automatically generated. ;oth countryid and stateid will form the composite primary key. &rimary Dey !onstraint
$able8 areamaster 2ame countryid stateid lid areaname cityname pincode $ype varchar=(=<) varchar=(=<) varchar=(=<) varchar=(=<) varchar=(=<) number $able F.>8 areamaster $able F.> contains the details of the areas in a particular state where the services of the system are available. $he administrator alone has the privilege to add an area through the console. When the area is added the lid (location id) is automatically generated. countryid and stateid and lid will form the composite primary key. &rimary Dey !onstraint
#"I%2
$able8 categorymaster 2ame categoryid categorydesc $ype varchar=(=<) varchar=(=<) $able F.E8 categorymaster $able F.E contains the details of the categories (skill type) of the service provider. $he administrator alone has the privilege to add a category through the console. $his table is very useful while mapping a consumer*s service re/uest. When the category is added the categoryid is automatically generated. categoryid is the primary key. $able8 ids 2ame countryid stateid lid $ype varchar=(=<) varchar=(=<) varchar=(=<) $able F.A8 ids $able F.A contains all the ids. $his table is very important for mapping a consumer*s service re/uest. $he consumer can re/uest for a service provider from a particular locality. $able8 pendingregmaster 2ame re/id ateHofHre/ spmobno pendingstatus $ype varchar=(=<) ate 2umber varchar=(=<) !onstraint &rimary key !onstraint .oreign key .oreign key &rimary key !onstraint &rimary key
$able F.@8 pendingregmaster $able F.@ contains the re/uests from the service providers to get registered in to the system. When the service providers send "M" to the system that they are interested in getting registered with the system, the "M" is parsed and is stored in this table. $he re/uestid is generated automatically. $he pending status in initially 6<*, which indicates the background verification of the service provider is not complete. When the administrator or helpdesk executive add the service provider with all the other details the pending status automatically changes to*:* $able8 spmaster
Dept. of CSE, BRECW
#"I%2
2ame spid lid firstname lastname address contactno categoryid availability status rank
$ype varchar=(=<) varchar=(=<) varchar=(=<) varchar=(=<) varchar=(=<) 2umber varchar=(=<) 2umber 2umber $able F.B8 spmaster
.oreign key
$able F.B maintains all the details about the service providers. ;oth administrator and helpdesk executive can add a servcieprovider through the console after the background verification is completed. When the service provider is added the spid is automatically generated. lid and categoryid are the foreign keys. $hey are maintained in this table for mapping purpose. $he rank field is maintained so that all the service providers get e/ual opportunity. $able8 "ervice+istoryMaster 2ame $ype !onstraint
consumermobno number lid categoryid spid varchar=(=<) varchar=(=<) varchar=(=<) $able F.I8 "ervice+istoryMaster When the service re/uest is mapped automatically the details are stored in table F.I. +ere only the ids are stored.
(MPLEMENTAT(ON
IM&3#M#2$0$IO2
(MPLEMENTAT(ON
Implementation is the stage where the theoretical design is turned into a working system. $he most crucial stage in achieving a new successful system and in giving confidence on the new system for the users that it will work efficiently and effectively. $he system can be implemented only after thorough testing is done and if it is found to work according to the specification. It involves careful planning, investigation of the current system and its constraints on implementation, design of methods to achieve the change over and an evaluation of change over methods a part from planning. $wo major tasks of preparing the implementation are education and training of the users and testing of the system. $he implementation phase comprises of several activities. $he re/uired hardware and software ac/uisition is carried out. $he system may re/uire some software to be developed. .or this, programs are written and tested. $he user then changes over to his new fully tested system and the old system is discontinued.
=A>A
Cava has become enormously popular. Cava*s rapid rise and wide acceptance can be traced to its design and programming features, particularly its promise that you can write a program once and run it anywhere. 0s stated in the Cava language white paper by "un, Cava is simple, object oriented, distributed, interpreted, robust, secure, architecture,neutral, portable, high,performance, multithreaded, and dynamic.
IM&3#M#2$0$IO2
(MPLEMENTAT(ON TECHNOLOG9
C=## (Cava = &latform, #nterprise #dition) o Introduction o istributed Multi,tiered 0pplications
o C=## !omponents o $he C=## platform uses a distributed multitier application model for enterprise applications. 0pplication logic is divided into components according to function, and the various application components that make up a C=## application are installed on different machines depending on the tier in the multitier C=## environment to which the application component belongs. Multitier C=## applications divided into the tiers described in the following list. o !lient,tier components run on the client machine. o Web,tier components run on the C=## server.
.ig8 , >.:
Dept. of CSE, BRECW
IM&3#M#2$0$IO2
=+EE C% &%nen$s
0 C=## component is a self,contained functional software unit that is assembled into a C=## application with its related classes and files and that communicates with other components. $he C=## specification defines the following C=## components8 C=## components are written in the Cava programming language and are compiled in the same way as any program in the language. $he difference between C=## components and JstandardK Cava classes is that C=## components are assembled into a C=## application, are verified to be well formed and in compliance with the C=## specification, and are deployed to production, where they are run and managed by the C=## server. C=## web components are either "ervlets or pages created using C"& technology (C"& pages). "ervlets are Cava programming language classes that dynamically process re/uests and construct responses. C"& pages are text,based documents that execute as "ervlets but allow a more natural approach to creating static content. "tatic +$M3 pages and applets are bundled with web components during application assembly but are not considered web components by the C=## specification. "erver,side utility classes can also be bundled with web components and, like +$M3 pages, are not considered web components.
SER>LETS
0 "ervlet is a Cava technology based web component, managed by a container that generates dynamic content. 3ike other Cava,based components, "ervlets are platform independent Cava classes that are compiled to platform neutral byte code that can be loaded dynamically into and run by a Cava enabled web server. !ontainers, sometimes called "ervlet engines, are web server extensions that provide "ervlet functionality. "ervlets interact with web clients via a re/uest'response paradigm implemented by the "ervlet container.
IM&3#M#2$0$IO2
$he "ervlet container is a part of a web server or application server that provides the network services over which re/uests and responses are sent, decodes MIM# based re/uests, and formats MIM# based responses. 0 "ervlet container also contains and manages "ervlets through their lifecycle. 0 "ervlet container can be built into a host web server, or installed as an add,on component to a Web "erver via that server*s native extension 0&I. Cust like an applet is a client Lside program, a "ervlet is a server side program, written in java, that is dynamically extends the functionality of a server. "imilar to the manner in which applets run inside a web browser on the client, "ervlets execute inside 0pache $omcat on the server. 1nlike applets, "ervlets do not display a %raphical Interface to the user. 0 "ervlet work is done Jbehind the scenesK on the server and only the "ervlets processing are returned to the client.
enables rapid development of web,based applications that are platform,independent. C"& separates user interfaces from content generation, enabling designers to change the overall page layout without altering the underlying dynamic content.
=ava Da$a!ase C%nne#$ivi$y ?=DBC@ C ;! is a set of classes and Interface used for the purpose of connecting to a database using applications developed in Cava language. $o get a connection with the database, a object used to execute "73 /ueries. 5esult of a statement is stored as 5esult"et. river, which is the implementation of C ;! 0&I loaded. $his driver is used to create a "tatement, which is an
IM&3#M#2$0$IO2
M9 S8L 0.A
My"73 is 5elational database Management "ystem this program runs as a server providing multi,user access to a number of databases.It is a open source product of "un micro systems. &latforms and 0vailability $he production version of My"73 E.< is available now for 3inux, Windows, "olaris, Mac O" M and a range of other operating systems.0ll My"73 database software is available under a dual licensing model. evelopers and organi-ations can choose between open sources (%&3) or a commercial My"73 license, depending on their deployment re/uirements. #nd,user enterprises can also subscribe to My"73 2etwork, a comprehensive set of certified software and premium support services.
resources such
of
clientsG software that runs servlets and manages them through their lifecycle (e.g., $omcat
IM&3#M#2$0$IO2
Pse)d% C%de
Log in import java.s/l.?G import javax.servlet.?G import javax.servlet.http.?G import java.io.?G import java.lang.?G public class 3ogin"evlet extends +ttp"ervlet N "tatement stG !onnection conG 5esult"et rsG public void init("ervlet!onfig config) N try N !lass.for2ame(Ocom.mys/l.jdbc. riverO)G "tring dburlPconfig.getInit&arameter(OdburlO)G "tring usernamePconfig.getInit&arameter(OusernameO)G "tring passwordPconfig.getInit&arameter(OpasswordO)G con P riverManager.get!onnection(dburl,username,password)G "ystem.out.println(OPP3ogin "ervlet got calledPPPO)G stPcon.create"tatement()G Q
Dept. of CSE, BRECW
IM&3#M#2$0$IO2
catch(#xception e) N e.print"tack$race()G Q Q public void do%et(+ttp"ervlet5e/uest re/, +ttp"ervlet5esponse res) throws IO#xception, "ervlet#xception N try N '' +ttp"ession sessionPre/.get"ession()G "tring unamePre/.get&arameter(Ot:O)G "tring pwdPre/.get&arameter(Ot=O)G '' long last3ogon.ormP3ong.parse3ong(re/.get&arameter(OtFO))G "tring strPOselect ?from usermaster where usernamePROSunameSOROG rsPst.execute7uery(str)G "tring categoryPO OG if(rs.next()) N categoryPrs.get"tring(E)G Q &rintWriter outPres.getWriter()G "ystem.out.println(O!ategory is POScategory)G if(uname.e/uals(pwd)) N
IM&3#M#2$0$IO2
'' long last3ogon ;Prs.get3ong(Olast3ogonO)G ''if(last3ogon.ormTlast3ogon ;) '' N ''st.execute1pdate(Oupdate userMaster set last3ogon P OSlast3ogon.ormSOwhere usernamePROSunameSORO)G if(category.e/uals(O0dministratorO)) N ''session.set0ttribute(O1serO,uname)G 5e/uest ispatcher rd P re/.get5e/uest ispatcher (Oresources'adminscreen.jspO)G rd.forward(re/,res)G Q else if(category.e/uals(O+ #O)) N ''session.set0ttribute(O1serO,uname)G 5e/uest ispatcher rd P re/.get5e/uest ispatcher (Oresources'userscreen.jspO)G rd.forward(re/,res)G Q else N 5e/uest ispatcher rd P re/.get5e/uest ispatcher (Oresources'#rr&age.jspO)G rd.forward(re/,res)G Q ''Q''last3ogon Q
Dept. of CSE, BRECW
IM&3#M#2$0$IO2
else N 5e/uest ispatcher rd P re/.get5e/uest ispatcher (Oresources'#rr&age.jspO)G rd.forward(re/,res)G Q Q catch(#xception e) N e.print"tack$race()G Q Q public void destroy() N try N "ystem.out.println(Odestroy method of 3ogin"ervlet got called. O)G con.close()G rs.close()G Q catch(#xception e) N e.print"tack$race()G Q
IM&3#M#2$0$IO2
Q Q
0dd area8 import java.s/l.?G import javax.servlet.?G import javax.servlet.http.?G import java.io.?G public class 0dd0rea"erv extends +ttp"ervlet N "tatement stG !onnection conG 5esult"et rsG
public void init("ervlet!onfig config) N try N !lass.for2ame(Ocom.mys/l.jdbc. riverO)G "ystem.out.println(Oinit method of 0dd0rea"ervlet got calledO)G "tring dburlPconfig.getInit&arameter(OdburlO)G "tring usernamePconfig.getInit&arameter(OusernameO)G "tring passwordPconfig.getInit&arameter(OpasswordO)G conP riverManager.get!onnection(dburl,username,password)G "ystem.out.println(OPP 5I9#5 3O0 # PPPO)G
Dept. of CSE, BRECW
IM&3#M#2$0$IO2
stPcon.create"tatement()G Q catch(#xception e) N e.print"tack$race()G Q Q public void do%et(+ttp"ervlet5e/uest re/, +ttp"ervlet5esponse res) throws IO#xception, "ervlet#xception N try N int countP:<<:G int locIdP<G &rintWriter out P res.getWriter()G "tring ctryIdPOOG "tring stateIdPOOG "tring state2amePre/.get&arameter(O =O)G "tring ctrynamePre/.get&arameter(O :O)G "tring city2amePre/.get&arameter(O$FO)G "tring area2amePre/.get&arameter(O$>O)G int pin!odePInteger.parseInt(re/.get&arameter(O$EO))G ''5etrieval of !ountryId by taking !ountry2ame as input. "tring str:POselect countryId from !ountryMaster where country2amePROSctrynameSOROG "ystem.out.println(str:)G
Dept. of CSE, BRECW
IM&3#M#2$0$IO2
''5etrieval of "tateId by taking "tate2ame as input. "tring str=POselect stateId from "tateMaster= where state2amePROSstate2ameSOROG "ystem.out.println(str=)G rsPst.execute7uery(str=)G if(rs.next()) N Q
"tring strFPOselect ? from 0reaMasterOG rsPst.execute7uery(strF)G if(Urs.next()) N locIdPcountG "ystem.out.println(Oif strF8OSstrF)G Q else N strFPOselect max(lid) from 0reaMasterOG rsPst.execute7uery(strF)G if(rs.next()) N strFPrs.get"tring(:)G
IM&3#M#2$0$IO2
"ystem.out.println(Oelse strF8OSstrF)G locIdPInteger.parseInt(strF)S:G "ystem.out.println(O3ocation Id 8 OSlocId)G Q Q ''!hecking whether the entries for a particular area r already existing or not. "tring str>POselect pincode,areaname from areamaster where pincodePROSpin!odeSOR and areanamePROSarea2ameSOROG rsPst.execute7uery(str>)G if(rs.next()) N 5e/uest ispatcher rd P re/.get5e/uest ispatcher (Oresources'faddarea..jspO)G rd.include(re/,res)G out.println(OVhtmlTVscript languagePRjavascriptRTO)G out.println(Oalert(Rgiven area already existsR)O)G out.println(OV'scriptTV'htmlTO)G Q else N ''Insering the values into the 0reaMaster "tring strPOinsert into areamaster values (OSOROSctryIdSOROSO,OSOROSstateIdSOROSO,OSOROSlocIdSOROSO,OSOROSar ea2ameSOROSO,OSOROScity2ameSOROSO,OSOROSpin!odeSOR)OG "ystem.out.println(str)G st.execute1pdate(str)G ''Insering the values into the IdRs $able
Dept. of CSE, BRECW
IM&3#M#2$0$IO2
"tring strrPOinsert into ids values (OSOROSctryIdSOROSO,OSOROSstateIdSOROSO,OSOROSlocIdSOR)OG "ystem.out.println(strr)G st.execute1pdate(strr)G 5e/uest ispatcher rd P re/.get5e/uest ispatcher (Oresources'faddarea$.jspO)G rd.include(re/,res)G out.println(OVhtmlTVscript languagePRjavascriptRTO)G out.println(Oalert(Rone area got inserted into databaseR)O)G out.println(OV'scriptTV'htmlTO)G Q Q catch(#xception e) N e.print"tack$race()G Q Q Q
TEST(NG
$#"$I2%
TEST(NG
$he testing phase is an important part of software development. It is the process of finding errors and missing operations and also a complete verification to determine whether the objectives are met and the user re/uirements are satisfied.
$#"$I2%
modified as user re/uirements changed, or adapted to new hardware that was purchased. $hese activities were collectively called software Maintenance. $he maintenance phase focuses on change that is associated with error correction, adaptations re/uired as the softwareRs environment evolves, and changes due to enhancements brought about by changing customer re/uirements. .our types of changes are encountered during the maintenance phase.
C%rre#$i%n Ada&$a$i%n
Enhan#e en$ Preven$i%n
Only about =< percent of all maintenance work are spent Ofixing mistakesO. $he remaining B< percent are spent adapting existing systems to changes in their external environment, making enhancements re/uested by users, and reengineering an application for use.
$#"$I2%
Tes$ #ases
#M&#!$# .12!$IO2 5#"13$" If username or !hecking login functionality password left blank then error should display #rror message displayed if user name or password given blank 4es 0!$103 5#"13$" +I%+ &5IO5I$4
If username or !hecking login functionality password are wrong then should display error If valid !hecking login functionality credentials given then redirect to home 5edirected to home if credentials are correct #rror is displayed when user name or password given wrong 4es
$#"$I2%
#M&#!$# .12!$IO2 5#"13$" epending on !hecking the navigation the selected tab should navigate to respective forms If the settings !hecking the settings functionality for the docs to be stored is changed then the change should reflect 0fter validation user should be registered successfully "uccessfully updated the settings "uccessfully displayed the respective form when selected 0!$103 5#"13$"
+I%+ &5IO5I$4
4es
4es
$#"$I2%
#M&#!$# .12!$IO2 5#"13$" !hecking the edit'delete documents functionality isplayed doc details should be belongs to user logged in 0!$103 5#"13$"
+I%+ &5IO5I$4
"uccessfully displayed the doc details for the logged in user 4es
#dited information should be updated in database If click on delete that document should be deleted ocument deleted successfully if click on delete 4es #dited information is updated in database successfully 4es
SCREEN SHOTS
"!5##2 "+O$"
SCREEN SHOTS
L%.in &a.e<
"!5##2 "+O$"
"!5##2 "+O$"
Add Ca$e.%ry<
"!5##2 "+O$"
"!5##2 "+O$"
5&da$in. Ca$e.%ry<
"!5##2 "+O$"
"!5##2 "+O$"
"!5##2 "+O$"
"!5##2 "+O$"
CONCL5S(ON
!O2!31"IO2
CONCL5S(ON
$he central concept of the application is to allow the customers to search the details of service providers of their choice. $he information pertaining to the service provider is stored at the server side. $he "erver process the customer*s re/uest and the "M" is sent to the address submitted by them. $he end user of this product is the user where the application is hosted on the web and the administrator maintains the database. $he application which is deployed at the customer database, the details of the items are brought forward from the database for the customer view based on the selection through the menu and the database of all the products are updated at the end of each transaction. ata entry into the application can be done through various screens designed for various levels of users. Once the authori-ed personnel feed the relevant data into the system, several reports could be generated as per the re/uirements. $his system offers information relevant to the user accessing the application thus avoiding unnecessary overloading and at the same time maintaining the security.
B(BL(OGRAPH9
;I;3IO%50&+4
B(BL(OGRAPH9
www.roseindia.net www.techonthenet.net www.java.sun.com C ;! 0&I tutorial and 5eference, $hird #dition "oftware #ngineering, 0 practitioner*s 0pproach L 5oger ". &ressman atabase &rogramming with C ;! and Cava (Cava ".) by %eorge 5eese