Vehicle Information Sistem

download Vehicle Information Sistem

of 111

Transcript of Vehicle Information Sistem

  • 8/16/2019 Vehicle Information Sistem

    1/111

    VEHICLE INFORMATION SYSTEM A PROJECT REPORT

    Submitted by PREETI MALIK

    117899

    i! "#$ti#% &u%&i%%me!t &'$ t(e #)#$d '& t(e de*$ee

    '&

    MASTER OF COMP+TER APPLICATION

    AT

    ,-A-V INSTIT+TE OF EN.INEERIN. /TECHNOLO.Y JALAN,HAR

    J+NE 0 1

    1

  • 8/16/2019 Vehicle Information Sistem

    2/111

    DECLARATION

    I hereby declare that the project entitled “ VEHICLE INFORMATION SYSTEM” submitted

    for the MCA is my original work and the project has not formed the basis for the award of any

    degree,associateship, fellowship or any other similar titles.

    Signature of the Student:

    lace:!alandhar

    "ate:#$%!&'(%)*#+

    2

  • 8/16/2019 Vehicle Information Sistem

    3/111

    CERTIFICATE

    his is to certify that project report entitled “VEHICLE INFORMATION SYSTEM”submitted by PREETI MALIK to unjab echnical &ni-ersity,!alandhar for the award of

    degree of Master of Computer Applicatian is a bonafied piece of project report. hey carry the

    authentic piece of project report under complete guidance and super-ision.

    he uality fairly fulfills all the re uirements related to say degree. Any help or assistance

    recei-ed "uring the design and de-elopment of software has been fully acknowledged.

    Mr. ar-een/akkar

    0 roject 1uide2

    03.4." MCA "ept.2

    3

  • 8/16/2019 Vehicle Information Sistem

    4/111

    Abstract

    5earning comes from doing. o learn something one has to go through practicalconditions. he present report is the outcome of my si6 months work on project titled

    78ehicle Information System9. he roject 1uide (r. rateek1oyal &nder whosesuper-ision I ha-e been able to accomplish our project on time. I would also like to thank him for his ample guidance and support.

    he aim of this training was to pro-ide knowledge of using a -ery useful platform, i.e.,!A8A framework in making some applications that can fulfill the demands of theorgani ations.An effort was made to understand the basics !A8A and to design some basic projectsusing this framework.

    4

  • 8/16/2019 Vehicle Information Sistem

    5/111

    Acknow !"#!$!nt

    I am highly grateful to the Er% Par&!!nKakkar H%O%D% o' MCA D!(art$!nt of the "A8Institute of (ngineering and echnology,!alandhar for pro-iding this opportunity to carry out the

    si6 month industrial training at 7M&5 IS4; S

  • 8/16/2019 Vehicle Information Sistem

    6/111

    =(;AC(

    I joined MultiSoft Systems, 'oida for my si6 month industrial training. he company allotted methe project “VEHICLE INFORMATIONSYSTEMS 2 to be de-eloped for !A8A echnology.

    he central concept of the application is to allow the customer to shop -irtually using the Internet

    and allow customers to buy the items and articles of their desire from the store. he information

    pertaining to the products are stores on an =">MS at the ser-er side.

    I was allocated the following product to work on:%

    'ame of trainee 'ame of roject

    =(( I 8(3IC5( I';4=MA I4'S

  • 8/16/2019 Vehicle Information Sistem

    7/111

    #. Company rofile#.# 4-er-iew:#.) Company 3ighlights@#.@ Company 3istory#.+ roduct Ser-ices

    #.+.# roductBBBBB.........BBBBBBBBBBB...BBBB.+

    #.+.) Ser-ices............................................................................................+

    #.+.).# roduct "e-elopmentBB.......BBBBBBBBBBBB.+

    #.+.).) Certification....BBBBBBBBB...BBBBBBB...

    #. 4ur MissionBBBBBBBBBBB BBBBBBB..BBBBBB.

    #. .#8isionBBBBBBBBBBBBBBBBBBBB ...B..

    #. .) 4bjecti-eBBBBBBBBBBBBBBBBBBBBBBB.

    #.? Multisoft artners.................................................................................................?). rofile 4f roblem AssignedD

    ).# 8ehicle Information [email protected] 4f (6isting System............................................................................................E @.# Introduction

    @.#.#Complicated @.#.)=edundancyBBBBBBBBBBBBBBBBB.E @.#.@ imeConsumingBBBBBBBBBBBBBBBBBBBBE

    @.#.+ =ecord ManagementBBBBBBBBB.BBBBBBBBB.B....#*

    @.#. InaccuracyBBBBBBBBBBBBBBBBBBBBBBBB..#*

    @.#.? InconsistancyBBBBBBB.BBBBBBBBBBBBBBB.B#*

    @.#.D &nauthori ed AccessBBBBBBBBBBBBBBBBBB.B.B#*

    @.) FhatGs 'ew In he System o >e "e-elopBBBBBBBBBBBBBB.BB.#*

    +. System =e uirementsB...................................................................................................## +.# roduct "efinition..............................................................................................#) +.#.# roblem Statement.........................................................................................#)%#@ +.#.);unction o >e ro-ided......................................................................,,,,.....#@

    7

  • 8/16/2019 Vehicle Information Sistem

    8/111

    +.#.@Solution Strategy............................................................................................#@ +.#.+ rocessing (n-ironment.................................................................................#+ +.#.+.#3ardware Specification...........................................................................#+

    +.#.+.)Software Specification............................................................................#+. ;easibilty AnalysisBBBB.............................................................................................# .# 4perational ;easibilityBBB.............................................................................# .) echnical ;easibilityBBBB............................................................................# .@ (conomic ;easibilityBBB................................................................................#?

    ?. roject lanBBBBBB................................................................................................#? ?.# eam StructureBB............................................................................................#D ?.) "e-elopment Schedule........................................................................................#$ ?.@ rograming 5anguage And "e-elopment oolB...............................................#$ ?.@.# 4-er-iew 4f !A8ABBBBBBBBBB..B.........................................#E%)?

    ?.@.) 4-er-iew 4f 4=AC5(BBBBBBBBBB..B...................................)D%@@ ?.@.@ 4-er-iew 4f 3 M5BBBBBBBBBB..B........................................@)%@E ?.@.+4-er-iew 4f CSSBBBBBBBBBB..B.............................................@E%+@?.@. 4-er-iew 4f !S BBBBBBBBBB..B.............................................................+@% )?.@.?Feblogic Ser-erBBBBBBBBB..BB..B.......................................................... )% $D. System =e uirements Specification.................................................................................... E D.# System Specification............................................................................................?*%?# D.#.# Communication Interfaces.......................................................................?# D.#.) Methodology And ool &sed..................................................................?# D.#.@ =e uirement haseBBBBBBBBBBBBBBBB.. ................?# D.) ;unctional =e uirement And erformance Specification....................................?#$. "esign haseBBBB........................................................................................................?) $.# "e-elopment haseBBB...............................................................................?) $.) Implementation hase.......................................................................................?@ $.@ "ata ;low "iagramBB...................................................................................?@%?? $.+Snapshot 4f 4nline 'et Mall System................................................................?D%D# $. >ackend "atabaseBB......................................................................................D)%D+E. est lan...............................................................................................................................D E.# urpose 4f esting............................................................................................D %D? E.) ype 4f estingBBBBB.............................................................................D?%DD#*. ImplementationBBBBBBBBBBBB...................................................................D$ #*.# he Feb 5ogic Ser-er Solution......................................................................DE%$* #*.#.# !)(( latformBBBBBBB............................................................$* #*.) "eploy heFeblogic Feb Application o he Feblogic Ser-erBB.........$*%$@##. roject 5egacy.....................................................................................................................$+ ##.# Current Status of the roject............................................................................$+%$ ##.) =emaining Areas of Concern...........................................................................$ ##.@ echnical and Managerial 5essons 5earnt......................................................$##.+;uture =ecommendationsBBBBBBB......................................................................$?##. ConclusionBBBBBBBBBBBBBBB.............................................................$?%$D

    8

  • 8/16/2019 Vehicle Information Sistem

    9/111

    #). >ibliography.......................................................................................................................$$

    9

  • 8/16/2019 Vehicle Information Sistem

    10/111

    Introduction ToOrganization

    10

  • 8/16/2019 Vehicle Information Sistem

    11/111

    CHAPTER-1

    +%Co$(an* P$'&i%e34

    1-1 O5e$5ie)34

    M,LTISOFT Systems was established in )**) by a team of professionals from globalconsulting firms ha-ing background in engineering and management from eminent institutes likeII Hs and IIMHs.M&5 IS4; speciali e in the field of raining, Consulting and "e-elopment on -ariousSoftware, ools and echnologies, addressing the growing needs of the I market. Company

    pro-ide consummate results in the field by producing the best of talent catering to different-erticals like: Corporate, =etail, Institutional and >oot My Camp. M- t.so't S*st!$s is ioneer in "eli-ering rainings in different fields of technology and Management. At Multisoft we offer a wide spectrum of ser-ices in different fields like de-elopment, training, consulting on -arioustools, software and technologies addressing the growing needs of Industry.

    MultiSoft Systems offers its customers a fundamentally uni ue combination of attributes. heseinclude an e6clusi-e focus on the communications industry, leading inno-ation capabilities, anda broad set of products, technology and ser-ices a-ailable -ia a scalable global deli-ery model.Fe belie-e these three ingredients are essential to co%creation with our customers, and that theyare a key reason why MultiSoft has become a strategic supplier to the worldHs leadingcommunications e uipment manufacturers and ser-ice pro-iders. MultiSoft products and

    ser-ices span the entire communications ecosystem including user e6perience design andconsulting, research, de-elopment and testing for de-ices and infrastructure, as well asoperational and billing systems.M,LTISOFT SYSTEMS that pro-ides ser-ices in (ducation, "e-elopment and consultancyunder single umbrella. M&5 IS4; has completed successful $ years in industry and ha-ing

    11

  • 8/16/2019 Vehicle Information Sistem

    12/111

    own =esearch and "e-elopment centre along with state of art infrastructure. M&5 IS4;Systems has been incorporated in order to focus on and take ad-antage of its e6pertise in thedeli-ery of effecti-e high end customi ed training from dot to dimensions. 4ur companyGse6tensi-e capabilities come as a result of being the most preferred training centre for our

    principles.

    1-0C'm"#!y Hi*(%i*(t634

    • MultisoftSystems always belie-e in deli-ering best uality and affordable ser-ices.• hey are the best training institute in 'oida pro-ide training in all field whether it is

    Institutional training , corporate training or industrial training.• Multisoft also offer training for professionals who wants to enhance their skills in related

    domains.• Multisoft systems also focuses students who are looking for their final semester ? weeks

    summer training before completing their degree diploma to make them skillful enough toface the challenges in I industry. .

    1- C'm"#!y Hi6t'$y4

    M,LTISOFT Systems was established in )**) by a team of professionals from global consulting

    firms ha-ing background in engineering and management from eminent institutes like II Hs and IIMHs.

    It is product based and ser-ice based company which pro-ides the latest technologies by offering

    your company customi ed solutions designed specifically with your business goals in mind. Fe use

    pro-en architectural concepts to build systems that are scalable, fle6ible, reliable, and easy to support.

    4ur pro-en performance of incorporating information technology with imagination and creati-e

    solutions is always consistent with your corporate image and goals.

    eam of professionals from II IIM

    Senior people from Industry, Academia 1o-ernment SectorJ

    Speciali es in customi ed I raining on -arious software products.

    >outi ue (6ecuti-e Search Selection ;irm, with A' India co-erage

    D years of successful 3= operations with satisfied clients

    12

    http://www.multisoftsystems.com/index.php?ms=ms_ind_traininghttp://www.multisoftsystems.com/index.php?ms=ms_ind_traininghttp://www.multisoftsystems.com/corporate-training/http://www.multisoftsystems.com/6weekssummertraining.phphttp://www.multisoftsystems.com/6weekssummertraining.phphttp://www.multisoftsystems.com/corporate-training/http://www.multisoftsystems.com/6weekssummertraining.phphttp://www.multisoftsystems.com/6weekssummertraining.phphttp://www.multisoftsystems.com/index.php?ms=ms_ind_training

  • 8/16/2019 Vehicle Information Sistem

    13/111

    Consistent performer with long standing relationships with clients

    Senior Management brings in collecti-ely more than @* years of industry e6perience

    ;ollow consultati-e approach in alent Ac uisition rather than cookie cutter solutions

    ;ocus on middle and senior le-el positions, but also firmly into -olume hiring

    Approach is a combination of intelligent analysis, industry knowledge, defined selection process,

    sound judgment and effecti-e communication

    +%/ Pro"-ct 0 S!r&.c!s12

    +%/%+ Pro"-cts12

    Customi ed Software "e-elopment,(nterprise Application "e-elopment,Accounting Software"e-elopment,Android Software "e-elopment,Application "esign and "e-elopment .

    1- -0- Se$5i e634

    MultiSoft Systems is to combine global inno-ation, technology and communications engineering

    ser-ices into a set of broad ble offerings for e-ery stage of customersG go to market re uirements.

    Fith more than ),*** professionals worldwide who are e6clusi-ely focused on communications

    technology and ser-ices, MultiSoft is the premier strategic supplier of communications e6pertise

    in the industry.#.Computer raining, Coaching uitions.).Administration raining, >usiness Intelligence [email protected] Courses raining, Computer 'etworking raining+.Content Management Software raining

    ."atabase raining, (ngineering "esign raining, (nterprise raining?.(thical 3acking raining, 3ardware raining, Main;rame raining$.Microsoft raining, Middleware rainingE. Mobile "e-elopment raining#*.Multimedia "esign raining, 'etworking Cisco raining##.4perating System raining, 4racle raining#). rogramming 5anguages raining#@. roject Management Certification raining#+.=obotics raining, Software ools raining# .Software esting raining, Feb echnologies raining

    +%/%3%+Pro"-ct D!&! o($!nt1• Software "esign and "e-elopment.

    13

  • 8/16/2019 Vehicle Information Sistem

    14/111

    • 3ardware "esign and "e-elopment..

    +%/%3%3C!rt.'.cat.on :%

    +%4O-r M.ss.on12

    M,LTISOFT SYSTEMS en-isages strengthening its (ducation, I >usiness Consultancy

    base on industry scenario and technology de-elopment issues, de-eloping its consultancy

    capabilities, e6panding its contacts with -arious companies to promote e6change of inno-ations

    business methodologies, design of business process curricula and monitoring the I industry

    trends, country wide.

    +%4%+V.s.on12

    o be best in people business, con-erging our broad capabilities in uni ue ways to pro-ide

    consummate results for our clients and associates.

    +%4%3Ob5!ct.&!12

    utting our e6pertise to work for our clients in a manner that e6ceeds e6pectations and produces

    a relationship where the organi ations act as one K dri-en by a clear understanding of your

    strategic goals and objecti-es.

    14

  • 8/16/2019 Vehicle Information Sistem

    15/111

    +%6M- t.so't Partn!rs12

    It pro-ides design, consultancy and de-elopment skills to the worldHs leading communicationscompanies, including:• Many of the worldHs major global ser-ice pro-iders.

    CHAPTER23

    2.Profle o Problem Assigned:

    ;ollowing is the profile of problem that was assigned in this project:

    3%+ V!7.c ! In'or$at.on S*st!$12

    he roject entitled L8ehicle Information SystemL is a web%based application. he roblem was

    assigned to maintain the all order from the Customers and pro-ide all the facilities to the

    Customers. he Fhole rofile is in the hand of Administrator which maintain the"ata>ase. All

    15

  • 8/16/2019 Vehicle Information Sistem

    16/111

    Items are added by the Administrator when they are purchased by the "epartment .All records

    are deleted when they no re uired.In this project we ha-e used the Administrartor module to

    pro-ide the all ;unctions.

    he main aim of L8ehicle Information SystemL is to impro-e the ser-ices of Customers and-endors. It maintains the details of customer payments, product receipts, addition of new

    customers, products and also updating, deletion for the same. he primary features of the project

    entitled L8ehicle Information SystemL are high accuracy, design fle6ibility and easy a-ailability.

    And also it uses database tables =epresenting entities and relationships between entities.

    he central concept of the application is to allow the customer to shop -irtually using the Internet

    and allow customers to buy the items and articles of their desire from the store. he information

    pertaining to the products are stores on an =">MS at the ser-er side 0store2. he Ser-er processthe customers and the items are shipped to the address submitted by them. he application was

    designed into two modules first 4s for the customers who wish to buy the articles.Second is for

    the storekeepers who maintains and updates the information pertaining to the articles and those

    of the customers he end user of this product is a departmental store 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 -iew 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 -arious screens designed for -arious le-els of users. 4nce the authori ed personnel feed

    the rele-ant data into the system, se-eral reports could be generated as per the security .

    It maintains the details of customer payments, product receipts, addition of new customers,

    products and also updating, deletion for the same. It also stores the details of in-oices generated

    by customer and payments made by them with all ayments details.

    The website contains 2 sections:

    # Admin age

    ) Customer age

    A"$.n (a#!12

    16

  • 8/16/2019 Vehicle Information Sistem

    17/111

    In this section admin can do the registration customer and admin can also delete the records of

    customer as well admin can -iew the details of customer. admin can allot the username and

    password to customers.

    ,s!rs (a#!12 Customer and admin can login as gi-en by admin through mail. customer can

    see the details and ser-ices i.e the ser-ice,insurance and all other details related to their

    project.

    CHAPTER-3

    8%St-"* o' !9.st.n# s*st!$1

    he e6isting system was found to be inefficient in meeting the growing demands of population.

    It has following limitations:

    • It is limited to a single system.

    • It is less user%friendly.

    • It is ha-ing lots of manual work 0Manual system does not mean that you are working with

    pen and paper, it also include working on spread sheets and other simple softwareHs2.

    • he present system is -ery less secure.

    • It is unable to generate different kinds of report.

    • &ser must go to shop and order products.

    17

  • 8/16/2019 Vehicle Information Sistem

    18/111

    • It is difficult to identify the re uired product.

    • "escription of the product obtained only on manually.

    • Accuracy not guaranteed.

    'ot in reach of distant users.

    8%+Intro"-ct.on

    In this section we will discuss about already e6isting system of operation. In system study we first

    analy e the drawbacks of the e6isting system or shortcoming of the e6isting system. Fe study there are

    changes re uired in the system. >y system study we find following drawbacks in e6isting system.

    8%+%+Co$( .cat!"Searching for particular >rand or Shopping Site for different Customers and for different Clientsis

    difficult task. ro-ision of taking 4rder is not handled efficiently. So, it is -ery incon-enient for

    doctor and patient to take and gi-e online appointments.

    3.1.2Redundancy 1As data is maintained in different files and register, there is possibility that duplication data is stored

    thus wastage of storage space

    8%+%8T.$! Cons-$.n#1he system takes lot of time to compile all the gathered information at a single place.

    8%+%/R!cor" Mana#!$!nt1It is -ery tangible job in manual database system.

    8%+%4Inacc-rac*1Some time there may be chance of inaccuracy. (6isting system is not according to current search.

    3.1. Inconsiste

    ny 1

    18

  • 8/16/2019 Vehicle Information Sistem

    19/111

    In the e6isting system, there are no checks or constraints soJ the duplication may make the data inconsistent.

    8%+%:,na-t7or.;!" Acc!ss1

    here is no way to restrict unauthori ed access to the data e6cept putting the files under lock and key. "ue to

    abo-e reasons the change in the e6isting system is re uired for the change we ha-e to perform the

    feasibility study. he success of a system largely depends upon how accurately the problem is defined

    and in-estigated. &ntil, the problems are clearly defined and e-aluated, should we think about solutions.

    8%3

  • 8/16/2019 Vehicle Information Sistem

    20/111

    S*st!$R!>-.r!$!nts

    CHAPTER-4

    /%S*st!$ R!>-.r!$!nts1

    System Requi ement ana!ysis is the most im"o tant an# $un#amenta! sta%e in a

    & o'ect . (t is "e $o me# by the senio membe s o$ the team with in"uts $ om the

    custome ) the sa!es #e"a tment)ma *et su +eys an# #omain e,"e ts in the in#ust y.

    This in$o mation is then use# to "!an the basic " o'ect a"" oach an# to con#uct

    " o#uct $easibi!ity stu#y in the economica!) o"e ationa!) an# technica! a eas.

    D!'.n.n# S*st!$ R!>-.r!$!nts12 -nce the equi ement ana!ysis is #one the ne,t ste"

    is to c!ea !y #e ne an# #ocument the " o#uct equi ements an# %et them a"" o+e#

    $ om the custome o the ma *et ana!ysts. This is #one th ou%h .SRS So$twa e

    20

  • 8/16/2019 Vehicle Information Sistem

    21/111

    Requi ement S"eci cation #ocument which consists o$ a!! the " o#uct equi ements

    to be #esi%ne# an# #e+e!o"e# #u in% the " o'ect !i$e cyc!e.(t #e nes " o'ect %oa!s

    into #e ne# $unctions an# o"e ation o$ the inten#e# a""!ication. /na!y es en# use

    in$o mation nee#s.

    /%+Pro"-ct D!'.n.t.on12

    /%+%+Prob !$ Stat!$!nt1

    he e6isted system or tool ha-e some constraints so in order to o-ercome that constraints there is

    a need to enhance that tool. he problem is that the pre-ious tool re uires more manual work. In

    other words, the complete code is not auto generated which generate difficulties for the customer

    or the user.So the new System will remo-e all the problems

    he de-elopment of this new system contains the following acti-ities, which try to de-elop on%

    line application by keeping the entire process in the -iew of database integration approach.

    • Secure registration and profile management facilities for Customers.

    • >rowsing through the-ehicle portal to see the -ehicles that are there in each category of

    -ehicles and -ehicle parts etc.

    • )+ hours deli-ery systems for the Customers.

    • Customers should be able to mail the administrator about the items they would like to

    see in the -ehicle portal.

    • Secured mechanism for checking out from the Showroom0Credit card -erification

    mechanism 2

    • &pdates to customers about the =ecent products in the showroom.

    /%+%3F-nct.ons to b! (ro&."!"1

    21

  • 8/16/2019 Vehicle Information Sistem

    22/111

    Social and economic factor: a wa-e of social and economic changes often follows in the wake of

    the new technology. 'ew opportunities may arise to impro-e on a production process or to do

    something that was not pre-iously possible.

    #. he main function of 78(3IC5( I';4=MA I4' S

    3ard "isk )* 1>

    ;"" #.++ M>

    22

  • 8/16/2019 Vehicle Information Sistem

    23/111

    Monitor #+ inch

    Mouse @ button scroll

    C" "ri-e ) N

    /eyboard #*$ /eys

    !.1.!.2$o t#are $%ecifcation

    4perating System Findows )**D *$ N

    5anguages ja-a )0(!>).*, !">C, !S , Ser-let, !a-a

    Mail2

    ;ront (nd 3 M5, !a-aScript,CSSlatform !)((

    Feb Ser-ers Feb 5ogic#*.@>ack(nd 4racle>rowser rograms Internet e6plorer 1oogle Crome

    CHAPTER24

    4%FEASI?ILITY ANALYSIS1;easibility Study is used to determine and document a projectHs -iability. his study helps for decision making, that is whether to continue with project or not. ;easibility Study is likeidentifying the alternati-e solutions and finding the best among them.

    here are reasons for doing feasibility study, they are as follows:

    23

  • 8/16/2019 Vehicle Information Sistem

    24/111

    • 4perational ;easibility• echnical ;easibility• (conomic ;easibility

    4%+ O(!rat.ona F!as.b. .t*1

    Any project proposed can be beneficial only if it satisfies the user ueries. ;ollowing aresome points understanding the operational feasibility of the system:

    • System will gi-e good support for proper organi ation of generated logs.• System uses easy to change configuration files.• System will ha-e a file which will instruct about the steps to be followed to run a script.• System will gi-e the option to run multiple scripts and records combined traces of all the

    e-ents.

    4%3 T!c7n.ca F!as.b. .t*1

    he system is well supported with the e6isting resources of the organi ation. he technicalissues generally raised during the in-estigation are discussed below:

    • roposed system needs some re uirements from system department. he organi ationhas a -ery well integrated system department and has all the technology needed tode-elop the proposed system.

    4%8 Econo$.c F!as.b. .t*1

    After detailed analysis it was found that, it is better to de-elop a new system, as it would becost effecti-e for the organi ation. he financial and economic issues raised during

    preliminary in-estigation are answered below:

    • 1enerating the tool which can sa-e the cost and time of the organi ation.• he cost related to project is associated with each and e-ery acti-ity in-ol-ed in the project.

    24

  • 8/16/2019 Vehicle Information Sistem

    25/111

    CHAPTER-6

    6%PRO@ECT PLAN1

    25

  • 8/16/2019 Vehicle Information Sistem

    26/111

    6%+ T!a$ Str-ct-r!1 he proper de-elopment of a project depends upon the whole eam

    in-ol-ed in a roject. here are number of parts or fields in which a team is di-ided. he whole

    team is di-ided into -arious le-els i.e. from upper le-el to lower le-el. he proper coordination is

    essential for the de-elopment of each phase of the project. >ecause it is the main factor that leads

    to the successful growth of the project. (ach and e-ery member of the team is allocated to its

    specific task. At each le-el some of the goals ha-e to be attained.

    >asically, the general structure of a project team is as shown below :

    F.#16%+

    So a well organi ed team must include following members in a team at different le-els :

    At Low!r L!&! 1

    • "esigners rogrammers

    26

  • 8/16/2019 Vehicle Information Sistem

    27/111

    • Analysts

    • esters

    At M."" ! L!&! 1

    • roduct roject Manager

    • >usiness Analysts Manager 5eader

    Software "e-elopment Manager 5eader

    • Ouality Analysis Manager 5eader

    • Assistant

    At ,((!r L!&! 1

    • 3ead of "e-elopment 0"irector2

    27

  • 8/16/2019 Vehicle Information Sistem

    28/111

    6%3DEVELOPMENT SCHED,LE1

    here should be a specific schedule under which -arious aspects of this project are taken intoconsideration. his de-elopment schedule is as follows:

    $r. &o. TA$' &A() *+RATIO& 1. , Interacti-e *e-elo%ment 80 #ays

    uild 1 / *e-elo%ment 40 #ays

    e+e!o"ment 25 #ays nit Test 10 #ays an#o+e to Test 5 #ays

    uild 2 0 *e-elo%ment 40 #ayse+e!o"ment 25 #ays

    nit Test 10 #ays an#o+e to Test 5 #ays

    2. 1 Interacti-e Test 80 #ays uild 1 0 Test 40 #ays

    Test &!annin% 5 #ays Test /na!ysis an# esi%n 20 #ays Test ,ecution 10 #ays

    Test om"!etion 5 #ays• uild 2 / Test 40 #ays

    Test &!annin% 5 #ays Test /na!ysis an# esi%n 20 #ays Test ,ecution 10 #ays

    Test om"!etion 4 #aysTab !16%3

    6%8Pro#ra$$.n# Lan#-a#!s an" D!&! o($!nt Too s1

    ;ollowing are the Pro#ra$$.n# Lan#-a#!s that are used in the de-elopment.

    28

  • 8/16/2019 Vehicle Information Sistem

    29/111

    @AVA

    6%8%+OVERVIEW OF !V!:"!a-a is a simple, scalable object oriented, general purpose programming language with amultitude of uses . !a-a differs from other programming languages in a couple of significantways. he following sections describe the most important differences.

    #. latform independence

    ).4bject orientation

    @. he !a-a A I

    !a-a is a programming language and a platform. latformAny hardware or software en-ironment

    in which a program runs, known as a platform. Since !a-a has its own =untime (n-ironment

    0!=(2 and A I, it is called platform.Fith the help of ja-a we can de-elop e-erything from simple

    web animations to high%end business applications that program hand%held de-ices,cross

    platform ser-er applications, microwa-es and more. @a&a is a mainly de-eloped by Sun

    Microsystems and released in #EE as a core component of SunHs !a-a platform. he language

    deri-es much of its synta6 from C and CPP but has a simpler object model and fewer low%le-el

    facilities. !a-a applications are typically compiled to byte code which can run on any !a-a -irtualmachine 0!8M2 regardless of computer architecture

    29

  • 8/16/2019 Vehicle Information Sistem

    30/111

    Fig:6.3

    6%8%+%+

  • 8/16/2019 Vehicle Information Sistem

    31/111

  • 8/16/2019 Vehicle Information Sistem

    32/111

    he team gathered to choose a new name. he suggested words were LdynamicL,

    Lre-olutionary9, LSilkL, LjoltL, L"'AL etc. hey wanted something that reflected the essence of

    the technology: re-olutionary, dynamic, li-ely, cool, uni ue, and easy to spell and fun to say.

    According to !ames 1osling L!a-a was one of the top choices along with SilkL.

    +B !a-a is an island of Indonesia where first coffee was produced 0called ja-a coffee2.

    3B 'otice that !a-a is just a name not an acronym.

    8B 4riginally de-eloped by !ames 1osling at Sun Microsystems 0which is now a subsidiary of

    4racle Corporation2 and released in #EE .

    /B In #EE , ime maga ine called !a-a one of the en >est roducts of #EE .

    2 !"/ #.* released in0!anuary )@, #EE?2.

    6%8%+%6@a&a V!rs.on H.stor*12

    The e a e many 'a+a +e sions that has been e!ease#.

    /!"ha an# eta 1995;

    1.0 23 # an) 1996;

    1.1 19th

  • 8/16/2019 Vehicle Information Sistem

    33/111

    6%8%+%: F!at-r!s o' @a&a12

    +B Simple3B 4bject%4riented8B latform Independent

    /B Secured4B =obust6B Architecture 'eutral:B ortable

    B 3igh erformanceB "istributed

    + BMulti%threaded

    6%8%+%:%+ S.$( !12

    According to Sun, !a-a language is simple because:

    #2 synta6 is based on CPP 0so easier for programmers to learn it after CPP2.)2 remo-ed many confusing and or rarely%used features e.g., e6plicit pointers, operator

    o-erloading etc.@2 'o need to remo-e unreferenced objects because there is Automatic 1arbage Collection

    in ja-a.

    6%8%+%:%3 Ob5!ct2or.!nt!"12

    4bject%oriented means we organi e our software as a combination of different types of

    objects that incorporates both data and beha-iour.4bject%oriented programming044 s2 is a

    methodology that simplify software de-elopment and maintenance by pro-iding some rules.

    ?as.c conc!(ts o' OOPs ar!1

    1 -b'ect2 !ass3 (nhe itance! &o!ymo "hism

    /bst action nca"su!ation

    6%8%+%:%8 P at'or$ In"!(!n"!nt12

    33

  • 8/16/2019 Vehicle Information Sistem

    34/111

    A platform is the hardware or software en-ironment in which a program runs. here are two

    types of platforms software%based and hardware%based. !a-a pro-ides software%based

    platform. he !a-a platform differs from most other platforms in the sense that itHs a

    software%based platform that runs on top of other hardware%based platforms.It has two

    components:

    #2 =untime (n-ironment)2 A I0Application rogramming Interface2

    Fig:6.4

    ja-a is platform independent !a-a code can be run on multiple platforms

    e.gFindows,5inu6,SunSolaris,Mac 4S etc. !a-a code is compiled by the compiler and

    con-erted into bytecode. hisbytecode is a platform independent code because it can be run

    on multiple platforms i.e. Frite 4nce and =un Anywhere0F4=A2.

    6%8%+%:%/ S!c-r!"12

    a+a is secu e# because:

    34

  • 8/16/2019 Vehicle Information Sistem

    35/111

    +B >o e,"!icit "ointe3B & o% ams un insi#e +i tua! machine san#bo,.

    How 5a&a .s s!c-r!"

    C ass oa"!r /##s secu ity by se"a atin% the "ac*a%e $o the c!asses o$ the !oca! !esystem $ om those that a e im"o te# $ om netwo * sou ces.

    ?*t!co"! V!r.'.!r chec*s the co#e $ a%ments $o i!!e%a! co#e that can +io!ate access

    i%ht to ob'ects.

    S!c-r.t* Mana#!r #ete mines what esou ces a c!ass can access such as ea#in%

    an# w itin% to the !oca! #is*. These secu ity a e " o+i#e# by 'a+a !an%ua%e. Some

    secu ity can a!so be " o+i#e# by a""!ication #e+e!o"e th ou%hSS?) //S)c y"to% a"hy etc.

    Fig:6.5Fig:6.6

    35

  • 8/16/2019 Vehicle Information Sistem

    36/111

  • 8/16/2019 Vehicle Information Sistem

    37/111

    information management. In general, a ser-er reliably manages a large amount of data in a

    multiuser en-ironment so that many users can concurrently access the same data. All this is

    accomplished while deli-ering high performance. A database ser-er also pre-ents unauthori ed

    access and pro-ides efficient solutions for failure reco-ery. 4racle "atabase is the first database

    designed for enterprise grid computing, the most fle6ible and cost effecti-e way to manage

    6%8%3%+C .!ntGS!r&!r Arc7.t!ct-r!12

    #2 Multiprocessing uses more than one processor for a set of related jobs.)2 "istributed processing reduces the load on a single processor by allowing different

    processors to concentrate on a subset of related tasks, thus impro-ing the performance

    and capabilities of the system as a whole.

    An 4racle database system can easily take ad-antage of distributed processing by using its

    client ser-er architecture. In this architecture, the database system is di-ided into two parts: a

    front%end or a client, and a back%end or a ser-er .

    +BT7! C .!nt12

    The c!ient is a #atabase a""!ication that initiates a equest $o an o"e ation to be

    "e $o me# on the #atabase se +e . (t equests) " ocesses) an# " esents #ata

    mana%e# by the se +e . The c!ient wo *station can be o"timi e# $o its 'ob.

  • 8/16/2019 Vehicle Information Sistem

    38/111

    SO5 0pronounced S(O&(52 is the programming language that defines and manipulates the

    database. SO5 databases are relational databases, which means that data is stored in a set of

    simple relations.

    6%8%3%3%+S L Stat!$!nts

    All operations on the information in an 4racle database are performed using SO5 statements. A

    SO5 statement is a string of SO5 te6t. A statement must be the e ui-alent of a complete SO5

    sentence, as in:

    SELECT ast na$! "!(art$!nt ." FROM !$( o*!!sJ

    4nly a complete SO5 statement can run successfully. A sentence fragment, such as the

    following, generates an error indicating that more te6t is re uired:

    SELECT ast na$!

    6%8%3%3%3 S L Stat!$!nts

    A SO5 statement can be thought of as a -ery simple, but powerful, computer program orinstruction. SO5 statements are di-ided into the following categories:

    • "ata "efinition 5anguage 0""52 Statements• "ata Manipulation 5anguage 0"M52 Statements• ransaction Control Statements• Session Control Statements• System Control Statements• (mbedded SO5 Statements

    1; Data D!'.n.t.on Lan#-a#! DDLB Stat!$!nts

    hese statements create, alter, maintain, and drop schema objects. ""5 statements also include

    statements that permit a user to grant other users the pri-ileges to access the database and

    specific objects within the database.

    3BData Man.(- at.on Lan#-a#! DMLB Stat!$!nts

    38

    http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60370http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60375http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60378http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60381http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60384http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60387http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60370http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60370http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60375http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60378http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60381http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60384http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60387http://docs.oracle.com/cd/B19306_01/server.102/b14220/intro.htm#i60370

  • 8/16/2019 Vehicle Information Sistem

    39/111

    hese statements manipulate data. ;or e6ample, uerying, inserting, updating, and deleting rows

    of a table are all "M5 operations. he most common SO5 statement is the SELECT statement,

    which retrie-es data from the database. 5ocking a table or -iew and e6amining the e6ecution

    plan of a SO5 statement are also "M5 operations.

    8BTransact.on Contro Stat!$!nts

    hese statements manage the changes made by "M5 statements. hey enable a user to group

    changes into logical transactions. (6amples include COMMIT , ROLLBACK , and SAVEPOINT .

    /BS!ss.on Contro Stat!$!nts

    hese statements let a user control the properties of the current session, including enabling and

    disabling roles and changing language settings. he two session control statements are

    ALTERSESSION and SETROLE .

    4BS*st!$ Contro Stat!$!nts

    hese statements change the properties of the 4racle database instance. he only system control

    statement is ALTERSYSTEM . It lets users change settings, such as the minimum number of shared

    ser-ers, kill a session, and perform other tasks.

    6BE$b!""!" S L Stat!$!nts

    hese statements incorporate ""5, "M5, and transaction control statements in a procedural

    language program, such as those used with the 4racle precompilers. (6amples include OPEN ,

    CLOSE , FETCH , and EXECUTE .

    6%8%3%3%8Cr!at.n# a Tab !12

    he simplified synta6 for the C=(A ( A>5( statement is as follows:

    R /T T/ ? tab!eFname co!umnFname ty"e G ->STR/(>T const aintF#e$

  • 8/16/2019 Vehicle Information Sistem

    40/111

    6%8%3%8 DATA?ASE DESI)N

    / #atabase is an o %ani e# mechanism that has the ca"abi!ity o$ sto in% in$o mation

    th ou%h which a use can et ie+e sto e# in$o mation in an eCecti+e an# eIcient

    manne . The #ata is the "u "ose o$ any #atabase an# must be " otecte#. The

    #atabase #esi%n is a two !e+e! " ocess.

    (n the st ste") use equi ements a e %athe e# to%ethe an# a #atabase is

    #esi%ne# which wi!! meet these equi ements as c!ea !y as "ossib!e. This ste" is

    ca!!e# (n$o mation ?e+e! esi%n an# it is ta*en in#e"en#ent o$ any in#i+i#ua! =S.

    (n the secon# ste") this (n$o mation !e+e! #esi%n is t ans$e e# into a #esi%n $o the

    s"eci c =S that wi!! be use# to im"!ement the system in question. This ste" is

    ca!!e# &hysica! ?e+e! esi%n) conce ne# with the cha acte istics o$ the s"eci c

    =S that wi!! be use#. / #atabase #esi%n uns "a a!!e! with the system #esi%n.

    The o %ani ation o$ the #ata in the #atabase is aime# to achie+e the $o!!owin% two

    ma'o ob'ecti+es.

    ata (nte% ityata in#e"en#ence

    >o ma!i ation is the " ocess o$ #ecom"osin% the att ibutes in an a""!ication)

    which esu!ts in a set o$ tab!es with +e y sim"!e st uctu e. The "u "ose o$

    no ma!i ation is to ma*e tab!es as sim"!e as "ossib!e.

    >o ma!i ation is ca ie# out in this system $o the $o!!owin% easons.

    To st uctu e the #ata so that the e is no e"etition o$ #ata ) this he!"s insa+in%.

    To "e mit sim"!e et ie+a! o$ #ata in es"onse to que y an# e"o t

    equest.

    To sim"!i$y the maintenance o$ the #ata th ou%h u"#ates) inse tions)

    e!etions.

    40

  • 8/16/2019 Vehicle Information Sistem

    41/111

    To e#uce the nee# to est uctu e o eo %ani e #ata which new

    a""!ication

    Requi ements a ise.

    6%8%3%8%+DATABASE TABLE DESIGN:-

    1.+$)R 4O5I& TA 4)

    3%NE

  • 8/16/2019 Vehicle Information Sistem

    42/111

    8%VEHICLE TA?LE

    /%,SER2DETAILS TA?LE

    42

  • 8/16/2019 Vehicle Information Sistem

    43/111

    .3.3 OVERVIE< OF HTML12

    3 M5 is a language for describing web pages.it stands for H yper T e6t M arkup L anguage.

    3 M5 is a $ark-( language.A markup language is a set of markup ta#s%3 M5 is why called

    markup language because it has e6tra features for designing a web pages like displaying

    images,Audio,8ideos etc.3 M5 is not a programming language, it is a markup language.8arious

    tags are used to describe the page of html. hese tags ha-e different functionality for designing a

    web application.3 M5 is popular language because it is &ser ;riendly.

    6%8%8%+F!at-r!s o' HTML12

    #.(asy to understand and user friendly.

    ).Can design a web application easily because different tags are used which ha-e betterdifferent functionality to design a page.

    6%8%8%3HTML E !$!nts12

    43

  • 8/16/2019 Vehicle Information Sistem

    44/111

    In 3 M5, most elements are written with a start tag 0e.g. QpR2 and an end tag 0e.g. Q pR2, withthe content in between:

    QpR his is a paragraph. Q pR

    6%8%8%8HTML Ta#s12

    3 M5 markup tags are usually called 3 M5 tags.

    • 3 M5 tags are keywords 0tag names2 surrounded by an# ! brack!ts like QhtmlR

    • 3 M5 tags normally co$! .n (a.rs like QpR and Q pR

    • he first tag in a pair is the start ta# the second tag is the !n" ta#

    he end tag is written like the start tag, with a s as7 before the tag name• Start and end tags are also called o(!n.n# ta#s and c os.n# ta#s

    QtagnameR content Q tagnameR

    Ta#s Description

    Defines a comment

    Defines the document type

    Defines a hyperlink

    Defines an a re iation

    "ot supported in #T$%&. 'se instead.

    Defines an acronym

    Defines contact information for the author(o)ner of a document

    "ot supported in #T$%&. 'se instead.Defines an em edded applet

    Defines an area inside an ima+e-map

    Defines an article

    Defines sound content

    44

    http://www.w3schools.com/tags/tag_comment.asphttp://www.w3schools.com/tags/tag_doctype.asphttp://www.w3schools.com/tags/tag_a.asphttp://www.w3schools.com/tags/tag_abbr.asphttp://www.w3schools.com/tags/tag_acronym.asphttp://www.w3schools.com/tags/tag_address.asphttp://www.w3schools.com/tags/tag_applet.asphttp://www.w3schools.com/tags/tag_area.asphttp://www.w3schools.com/tags/tag_article.asphttp://www.w3schools.com/tags/tag_audio.asphttp://www.w3schools.com/tags/tag_comment.asphttp://www.w3schools.com/tags/tag_doctype.asphttp://www.w3schools.com/tags/tag_a.asphttp://www.w3schools.com/tags/tag_abbr.asphttp://www.w3schools.com/tags/tag_acronym.asphttp://www.w3schools.com/tags/tag_address.asphttp://www.w3schools.com/tags/tag_applet.asphttp://www.w3schools.com/tags/tag_area.asphttp://www.w3schools.com/tags/tag_article.asphttp://www.w3schools.com/tags/tag_audio.asp

  • 8/16/2019 Vehicle Information Sistem

    45/111

    < > Defines old te,t

    Defines a piece of computer code

    pecifies column properties for each column )ithin a element

    pecifies a +roup of one or more columns in a ta le for formattin+

    Defines a description( alue of a term in a description list

    Defines te,t that has een deleted from a document

    Defines additional details that the user can ie) or hide

    Defines a dialo+ o, or )indo)

    "ot supported in #T$%&. 'se instead.

    Defines a directory list

    Defines a section in a document

    Defines a description list

    Defines a term(name in a description list

    Defines emphasi ed te,t

    "ot supported in #T$%&. 'se C instead.

    Defines font/ color/ and si e for te,t

    Defines a footer for a document or section

    Defines an #T$% form for user input

    "ot supported in #T$%&.

    Defines a )indo) 0a frame1 in a frameset

    "ot supported in #T$%&.

    Defines a set of frames

    to Defines #T$% headin+s

    Defines information a out the document

    Defines a header for a document or section

    Defines a thematic chan+e in the content

    45

    http://www.w3schools.com/tags/tag_b.asphttp://www.w3schools.com/tags/tag_code.asphttp://www.w3schools.com/tags/tag_col.asphttp://www.w3schools.com/tags/tag_colgroup.asphttp://www.w3schools.com/tags/tag_dd.asphttp://www.w3schools.com/tags/tag_del.asphttp://www.w3schools.com/tags/tag_details.asphttp://www.w3schools.com/tags/tag_dialog.asphttp://www.w3schools.com/tags/tag_dir.asphttp://www.w3schools.com/tags/tag_div.asphttp://www.w3schools.com/tags/tag_dt.asphttp://www.w3schools.com/tags/tag_em.asphttp://www.w3schools.com/tags/tag_font.asphttp://www.w3schools.com/tags/tag_footer.asphttp://www.w3schools.com/tags/tag_form.asphttp://www.w3schools.com/tags/tag_frame.asphttp://www.w3schools.com/tags/tag_frameset.asphttp://www.w3schools.com/tags/tag_hn.asphttp://www.w3schools.com/tags/tag_head.asphttp://www.w3schools.com/tags/tag_header.asphttp://www.w3schools.com/tags/tag_hr.asphttp://www.w3schools.com/tags/tag_b.asphttp://www.w3schools.com/tags/tag_code.asphttp://www.w3schools.com/tags/tag_col.asphttp://www.w3schools.com/tags/tag_colgroup.asphttp://www.w3schools.com/tags/tag_dd.asphttp://www.w3schools.com/tags/tag_del.asphttp://www.w3schools.com/tags/tag_details.asphttp://www.w3schools.com/tags/tag_dialog.asphttp://www.w3schools.com/tags/tag_dir.asphttp://www.w3schools.com/tags/tag_div.asphttp://www.w3schools.com/tags/tag_dt.asphttp://www.w3schools.com/tags/tag_em.asphttp://www.w3schools.com/tags/tag_font.asphttp://www.w3schools.com/tags/tag_footer.asphttp://www.w3schools.com/tags/tag_form.asphttp://www.w3schools.com/tags/tag_frame.asphttp://www.w3schools.com/tags/tag_frameset.asphttp://www.w3schools.com/tags/tag_hn.asphttp://www.w3schools.com/tags/tag_head.asphttp://www.w3schools.com/tags/tag_header.asphttp://www.w3schools.com/tags/tag_hr.asp

  • 8/16/2019 Vehicle Information Sistem

    46/111

    Defines the root of an #T$% document

    Defines a part of te,t in an alternate oice or mood

    Defines an inline frame

    Defines an ima+e

    Defines an input control

    Defines a list item

    Defines metadata a out an #T$% document

    Defines a scalar measurement )ithin a kno)n ran+e 0a +au+e1

    Defines a para+raph

    Defines a parameter for an o *ect

    Defines preformatted te,t

    4epresents the pro+ress of a task

    Defines a drop-do)n list

    Defines smaller te,t

    Defines multiple media resources for media elements 0< ideo> and

    1

    Defines a section in a document

    "ot supported in #T$%&. 'se instead.

    Defines strikethrou+h te,t

    Defines important te,t

    Defines style information for a document

    Defines su scripted te,t

    Table:6.7

    46

    http://www.w3schools.com/tags/tag_html.asphttp://www.w3schools.com/tags/tag_i.asphttp://www.w3schools.com/tags/tag_iframe.asphttp://www.w3schools.com/tags/tag_img.asphttp://www.w3schools.com/tags/tag_input.asphttp://www.w3schools.com/tags/tag_li.asphttp://www.w3schools.com/tags/tag_meta.asphttp://www.w3schools.com/tags/tag_meter.asphttp://www.w3schools.com/tags/tag_p.asphttp://www.w3schools.com/tags/tag_param.asphttp://www.w3schools.com/tags/tag_pre.asphttp://www.w3schools.com/tags/tag_progress.asphttp://www.w3schools.com/tags/tag_select.asphttp://www.w3schools.com/tags/tag_small.asphttp://www.w3schools.com/tags/tag_source.asphttp://www.w3schools.com/tags/tag_span.asphttp://www.w3schools.com/tags/tag_strike.asphttp://www.w3schools.com/tags/tag_strong.asphttp://www.w3schools.com/tags/tag_style.asphttp://www.w3schools.com/tags/tag_sub.asphttp://www.w3schools.com/tags/tag_html.asphttp://www.w3schools.com/tags/tag_i.asphttp://www.w3schools.com/tags/tag_iframe.asphttp://www.w3schools.com/tags/tag_img.asphttp://www.w3schools.com/tags/tag_input.asphttp://www.w3schools.com/tags/tag_li.asphttp://www.w3schools.com/tags/tag_meta.asphttp://www.w3schools.com/tags/tag_meter.asphttp://www.w3schools.com/tags/tag_p.asphttp://www.w3schools.com/tags/tag_param.asphttp://www.w3schools.com/tags/tag_pre.asphttp://www.w3schools.com/tags/tag_progress.asphttp://www.w3schools.com/tags/tag_select.asphttp://www.w3schools.com/tags/tag_small.asphttp://www.w3schools.com/tags/tag_source.asphttp://www.w3schools.com/tags/tag_span.asphttp://www.w3schools.com/tags/tag_strike.asphttp://www.w3schools.com/tags/tag_strong.asphttp://www.w3schools.com/tags/tag_style.asphttp://www.w3schools.com/tags/tag_sub.asp

  • 8/16/2019 Vehicle Information Sistem

    47/111

    6%8%8%/ HTML Tab !s12

    ables consist of =ows and Columns. Mainly tables are used to store a data in a abular

    manner.Fith the help of tables we can record the database permanent for future

    references. ables ha-e their own format for storing the data. ables are defined with the tab !

    tag.

    #2A table is di-ided into rows with the tr tag. 0tr stands for table row2

    )2A row is di-ided into data cells with the t" tag. 0td stands for table data2

    @2A row can also be di-ided into headings with the t7 tag. 0th stands for table heading2

    +2 heQtdR elements are the data containers in the table.

    2 heQtdR elements can contain all sorts of 3 M5 elements like te6t, images, lists, other tables,

    etc.

    ?2 he width of a table can be defined using CSS.

    6%8%8%/%+E9a$( !12

    Qtable style Lwidth:@**p6LRQtrRQtdR!illQ tdR

    QtdRSmithQ tdR

    QtdR *Q tdRQ trR

    QtrRQtdR(-eQ tdR

    QtdR!acksonQ tdR

    47

  • 8/16/2019 Vehicle Information Sistem

    48/111

    QtdRE+Q tdRQ trR

    Q tableR

    6%8%8%4 TA)S DESCRIPTION12

    Ta# D!scr.(t.onQtableR "efines a tableQthR "efines a header cell in a tableQtrR "efines a row in a tableQtdR "efines a cell in a tableQcaptionR "efines a table captionQcolgroupR Specifies a group of one or more columns in a table forformattingQcolR Specifies column properties for each column within aQcolgroupRelementQtheadR 1roups the header content in a tableQtbodyR 1roups the body content in a tableQtfootR 1roups the footer content in a table

    Tab !16%

    6%8%8%6HTML For$s12

    3 M5 forms are used to pass data to a ser-er.

    An 3 M5 form can contain input elements like te6t fields, checkbo6es, radio%buttons, submit

    buttons and more. A form can also contain select lists, te6tarea, fieldset, legend, and label

    elements.

    he QformR tag is used to create an 3 M5 form:

    QformRinput elementsQ formR

    48

    http://www.w3schools.com/tags/tag_th.asphttp://www.w3schools.com/tags/tag_tr.asphttp://www.w3schools.com/tags/tag_td.asphttp://www.w3schools.com/tags/tag_caption.asphttp://www.w3schools.com/tags/tag_colgroup.asphttp://www.w3schools.com/tags/tag_colgroup.asphttp://www.w3schools.com/tags/tag_col.asphttp://www.w3schools.com/tags/tag_col.asphttp://www.w3schools.com/tags/tag_thead.asphttp://www.w3schools.com/tags/tag_tbody.asphttp://www.w3schools.com/tags/tag_tfoot.asphttp://www.w3schools.com/tags/tag_tfoot.asphttp://www.w3schools.com/tags/tag_th.asphttp://www.w3schools.com/tags/tag_tr.asphttp://www.w3schools.com/tags/tag_td.asphttp://www.w3schools.com/tags/tag_caption.asphttp://www.w3schools.com/tags/tag_colgroup.asphttp://www.w3schools.com/tags/tag_col.asphttp://www.w3schools.com/tags/tag_thead.asphttp://www.w3schools.com/tags/tag_tbody.asphttp://www.w3schools.com/tags/tag_tfoot.asp

  • 8/16/2019 Vehicle Information Sistem

    49/111

    6%8%8%6%+HTML For$s 2 T7! In(-t E !$!nt

    he most important form element is the QinputR element. he QinputR element is used to select

    user information.AnQinputR element can -ary in many ways, depending on the type attribute. An

    QinputR element can be of type te6t field, checkbo6, password, radio button, submit button, and

    more. he most common input types are described below.

    6%8%8%6%3T!9t F.! "s12

    Qinput type Lte6tLR defines a one%line input field that a user can enter te6t into:

    QformR;irst name: Qinput type Lte6tL name LfirstnameLRQbrR5ast name: Qinput type Lte6tL name LlastnameLRQ formR

    3ow the 3 M5 code abo-e looks in a browser:

    ;irst name:

    5ast name:

    Not!1 he form itself is not -isible. Also note that the default width of a te6t field is )*characters.

    6%8%8%6%8 Passwor" F.! "12

    Qinput type LpasswordLR defines a password field:

    QformRassword: Qinput type LpasswordL name LpwdLR

    Q formR

    3ow the 3 M5 code abo-e looks in a browser:

    49

  • 8/16/2019 Vehicle Information Sistem

    50/111

    Passwor"1

    Not!1 he characters in a password field are masked 0shown as asterisks or circles2.

    6%8%8%6%/ Ra".o ?-ttons12

    Qinput type LradioLR defines a radio button. =adio buttons let a user select 4'5< 4'( of alimited number of choices:

    QformRQinput type LradioL name Lse6L -alue LmaleLRMaleQbrRQinput type LradioL name Lse6L -alue LfemaleLR;emaleQ formR

    3ow the 3 M5 code abo-e looks in a browser:

    Male

    ;emale

    6%8%8%6%4 C7!ckbo9!s12

    Qinput type Lcheckbo6LR defines a checkbo6. Checkbo6es let a user select T(=4 or M4=(options of a limited number of choices.

    QformRQinput type Lcheckbo6L name L-ehicleL -alue L>ikeLRI ha-e a bikeQbrRQinput type Lcheckbo6L name L-ehicleL -alue LCarLRI ha-e a carQ formR

    3ow the 3 M5 code abo-e looks in a browser:

    I ha-e a bike

    I ha-e a car

    50

  • 8/16/2019 Vehicle Information Sistem

    51/111

    6%8%8%6%6

    S-b$.t ?-tton12

    Qinput type LsubmitLR defines a submit button.

    A submit button is used to send form data to a ser-er. he data is sent to the page specified in theformHs action attribute. he file defined in the action attribute usually does something with therecei-ed input:

    Qform name LinputL action LdemoUformUaction.aspL method LgetLR&sername: Qinput type Lte6tL name LuserLR

    Qinput type LsubmitL -alue LSubmitLRQ formR

    6%8%/OVERVIE< OF CSS12

    6ascading $tyle $7eets 6$$ ; is a sty!e sheet !an%ua%e use# $o #esc ibin% the

    !oo* an# $o mattin% o$ a #ocument w itten in a ma *u" !an%ua%e . @hi!e most o$ten

    use# to sty!e web "a%es an# inte $aces w itten in T=? an# J T=? ) the !an%ua%e

    can be a""!ie# to any *in# o$ J=? #ocument) inc!u#in% "!ain J=? ) SKL an# J ? .

    SS is a co ne stone s"eci cation o$ the web an# a!most a!! web "a%es use SSsty!e sheets to #esc ibe thei " esentation.

    SS is #esi%ne# " ima i!y to enab!e the se"a ation o$ #ocument content $ om

    #ocument " esentation) inc!u#in% e!ements such as the !ayout ) co!o s ) an# $onts .G1H

    This se"a ation can im" o+e content accessibi!ity ) " o+i#e mo e Me,ibi!ity an#

    cont o! in the s"eci cation o$ " esentation cha acte istics) enab!e mu!ti"!e "a%es to

    sha e $o mattin%) an# e#uce com"!e,ity an# e"etition in the st uctu a! content

    such as by a!!owin% $o tab!e!ess web #esi%n ;. SS can a!so a!!ow the same ma *u"

    "a%e to be " esente# in #iCe ent sty!es $o #iCe ent en#e in% metho#s) such as on

    sc een) in " int) by +oice when ea# out by a s"eech base# b owse o sc een

    ea#e ; an# on ai!!e base# ) tacti!e #e+ices.

    (t can a!so be use# to a!!ow the web "a%e to #is"!ay #iCe ent!y

    #e"en#in% on the sc een si e o #e+ice on which it is bein% +iewe#. @hi!e the

    51

    http://en.wikipedia.org/wiki/Style_sheet_languagehttp://en.wikipedia.org/wiki/Presentation_semanticshttp://en.wikipedia.org/wiki/Markup_languagehttp://en.wikipedia.org/wiki/Web_pagehttp://en.wikipedia.org/wiki/Interface_(computing)http://en.wikipedia.org/wiki/HTMLhttp://en.wikipedia.org/wiki/XHTMLhttp://en.wikipedia.org/wiki/XMLhttp://en.wikipedia.org/wiki/Plain_Old_XMLhttp://en.wikipedia.org/wiki/Scalable_Vector_Graphicshttp://en.wikipedia.org/wiki/XULhttp://en.wikipedia.org/wiki/The_webhttp://en.wikipedia.org/wiki/Page_layouthttp://en.wikipedia.org/wiki/Colorhttp://en.wikipedia.org/wiki/Typefacehttp://en.wikipedia.org/wiki/Cascading_Style_Sheets#cite_note-1http://en.wikipedia.org/wiki/Accessibilityhttp://en.wikipedia.org/wiki/Tableless_web_designhttp://en.wikipedia.org/wiki/Screen_readerhttp://en.wikipedia.org/wiki/Screen_readerhttp://en.wikipedia.org/wiki/Braille_displayhttp://en.wikipedia.org/wiki/Style_sheet_languagehttp://en.wikipedia.org/wiki/Presentation_semanticshttp://en.wikipedia.org/wiki/Markup_languagehttp://en.wikipedia.org/wiki/Web_pagehttp://en.wikipedia.org/wiki/Interface_(computing)http://en.wikipedia.org/wiki/HTMLhttp://en.wikipedia.org/wiki/XHTMLhttp://en.wikipedia.org/wiki/XMLhttp://en.wikipedia.org/wiki/Plain_Old_XMLhttp://en.wikipedia.org/wiki/Scalable_Vector_Graphicshttp://en.wikipedia.org/wiki/XULhttp://en.wikipedia.org/wiki/The_webhttp://en.wikipedia.org/wiki/Page_layouthttp://en.wikipedia.org/wiki/Colorhttp://en.wikipedia.org/wiki/Typefacehttp://en.wikipedia.org/wiki/Cascading_Style_Sheets#cite_note-1http://en.wikipedia.org/wiki/Accessibilityhttp://en.wikipedia.org/wiki/Tableless_web_designhttp://en.wikipedia.org/wiki/Screen_readerhttp://en.wikipedia.org/wiki/Screen_readerhttp://en.wikipedia.org/wiki/Braille_display

  • 8/16/2019 Vehicle Information Sistem

    52/111

    autho o$ a #ocument ty"ica!!y !in*s that #ocument to a SS !e) ea#e s can use a

    #iCe ent sty!e sheet) "e ha"s one on thei own com"ute ) to o+e i#e the one the

    autho has s"eci e#. owe+e i$ the autho o the ea#e #i# not !in* the #ocument

    to a s"eci c sty!e sheet the #e$au!t sty!e o$ the b owse wi!! be a""!ie#.

    6%8%/%+ St* !s So &!" a ?.# Prob !$12

    3 M5 was ne-er intended to contain tags for formatting a document.It was intended to define

    the content of a document, like:

    Qh#R his is a headingQ h#R

    QpR his is a paragraph.Q pR

    Fhen tags like QfontR, and color attributes were added to the 3 M5 @.) specification, it started

    a nightmare for web de-elopers. "e-elopment of large web sites, where fonts and color

    information were added to e-ery single page, became a long and e6pensi-e process. o sol-e this

    problem, the Forld Fide Feb Consortium 0F@C2 created CSS.In 3 M5 +.*, all formatting

    could be remo-ed from the 3 M5 document, and stored in a separate CSS file.

    .3.!.2 CSS S*nta9A CSS rule set consists of a selector and a declaration block:

    52

  • 8/16/2019 Vehicle Information Sistem

    53/111

    he selector points to the 3 M5 element you want to style.

    he declaration block contains one or more declarations separated by semicolons.

    (ach declaration includes a property name and a -alue, separated by a colon.

    .3.!.3. CSS E9a$( !12

    A CSS declaration always ends with a semicolon, and declaration groups are surrounded by curly brackets:

    p Vcolor:redJte6t%align:centerJW

    o make the CSS more readable, you can put one declaration on each line, like this:

    E9a$( !12

    pVcolor:redJte6t%align:centerJW

    .3.!.!. CSS Co$$!nts12

    Comments are used to e6plain your code, and may help you when you edit the source code at alater date. Comments are ignored by browsers.

    A CSS comment starts with X and ends with X . Comments can also span multiple lines:

    E9a$( !12

    X his is a multiplelines commentX

    pV

    color:redJX his is another commentX

    te6t%align:centerJW

    .3.!. .6$$ ac8ground:/

    53

  • 8/16/2019 Vehicle Information Sistem

    54/111

    CSS background properties are used to define the background effects ofan element.

    CSS properties used for background effects:

    • bac*% oun# co!o

    • bac*% oun# ima%e

    • bac*% oun# e"eat

    • bac*% oun# attachment

    • bac*% oun# "osition

    6%8%/%6?ack#ro-n" Co or12

    he background%color property specifies the background color of an element.

    he background color of a page is defined in the body selector:

    E9a$( !12

    bo#y Nbac*% oun# co!o :Ob0c4#ePQ

    Fith CSS, a color is most often specified by:

    • a J +a!ue !i*e AOC0000A

    • an RL +a!ue !i*e A %b 255)0)0;A

    • a co!o name !i*e A e#A

    )9am%le:/

    h1 Nbac*% oun# co!o :O6495e#PQ" Nbac*% oun# co!o :Oe0CCPQ#i+ Nbac*% oun# co!o :Ob0c4#ePQ

    6%8%/%:?ack#ro-n" I$a#!12

    54

  • 8/16/2019 Vehicle Information Sistem

    55/111

    he background%image property specifies an image to use as the background of an element.

    >y default, the image is repeated so it co-ers the entire element.

    he background image for a page can be set like this:

    E9a$( !12

    bo#y Nbac*% oun# ima%e:u ! A"a"e .%i$A;PQ

    .3.!. C!nt!r A .#n.n# ,s.n# t7! $ar#.n Pro(!rt*

    >lock elements can be center%aligned by setting the left and right margins to LautoL.Setting theleft and right margins to auto specifies that they should split the a-ailable margin e ually. heresult is a centered element:

    E9a$( !12

    .center Vmargin%left:autoJmargin%right:autoJwidth:D*YJ

    background%color:Zb*e*e?JW

    .3. ;A

  • 8/16/2019 Vehicle Information Sistem

    56/111

    6%8%4%+ A"&anta#! o' @SP o&!r S!r& !t12

    here are many ad-antages of !S o-er ser-let. hey are as follows:

    +B E9t!ns.on to S!r& !t12

    !S technology is the e6tension to ser-let technology. Fe can use all the features of ser-let in

    !S . In addition to, we can use implicit objects, predefined tags, e6pression language and

    Custom tags in !S , that makes !S de-elopment easy.

    3B Eas* to $a.nta.n12

    !S can be easily managed because we can easily separate our business logic with presentation logic. In ser-let technology, we mi6 our business logic with the presentationlogic.

    8B Fast D!&! o($!nt1 No n!!" to r!co$(. ! an" r!"!( o*12

    ($ S& "a%e is mo#i e#) we #on t nee# to ecom"i!e an# e#e"!oy the " o'ect. The

    se +!et co#e nee#s to be u"#ate# an# ecom"i!e# i$ we ha+e to chan%e the !oo*

    an# $ee! o$ the a""!ication.

    L.'! c*c ! o' a @SP Pa#!”2

    he !S pages follows these phases:

    ranslation of !S age

    Compilation of !S age

    Classloading 0 class file is loaded by the classloader2

    Instantiation 04bject of the 1enerated Ser-let is created2.

    Initiali ation 0 jspInit02 method is in-oked by the container2.

    =e eust processing 0 UjspSer-ice02 method is in-oked by the container2.

    "estroy 0 jsp"estroy02 method is in-oked by the container2.

    56

  • 8/16/2019 Vehicle Information Sistem

    57/111

    N'te3 6"I!it:;< = 6"Se$5i e:; #!d 6",e6t$'y:; #$e t(e %i&e y %e met('d6 '& JSP-

    F.#16%

    As depicted in the abo-e diagram, !S page is translated into ser-let by the help of !S

    translator. he !S translator is a part of webser-er that is responsible to translate the !S

    page into ser-let. Afterthat Ser-let page is compiled by the compiler and gets con-erted into

    the class file. Moreo-er, all the processes that happens in ser-let is performed on !S later like

    initiali ation, committing response to the browser and destroy.

    .3. .2 Cr!at.n# a s.$( ! @SP Pa#!12

    o create the first jsp page, write some html code as gi-en below, and sa-e it by .jspe6tension. Fe ha-e sa-e this file as inde6.jsp. ut it in a folder and paste the folder in theweb%apps directory in apache tomcat to run the jsp page.

    .3. .2.1 .n"!9%5s(12

    5etHs see the simple e6ample of !S , here we are using the scriptlet tag to put ja-a code in the!S page. Fe will learn scriptlet tag later .

    #. QhtmlR). QbodyR@. QY out.print0) X 2J YR+. Q bodyR

    . Q htmlR

    57

  • 8/16/2019 Vehicle Information Sistem

    58/111

    It will print + on the browser .

    .3. .2.2 How to r-n a s.$( ! @SP Pa#!

    ;ollow the following steps to e6ecute this !S page:

    • Start the ser-er

    • put the jsp file in a folder and deploy on the ser-er

    • -isit the browser by the url http: localhost:portno conte6t=oot jspfile e.g.http: localhost:$$$$ myapplication inde6.jsp

    .3. .3 D.r!ctor* str-ct-r! o' @SP12

    he directory structure of !S page is same as ser-let. Fe contains the jsp page outside the

    F(>%I'; folder or in any directory.

    F.#16%+

    58

  • 8/16/2019 Vehicle Information Sistem

    59/111

  • 8/16/2019 Vehicle Information Sistem

    60/111

    F.#16%++

    .3. . M!t7o"s o' @s(Pa#! .nt!r'ac!12

    #2 (-b .c &o." 5s(In.t B1 It is in-oked only once during the life cycle of the !S when !S

    page is re uested firstly. It is used to perform initiali ation. It is same as the init02 method

    of Ser-let interface.)2 (-b .c &o." 5s(D!stro* B1 It is in-oked only once during the life cycle of the !S before

    the !S page is destroyed. It can be used to perform some clean up operation .

    .3. .= @SP Scr.(t !t ta# Scr.(t.n# ! !$!ntsB12

    In !S , ja-a code can be written inside the jsp page using the scriptlet tag. 5etHs see what are the

    scripting elements first.

    60

  • 8/16/2019 Vehicle Information Sistem

    61/111

    .3. .=.1 Scr.(t.n# ! !$!nts12 he scripting elements pro-ides the ability to insert ja-acode inside the jsp. here are three types of scripting elements:

    #2 scriptlet tag

    )2 e6pression tag

    @2 declaration tag

    )9am%le:/ @SP scr.(t !t ta#12

    A scriptlet tag is used to e6ecute ja-a source code in !S . Synta6 is as follows:

    #. QY ja-a source code YR

    S.$( ! E9a$( ! o' @SP scr.(t !t ta#12

    In this e6ample, we are displaying a welcome message.

    #. QhtmlR). QbodyR@. QY out.print0Lwelcome to jspL 2J YR+. Q bodyR

    . Q htmlR

    E9a$( ! o' @SP scr.(t !t ta# t7at (r.nts t7! -s!r na$!12

    61

  • 8/16/2019 Vehicle Information Sistem

    62/111

    In this e6ample, we ha-e created two files inde6.html and welcome.jsp. he inde6.html file

    gets the username from the user and the welcome.jsp file prints the username with the

    welcome message.

    .n"!9%7t$ 12

    #. QhtmlR). QbodyR@. Qform action Lwelcome.jspLR+. Qinput type Lte6tL name LunameLR

    . Qinput type LsubmitL -alue LgoLRQbr R?. Q formRD. Q bodyR$. Q htmlR

    w! co$!%5s(12

    #. QhtmlR). QbodyR@. QY+. String name re uest.get arameter0 LunameL2J

    . out.print0 Lwelcome LPname2J

    ?. YRD. Q formR$. Q bodyRE. Q htmlR

    62

  • 8/16/2019 Vehicle Information Sistem

    63/111

    .3. . @SP Act.on Ta#s Act.on E !$!ntsB12

    #. !S Action ags

    ). jsp:forward action tag

    @. (6ample of jsp:forward action tag without parameter

    +. (6ample of jsp:forward action tag with parameter

    here are many !S action tags or elements. (ach tag is used to perform some specific tasks. he action

    tags basically are used to control the flow between pages and to use !a-a >ean. !sp action tags are as

    follows:

    • jsp:forward

    • jsp:include

    • jsp:use>ean

    • jsp:set roperty

    • jsp:get roperty

    • jsp:plugin

    • jsp:param

    • jsp:fallback

    he jsp:use>ean, jsp:set roperty and jsp:get roperty tags are used for bean de-elopment. So we

    will see these tags in bean de-elopement.

    63

  • 8/16/2019 Vehicle Information Sistem

    64/111

    .3. . .1 5s(1'orwar" act.on ta#12

    he jsp:forward action tag is used to forward the re uest to another resource it may be jsp, html or

    another resource.

    S*nta9 o' 5s(1'orwar" act.on ta# w.t7o-t (ara$!t!r12

    #. Qjsp:forward page Lrelati-e&=5 [ QY e6pression YRL R

    #. Qjsp:forward page Lrelati-e&=5 [ QY e6pression YRL R

    S*nta9 o' 5s(1'orwar" act.on ta# w.t7 (ara$!t!r12

    #. Qjsp:forward page Lrelati-e&=5 [ QY e6pression YRLR

    ). Qjsp:param name LparameternameL -alue Lparameter-alue [ QY e6pressionYRL R

    @. Q jsp:forwardR

    #. Qjsp:forward page Lrelati-e&=5 [ QY e6pression YRLR

    ). Qjsp:param name LparameternameL -alue Lparameter-alue [ QY e6pressionYRL R

    @. Q jsp:forwardR

    E9a$( ! o' 5s(1'orwar" act.on ta# w.t7o-t (ara$!t!r12

    In this e6ample, we are simply forwarding the re uest to the printdate.jsp file.

    .n"!9%5s(12

    #. QhtmlR

    ). QbodyR

    @. Qh)Rthis is inde6 pageQ h)R

    +.

    . Qjsp:forward page Lprintdate.jspL R

    64

  • 8/16/2019 Vehicle Information Sistem

    65/111

    ?. Q bodyR

    D. Q htmlR

    #. QhtmlR

    ). QbodyR

    @. Qh)Rthis is inde6 pageQ h)R

    +.

    . Qjsp:forward page Lprintdate.jspL R

    ?. Q bodyR

    D. Q htmlR

    (r.nt"at!%5s(12

    #. QhtmlR

    ). QbodyR

    @. QY out.print0L oday is:LPja-a.util.Calendar.getInstance02.get ime022J YR

    +. Q bodyR

    . Q htmlR

    #. QhtmlR

    ). QbodyR

    @. QY out.print0L oday is:LPja-a.util.Calendar.getInstance02.get ime022J YR

    +. Q bodyR

    . Q htmlR

    E9a$( ! o' 5s(1'orwar" act.on ta# w.t7 (ara$!t!r12

    In this e6ample, we are forwarding the re uest to the printdate.jsp file with parameter and printdate.jsp

    file prints the parameter -alue with date and time.

    .n"!9%5s(12

    65

  • 8/16/2019 Vehicle Information Sistem

    66/111

    #. QhtmlR

    ). QbodyR

    @. Qh)Rthis is inde6 pageQ h)R

    +.

    . Qjsp:forward page Lprintdate.jspL R

    ?. Qjsp:param name LnameL -alue Lja-atpoint.comL R

    D. Q jsp:forwardR

    $.

    E. Q bodyR

    #*. Q htmlR

    #. QhtmlR

    ). QbodyR

    @. Qh)Rthis is inde6 pageQ h)R

    +. Qjsp:forward page Lprintdate.jspL R

    . Qjsp:param name LnameL -alue Lja-atpoint.comL R

    ?. Q jsp:forwardR

    D. Q bodyR

    $. Q htmlR

    (r.nt"at!%5s(12

    #. QhtmlR

    ). QbodyR

    66

  • 8/16/2019 Vehicle Information Sistem

    67/111

    @.

    +. QY out.print0L oday is:LPja-a.util.Calendar.getInstance02.get ime022J YR

    . QY re uest.get arameter0LnameL2 YR

    ?.

    D. Q bodyR

    $. Q htmlR

    6%8%6%+T7!

    odayHs business en-ironment demands Feb and e%commerce applications that accelerate your

    entry into new markets, help you find new ways to reach and retain customers, and allow you to

    introduce new products and ser-ices uickly. o build and deploy these new solutions, you need

    a pro-en, reliable e%commerce platform that can connect and empower all types of users while

    integrating your corporate data, mainframe applications, and other enterprise applications in a

    powerful, fle6ible, end%to%end e%commerce solution.

  • 8/16/2019 Vehicle Information Sistem

    68/111

    !)(( applications are based on standardi ed, modular components. Feb5ogic Ser-er pro-ides a

    complete set of ser-ices for those components and handles many details of application beha-ior

    automatically, without re uiring programming.

    Not!1 >ecause !)(( is backward compatible, you can still run !)(( #.) on Feb5ogic Ser-er

    D.*.Application "eployment Across "istributed, 3eterogeneous (n-ironments.

    Feb5ogic Ser-er pro-ides essential features for de-eloping and deploying mission%critical e%

    commerce applications across distributed, heterogeneous computing en-ironments. hese

    features include the following:

    Standards leadership\Comprehensi-e enterprise !a-a support to ease the

    implementation and deployment of application components. Feb5ogic Ser-er is the first

    independently de-eloped !a-a application ser-er to achie-e !)(( certification. In

    addition, >(A acti-ely participates in the de-elopment of !)(( and Feb Ser-ices

    standards that dri-e inno-ation and ad-ancement in !a-a and NM5 technology.

    =ich client options\Feb5ogic Ser-er supports Feb browsers and other clients that use

    3 J !a-a clients that use =MI 0=emote Method In-ocation2 or II4 0Internet Inter%

    4=> rotocol2J S4A clients on any S4A %enabled plaftormJ and mobile de-ices that

    use 0FA 2 Fireless Access rotocol. Connectors from >(A and other companies enable

    -irtually any client or legacy application to work with a Feb5ogic Ser-er application.

    ;le6ible Feb ser-ices\Feb5ogic Ser-er pro-ides a solid platform for deploying Feb

    ser-ices as components of a heterogeneous distributed application. Feb ser-ices use a

    cross%platform, cross%language data model 0NM52 to pro-ide interoperability among

    application components on di-erse hardware and software platforms. Feb ser-ices

    support user%defined data types and one%way asynchronous operations. A Feb ser-ice can

    intercept S4A messages for further processing. 'ew Ant tasks automatically generate

    important components and package the ser-ice into a deployable (A= file.

    68

  • 8/16/2019 Vehicle Information Sistem

    69/111

    Feb5ogic Ser-er D.* uses Feb Ser-ices "escription 5anguage 0FS"52 #.#, an NM5%

    based specification, to describe Feb ser-ices. Feb5ogic Feb ser-ices support Simple

    4bject Access rotocol 0S4A 2 #.# and #.) as the message format and 3 as a

    connection protocol.

    Not!1 Feb5ogic Feb ser-ices accept both S4A #.# and #.) incoming re uests, but

    produce only S4A #.# outgoing responses.

    (nterprise e%business scalability\(fficient use and high a-ailability of critical resources

    are achie-ed through (nterprise !a-a>ean business components and mechanisms such as

    Feb5ogic Ser-er clustering for dynamic Feb pages, backend resource pooling, and

    connection sharing.

    =obust administration\Feb5ogic Ser-er offers a Feb%based Administration Console for

    configuring and monitoring Feb5ogic Ser-er ser-ices. A command%line interface for

    configuration makes it con-enient to administer Feb5ogic Ser-ers with scripts.

    (%commerce%ready security\Feb5ogic Ser-er pro-ides Secure Sockets 5ayer 0SS52

    support for encrypting data transmitted across Feb5ogic Ser-er, clients, and other

    ser-ers. &ser authentication and authori ation for all Feb5ogic Ser-er ser-ices are

    pro-ided through roles and security pro-iders. (6ternal security stores, such as

    5ightweight "irectory Access rotocol 05"A 2 ser-ers, can still be adapted to Feb5ogic

    realms, enabling single sign%on for the enterprise. he Security Ser-ice ro-ider Interface

    makes it possible to e6tend Feb5ogic Security ser-ices and to implement Feb5ogic

    Security features in applications.

    Ma6imum de-elopment and deployment fle6ibility\Feb5ogic Ser-er pro-ides tight

    integration with and support for leading databases, de-elopment tools, and other en-ironments.

    >i%directional functional interoperability between !a-a !)(( objects and Microsoft

    Acti-eN components\>(A Feb5ogicjC4M pro-ides a run%time component that

    implements both Component 4bject Model 0C4M2 "istributed Component 4bject

    69

  • 8/16/2019 Vehicle Information Sistem

    70/111

    Model 0"C4M2 and =emote Method In-ocation 0=MI2 distributed components

    infrastructures. his makes the objects look like nati-e objects for each en-ironment.

    !a-a Message Ser-ice 0!MS2\An enterprise messaging system, also referred to as

    message%oriented middleware 0M4M2, enables applications to communicate with one

    another through the e6change of messages. A message is a re uest, report, and or e-ent

    that contains information needed to coordinate communication between different

    applications. A message pro-ides a le-el of abstraction, allowing you to separate the

    details about the destination system from the application code.

    he !a-a Message Ser-ice 0!MS2 is a standard A I for accessing enterprise messaging

    systems. Specifically, !MS enables !a-a applications sharing a messaging system to

    e6change messages, and it simplifies application de-elopment by pro-iding a standard

    interface for creating, sending, and recei-ing messages.

    6%8%6%8 HO< TO START THE SERVER12

    +%first start the ser-er to deploy the application.

    70

  • 8/16/2019 Vehicle Information Sistem

    71/111

    >I5: .12

    6%8%6%/ D!( o* t7!

    71

  • 8/16/2019 Vehicle Information Sistem

    72/111

    o deploy the Feb5ogic est web application, complete the following steps:

    #. Sa-e the Feb5ogic est.war file pro-ided with this document to a local directory.

    ). (nsure that Feb5ogic Ser-er is running by e6ecuting the startup script you modified in

    section L#. Install "ata"irect Connect] for !">C .L 4pen the Feb5ogic Ser-er Administration Console by specifying the &=5 http: localhost:D**# console D in a web browser. Specify the administrator user name and password, and click S.#n In .

    @. In the Feb5ogic Ser-er Console window, select mydomain [ "eployments [ FebApplication Modules. he right pane displays an option that allows you to deploy a newweb application as shown in the following e6ample.

    + In the right pane, click the D!( o* a N!w

    F.#16%+8

    Click the -( oa" *o-r '. ! 0s2 link. he Install or &pdate Application window appears in theright pane. Click ?rows! , and na-igate to the local directory that contains the Feb5ogic est.war

    file. Select the Feb5ogic est.war file, and click ,( oa" .

    ? Click the $*s!r&!r link. hen, click the -( oa" link, and select the Feb5ogic est.war itemas shown in the following e6ample.

    72

  • 8/16/2019 Vehicle Information Sistem

    73/111

    Click Tar#!t Mo"- ! . he =e-iew your choices and deploy window appears in the right pane.

    Click D!( o* . he Feb5ogic est web application is added to the list of deployed web

    applications as shown in the following e6ample.

    F.#16%+4

    73

  • 8/16/2019 Vehicle Information Sistem

    74/111

    74

  • 8/16/2019 Vehicle Information Sistem

    75/111

    CHAPTER1:

    :%SYSTEM RE ,IREMENT SPECIFICATIONS1S=S is the reference for product architects to come out with the best architecture for the product

    to be de-eloped. >ased on the re uirements specified in S=S, usually more than one design

    approach for the product architecture is proposed and documented in a ""S % "esign "ocument

    Specification.S=S is a document that completely describes all of the functions of a proposed

    system and the constraints under which it must operate.

    F.#1:%+

    75

  • 8/16/2019 Vehicle Information Sistem

    76/111

    #.1 S$S%E& SPE'IFI'!%IO(S :"

    :%+%+C'mmu!i #ti'! I!te$ e634

    !a-aSer-er ages will form the communicational interface with which a user can login

    into ser-er en-ironment with his her I" and password.

    7-1-0 Met('d'%'*y #!d T''%6 +6ed34

    he process of software de-elopment not only needs coding and managing the programs,

    but also a detailed study of the system to identify current system re uirements related to

    the o-erall de-elopment process as well as to anticipate the future re uirements. It also

    needs to meet the objecti-es of cost, uality and o-erall time optimi ation for analy ing,designing and implementing the system.

    7-1- Re>ui$eme!t6 "(#6e34

    he project de-eloped will be used for in%house purpose only and hence the re uirements

    were gathered from the following phase of re uirements engineering process :

    • =e uirements elicitation• =e uirements analysis

    • =e uirements documentation

    :%+%8%+ R!>-.r!$!nts ! .c.tat.on

    In this phase we co-ered the fact finding of the scope and subject studies. 3ere collection

    of all key terminologies and acti-ities were done. Identification of similar systems and

    constraints were identified.

    :%+%8%3 R!>-.r!$!nts ana *s.s

    In this phase all re uirements were gathered and ad hoc use case was designed from the

    basic knowledge of the system. he re uirements were prioriti ed and uestions such as

    76

  • 8/16/2019 Vehicle Information Sistem

    77/111

    S R

    / =(>(STR/T-R

    7why this re uirement is needed 9 were asked against e-ery re uirement. he

    re uirements were gathered and framed from all seniors and technical heads.

    :%+%8%8 R!>-.r!$!nts "oc-$!ntat.on

    All the re uirements were documented formally in the software re uirementspecification.

    =.2>unctional Re?uirements @ Per ormance $%ecifcation

    This section out!ines the use cases $o each o$ the ustome s se"a ate!y. The

    use ) the /#minist ato can communicate at any time usin% !o%in "o ta! in

    this system

    Fi*37-0

    77

  • 8/16/2019 Vehicle Information Sistem

    78/111

    78

  • 8/16/2019 Vehicle Information Sistem

    79/111

    CHAPTER1

    .De!ig" #$a!e:-

    he project will be used for the in%house purposeJ hence design diagrams are prepared tounderstand the details of the project. In our project use case, ";"s, (= diagrams, database

    relationship etc. are used to describe design work.

    Software "esign encompasses the set of principles, concepts and practices that lead to the

    de-elopment of a high uality software system or product . he goal of design is to produce a

    model that e6hibits firmness, commodity and delight. 4nce the re uirements ha-e been analy ed

    and modeled, software design sets the stage for construction of the software. (ach of the

    elements of the analysis model pro-ides information for a complete specification of design.

    "esign phase commences after the re uirements are base lined and signed off. he design phase

    attempts to unco-er -arious entities in-ol-ed in the system and their associated beha-ior and also

    the interfaces that would be pro-ided by the system. 3igh le-el and 5ow 5e-el "esign

    "ocuments are prepared.

    %+ ,e5e%'"me!t P(#6e34

    he de-elopment is done using build and fi6es methodology because the project is made for in%house purpose. 3 is used to de-elop front end and MySO5 is used as a backend.

    he "e-elopment hase is di-ided into two stages: Construction and roduction =eadiness. Inthe Construction Stage, the System "e-elopment Manager ensures that all subsystems, modules,and components are fully documented, ha-e been coded and tested, and that identifieddiscrepancies ha-e been corrected. he Construction Stage is completed when the echnical=e-iew from manager. (arlier test results are re-iewed and operational support arrangements arefinali ed during the roduction =eadiness Stage. he roduction =eadiness Stage ends withsuccessful completion of the roduction =eadiness =e-iew. his re-iew affirms that Acceptance

    esting has been successfully completed.

    "e-elopment phase consist following de-elopments:

    • "e-eloping new code blocks in order to o-ercome the limitations of e6isting team.

    79

  • 8/16/2019 Vehicle Information Sistem

    80/111

    8-0Im"%eme!t#ti'! "(#6e

    In project implementation or project e6ecution, we put it all together and code. roject planning

    is complete, as detailed as possible, yet pro-iding enough ability for necessary changes.In project implementation, we manage implementation of all our project plans, following the

    triple constraint:

    .2.1 Pro5!ct Sco(! Mana#!$!nt

    Fith project scope management, we refer to managing the project scope in implementation and

    closure phase and focus on controlling the implementation of the project scope.

    .2.2 Pro5!ct T.$! Mana#!$!nt

    Fith project time management, we refer to managing the project schedule in implementation and

    closure phase and focus on controlling the project schedule.

    .2.3 Pro5!ct Cost Mana#!$!nt

    Fith project cost management, we refer to managing the project cost in implementation and

    closure phase and focus on monitorin