軟件工程(研究生)全冊(cè)配套課件3_第1頁
軟件工程(研究生)全冊(cè)配套課件3_第2頁
軟件工程(研究生)全冊(cè)配套課件3_第3頁
軟件工程(研究生)全冊(cè)配套課件3_第4頁
軟件工程(研究生)全冊(cè)配套課件3_第5頁
已閱讀5頁,還剩228頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

軟件工程(研究生)全冊(cè)配套課件3NationalEngineeringCenterforCADSoftwareEngineeringHuazhongUniversityofScienceandTechnologyNationalEngineeringCenterforCADDr.LiuQinghualiuqh@

Chapter1:IntroductionObjectives:tointroducesoftwareengineeringandtoprovideaframeworkforunderstandingsoftwareengineering.Understandwhatsoftwareengineeringisandwhyitisimportant;Understandthatthedevelopmentofdifferenttypesofsoftwaresystemsmayrequiredifferentsoftwareengineeringtechniques;Understandsomeethicalandprofessionalissuesthatareimportantforsoftwareengineers;Beintroducedtothreesystems,ofdifferenttypes,thatwillbeusedasexamplesthroughoutthebook.HistoryofsoftwareengineeringThenotionof‘softwareengineering’wasfirstproposedin1968ataconferenceheldtodiscusswhatwasthencalledthe‘softwarecrisis’.Itbecameclearthatindividualapproachestoprogramdevelopmentdidnotscaleuptolargeandcomplexsoftwaresystems.Thesewereunreliable,costmorethanexpected,andweredeliveredlate.Throughoutthe1970sand1980s,avarietyofnewsoftwareengineeringtechniquesandmethodsweredeveloped,suchasstructuredprogramming,informationhidingandobject-orienteddevelopment.Toolsandstandardnotationsweredevelopedandarenowextensivelyused.ContentsProfessionalSoftwareDevelopmentSoftwareengineeringethicsCaseStudySoftwareandsoftwareengineeringWecan’trunthemodernworldwithoutsoftware.Softwaresystemsareabstractandintangible.Theyarenotconstrainedbythepropertiesofmaterials,governedbyphysicallaws,orbymanufacturingprocesses.Thissimplifiessoftwareengineering.Softwaresystemscanquicklybecomeextremelycomplex,difficulttounderstand,andexpensivetochange.Therearemanydifferenttypesofsoftwaresystems,fromsimpleembeddedsystemstocomplex,worldwideinformationsystems.Itispointlesstolookforuniversalnotations,methods,ortechniquesforsoftwareengineeringbecausedifferenttypesofsoftwarerequiredifferentsoftwareengineeringtechniques.SoftwareFailuresSoftwarefailuresaremainlyconsequenceoftwofactors:Increasingdemands

andChangingdemandsSystemshavetobebuiltanddeliveredmorequicklyLarger,evenmorecomplexsystemsarerequiredSystemshavetohavenewcapabilitiesthatwerepreviouslythoughttobeimpossible.ExistingsoftwareengineeringmethodscannotcopeandnewSEtechniqueshavetobedevelopedtomeetthesenewdemands.LowexpectationsItisrelativelyeasytowritecomputerprogramswithoutusingsoftwareengineeringmethodsandtechniques.Manycompanieshavedriftedintosoftwaredevelopmentastheirproductsandserviceshaveevolved.Theydonotusesoftwareengineeringmethodsintheireverydaywork.1.1ProfessionalsoftwaredevelopmentLotsofpeoplewriteprograms.Professionalsoftware,intendedforusebysomeoneapartfromitsdeveloper,isusuallydevelopedbyteamsratherthanindividualsSoftwareengineeringisintendedtosupportprofessionalsoftwaredevelopmentratherthanindividualprogramming.Somefrequentlyaskedquestions(FAQs)aboutsoftwareengineeringarelistinthefollowingpage.FAQsaboutsoftwareengineeringQuestionAnswerWhatissoftware?Computerprogramsandassociateddocumentation.Softwareproductsmaybedevelopedforaparticularcustomerormaybedevelopedforageneralmarket.Whataretheattributesofgoodsoftware?Goodsoftwareshoulddelivertherequiredfunctionalityandperformancetotheuserandshouldbemaintainable,dependableandusable.Whatissoftwareengineering?Softwareengineeringisanengineeringdisciplinethatisconcernedwithallaspectsofsoftwareproduction.Whatarethefundamentalsoftwareengineeringactivities?Softwarespecification,softwaredevelopment,softwarevalidationandsoftwareevolution.Whatisthedifferencebetweensoftwareengineeringandcomputerscience?Computersciencefocusesontheoryandfundamentals;softwareengineeringisconcernedwiththepracticalitiesofdevelopinganddeliveringusefulsoftware.Whatisthedifferencebetweensoftwareengineeringandsystemengineering?Systemengineeringisconcernedwithallaspectsofcomputer-basedsystemsdevelopmentincludinghardware,softwareandprocessengineering.Softwareengineeringispartofthismoregeneralprocess.Whatarethekeychallengesfacingsoftwareengineering?Copingwithincreasingdiversity,demandsforreduceddeliverytimesanddevelopingtrustworthysoftware.Whatarethecostsofsoftwareengineering?Roughly60%ofsoftwarecostsaredevelopmentcosts,40%aretestingcosts.Forcustomsoftware,evolutioncostsoftenexceeddevelopmentcosts.Whatarethebestsoftwareengineeringtechniquesandmethods?Whileallsoftwareprojectshavetobeprofessionallymanagedanddeveloped,differenttechniquesareappropriatefordifferenttypesofsystem.Forexample,gamesshouldalwaysbedevelopedusingaseriesofprototypeswhereassafetycriticalcontrolsystemsrequireacompleteandanalyzablespecificationtobedeveloped.Youcan’t,therefore,saythatonemethodisbetterthananother.Whatdifferenceshasthewebmadetosoftwareengineering?Thewebhasledtotheavailabilityofsoftwareservicesandthepossibilityofdevelopinghighlydistributedservice-basedsystems.Web-basedsystemsdevelopmenthasledtoimportantadvancesinprogramminglanguagesandsoftwarereuse.TwokindsofsoftwareproductsGenericproductsThesearestand-alonesystemsthatareproducedbyadevelopmentorganizationandsoldontheopenmarkettoanycustomerwhoisabletobuythem.Theorganizationthatdevelopsthesoftwarecontrolsthesoftwarespecification.Customized(orbespoke)productsThesearesystemsthatarecommissionedbyaparticularcustomer.Thespecificationisusuallydevelopedandcontrolledbytheorganizationthatisbuyingthesoftware.AnimportantdifferencebetweenthetwoDistinctionisbecomingblurredMoreandmoresystemsarenowbeingbuiltwithagenericproductasabase,whichisthenadaptedtosuittherequirementsofacustomer.EnterpriseResourcePlanning(ERP)systems,suchastheSAPsystem,arethebestexamplesofthisapproach.Here,alargeandcomplexsystemisadaptedforacompanybyincorporatinginformationaboutbusinessrulesandprocesses,reportsrequired,andsoon.AttributesofgoodsoftwareProductcharacteristicDescriptionMaintainabilitySoftwareshouldbewritteninsuchawaysothatitcanevolvetomeetthechangingneedsofcustomers.Thisisacriticalattributebecausesoftwarechangeisaninevitablerequirementofachangingbusinessenvironment.DependabilityandsecuritySoftwaredependabilityincludesarangeofcharacteristicsincludingreliability,securityandsafety.Dependablesoftwareshouldnotcausephysicaloreconomicdamageintheeventofsystemfailure.Malicioususersshouldnotbeabletoaccessordamagethesystem.EfficiencySoftwareshouldnotmakewastefuluseofsystemresourcessuchasmemoryandprocessorcycles.Efficiencythereforeincludesresponsiveness,processingtime,memoryutilisation,etc.AcceptabilitySoftwaremustbeacceptabletothetypeofusersforwhichitisdesigned.Thismeansthatitmustbeunderstandable,usableandcompatiblewithothersystemsthattheyuse.1.1.1SoftwareengineeringDefinition:anengineeringdisciplinethatisconcernedwithallaspectsofsoftwareproductionfromtheearlystagesofsystemspecificationthroughtomaintainingthesystemafterithasgoneintouse.Twokeyphases:Engineeringdiscipline

Engineersmakethingswork.Theyapplytheories,methods,andtoolswheretheseareappropriate.Engineersalsorecognizethattheymustworktoorganizationalandfinancialconstraints.Allaspectsofsoftwareproduction

Softwareengineeringisnotjustconcernedwiththetechnicalprocessesofsoftwaredevelopment.Italsoincludesactivitiessuchassoftwareprojectmanagementandthedevelopmentoftools,methods,andtheoriestosupportsoftwareproduction.WhysoftwareengineeringisimportantIndividualsandsocietyrelyonadvancedsoftwaresystems.Weneedtobeabletoproducereliableandtrustworthysystemseconomicallyandquickly.Itisusuallycheaper,inthelongrun,tousesoftwareengineeringmethodsandtechniquesforsoftwaresystemsratherthanjustwritetheprogramsasifitwasapersonalprogrammingproject.Formosttypesofsystems,themajorityofcostsarethecostsofchangingthesoftwareafterithasgoneintouse.SoftwareprocessAsoftwareprocessisasequenceofactivitiesthatleadstotheproductionofasoftwareproduct.Fourfundamentalactivitiescommontosoftwareprocesses.Softwarespecification,wherecustomersandengineersdefinethesoftwarethatistobeproducedandtheconstraintsonitsoperationSoftwaredevelopment,wherethesoftwareisdesignedandprogrammed.Softwarevalidation,wherethesoftwareischeckedtoensurethatitiswhatthecustomerrequires.Softwareevolution,wherethesoftwareismodifiedtoreflectchangingcustomerandmarketrequirements.1.1.2SoftwareengineeringdiversityNouniversalsoftwareengineeringmethodsandtechniquesthataresuitableforallsystemsandallcompanies.Themostsignificantfactorindeterminingwhichsoftwareengineeringmethodstobeusedistheapplicationtypethatisbeingdeveloped.Stand-aloneapplications

CADprograms,etc.Interactivetransaction-basedapplicationsEmbeddedcontrolsystems

SoftwareinmobilephoneBatchprocessingsystemsPeriodicbillingsystemsEntertainmentsystemsSystemsformodelingandsimulationDatacollectionsystemsSystemofsystemsSoftwareEngineeringfundamentalsTheyshouldbedevelopedusingamanagedandunderstooddevelopmentprocess.Dependabilityandperformanceareimportantforalltypesofsystems。Understandingandmanagingthesoftwarespecificationandrequirements(whatthesoftwareshoulddo)areimportant.Youshouldmakeaseffectiveuseaspossibleofexistingresources.1.1.3SEandtheWebThedevelopmentoftheWorldWideWebhashadaprofoundeffectonallofourlives.Thesoftwarewasdeployedonawebserver.Thismadeitmuchcheapertochangeandupgradethesoftware.Thenextstageinthedevelopmentofweb-basedsystemswasthenotionofwebservices.Thenotionof‘softwareasaservice’hasbeendeveloped.Ithasbeenproposedthatsoftwarewillrunon‘computingclouds’thatareaccessedovertheInternet.Theadventofthewebhasledtoasignificantchangeinthewaythatbusinesssoftwareisorganized.ChangesofWeb-basedsystemsareengineeredSoftwarereusehasbecomethedominantapproachforconstructingweb-basedsystems.Itisnowgenerallyrecognizedthatitisimpracticaltospecifyalltherequirementsforsuchsystemsinadvance.Userinterfacesareconstrainedbythecapabilitiesofwebbrowsers.Webformswithlocalscriptingaremorecommonlyused.Applicationinterfacesonweb-basedsystemsareoftenpoorer.1.2SoftwareEngineeringethicsSoftwareengineeringiscarriedoutwithinasocialandlegalframework.thereareareaswherestandardsofacceptablebehaviorarenotboundbylawsbutbythemoretenuousnotionofprofessionalresponsibility.Someoftheseare:Confidentiality

Youshouldnormallyrespecttheconfidentialityofyouremployersorclientsirrespectiveofwhetherornotaformalconfidentialityagreementhasbeensigned.Competence

Youshouldnotmisrepresentyourlevelofcompetence.IntellectualpropertyrightsYoushouldbeawareoflocallawsgoverningtheuseofintellectualpropertysuchaspatentsandcopyright.ComputermisuseYoushouldnotuseyourtechnicalskillstomisuseotherpeople’scomputers.1.3CaseStudyExamplesfromthreedifferenttypesofsystemsareusedthroughoutthebook.Anappropriateexampleisusedwhendiscussingconceptssuchassafetyanddependability,systemmodeling,reuse,etc.AnembeddedsystemThisisasystemwherethesoftwarecontrolsahardwaredeviceandisembeddedinthatdevice.AninformationsystemThisisasystemwhoseprimarypurposeistomanageandprovideaccesstoadatabaseofinformation.Asensor-baseddatacollectionsystemThisisasystemwhoseprimarypurposeistocollectdatafromasetofsensorsandprocessthatdatainsomeway.Case1:AninsulinpumpcontrolsystemInsulinpumphardwareAninsulinpumpcontrolsystemActivitymodeloftheinsulinpumpAninsulinpumpcontrolsystemTwoessentialhigh-levelrequirementsthatthissystemmustmeet:Thesystemshallbeavailabletodeliverinsulinwhenrequired.ThesystemshallperformreliablyanddeliverthecorrectamountofinsulintocounteractthecurrentlevelofbloodsugarCase2:ApatientinformationsystemformentalhealthcareTheMHC-PMS(MentalHealthCare-PatientManagementSystem)isaninformationsystemthatisintendedforuseinclinics.Ithastwooverallgoals:Togeneratemanagementinformationthatallowshealthservicemanagerstoassessperformanceagainstlocalandgovernmenttargets.Toprovidemedicalstaffwithtimelyinformationtosupportthetreatmentofpatients.Case2:OrganizationofMHC-PMSCase2:UsersofMHC-PMSUsersofthesystemincludeclinicalstaffsuchasdoctors,nurses,andhealthvisitors.Nonmedicalusersincludereceptionistswhomakeappointments,medicalrecordsstaffwhomaintaintherecordssystem,andadministrativestaffwhogeneratereports.Thesystemisusedtorecordinformationaboutpatients(name,address,age,nextofkin,etc.),consultations(date,doctorseen,subjectiveimpressionsofthepatient,etc.),conditions,andtreatments.Reportsaregeneratedatregularintervalsformedicalstaffandhealthauthoritymanagers.Case2:KeyfeaturesofMHC-PMSIndividualcaremanagementClinicianscancreaterecordsforpatients,edittheinformationinthesystem,viewpatienthistory,etc.PatientmonitoringThesystemregularlymonitorstherecordsofpatientsthatareinvolvedintreatmentandissueswarningsifpossibleproblemsaredetected.AdministrativereportingThesystemgeneratesmonthlymanagementreportsshowingthenumberofpatientstreatedateachclinic,thenumberofpatientswhohaveenteredandleftthecaresystem,numberofpatientssectioned,thedrugsprescribedandtheircosts,etc.Case3:AwildernessweatherstationWeatherstationcollectdatafromasetofinstrumentsthatmeasuretemperatureandpressure,sunshine,rainfall,windspeed,andwinddirection.Wildernessweatherstationsarepartofalargersystem,whichisaweatherinformationsystemthatcollectsdatafromweatherstationsandmakesitavailabletoothersystemsforprocessing.Case3:AwildernessweatherstationTheweatherstationsystemThisisresponsibleforcollectingweatherdata,carryingoutsomeinitialdataprocessing,andtransmittingittothedatamanagementsystem.ThedatamanagementandarchivingsystemThissystemcollectsthedatafromallofthewildernessweatherstations,carriesoutdataprocessingandanalysis,andarchivesthedatainaformthatcanberetrievedbyothersystems.ThestationmaintenancesystemThissystemcancommunicatebysatellitewithallwildernessweatherstationstomonitorthehealthofthesesystemsandprovidereportsofproblems.Itcanupdatetheembeddedsoftwareinthesesystems.Intheeventofsystemproblems,thissystemcanalsobeusedtoremotelycontrolawildernessweathersystem.Case3:AwildernessweatherstationEachweatherstationisbattery-poweredandmustbeentirelyself-contained—therearenoexternalpowerornetworkcablesavailable.Allcommunicationsarethrougharelativelyslow-speedsatellitelinkandtheweatherstationmustincludesomemechanism(solarorwindpower)tochargeitsbatteries.Thestationsoftwareisthereforenotjustconcernedwithdatacollection.Itmustalso:Monitortheinstruments,power,andcommunicationhardwareandreportfaultstothemanagementsystem.Managethesystempower,ensuringthatbatteriesarechargedwhenevertheenvironmentalconditionspermitbutalsothatgeneratorsareshutdowninpotentiallydamagingweatherconditions,suchashighwind.Allowfordynamicreconfigurationwherepartsofthesoftwarearereplacedwithnewversionsandwherebackupinstrumentsareswitchedintothesystemintheeventofsystemfailure.KeypointsofChapter1Softwareengineeringisanengineeringdisciplinethatisconcernedwithallaspectsofsoftwareproduction.Softwareisnotjustaprogramorprogramsbutalsoincludesdocumentation.Essentialsoftwareproductattributesaremaintainability,dependability,security,efficiency,andacceptability.Thesoftwareprocessincludesalloftheactivitiesinvolvedinsoftwaredevelopment.Thehighlevelactivitiesofspecification,development,validation,andevolutionarepartofallsoftwareprocesses.Thefundamentalnotionsofsoftwareengineeringareuniversallyapplicabletoalltypesofsystemdevelopment.Thesefundamentalsincludesoftwareprocesses,dependability,security,requirements,andreuse.KeypointsofChapter1Therearemanydifferenttypesofsystemsandeachrequiresappropriatesoftwareengineeringtoolsandtechniquesfortheirdevelopment.Therearefew,ifany,specificdesignandimplementationtechniquesthatareapplicabletoallkindsofsystems.Thefundamentalideasofsoftwareengineeringareapplicabletoalltypesofsoftwaresystems.Thesefundamentalsincludemanagedsoftwareprocesses,softwaredependabilityandsecurity,requirementsengineering,andsoftwarereuse.Softwareengineershaveresponsibilitiestotheengineeringprofessionandsociety.Theyshouldnotsimplybeconcernedwithtechnicalissues.Professionalsocietiespublishcodesofconductthatsetoutthestandardsofbehaviorexpectedoftheirmembers.Exercise1.1.Explainwhyprofessionalsoftwareisnotjusttheprogramsthataredevelopedforacustomer.1.2.Whatisthemostimportantdifferencebetweengenericsoftwareproductdevelopmentandcustomsoftwaredevelopment?Whatmightthismeaninpracticeforusersofgenericsoftwareproducts?1.3.Whatarethefourimportantattributesthatallprofessionalsoftwareshouldhave?Suggestfourotherattributesthatmaysometimesbesignificant.1.4.Apartfromthechallengesofheterogeneity,businessandsocialchange,andtrustandsecurity,identifyotherproblemsandchallengesthatsoftwareengineeringislikelytofaceinthe21stcentury(Hint:thinkabouttheenvironment).1.5.Basedonyourownknowledgeofsomeoftheapplicationtypesdiscussedinsection1.1.2,explain,withexamples,whydifferentapplicationtypesrequirespecializedsoftwareengineeringtechniquestosupporttheirdesignanddevelopment.Exercise1.6.Explainwhytherearefundamentalideasofsoftwareengineeringthatapplytoalltypesofsoftwaresystems.1.7.ExplainhowtheuniversaluseoftheWebhaschangedsoftwaresystems.1.8.Discusswhetherprofessionalengineersshouldbecertifiedinthesamewayasdoctorsorlawyers.1.9.ForeachoftheclausesintheACM/IEEECodeofEthicsshowninFigure1.3,suggestanappropriateexamplethatillustratesthatclause.1.10.Tohelpcounterterrorism,manycountriesareplanningorhavedevelopedcomputersystemsthattracklargenumbersoftheircitizensandtheiractions.Clearlythishasprivacyimplications.Discusstheethicsofworkingonthedevelopmentofthistypeofsystem.NationalEngineeringCenterforCADChapter2

SoftwareProcessHuazhongUniversityofScienceandTechnologyNationalEngineeringCenterforCADLiuQinghualiuqh@Chapter2:SoftwareprocessObjectives:Introduceyoutotheideaofasoftwareprocess—acoherentsetofactivitiesforsoftwareproduction.Understandtheconceptsofsoftwareprocessesandsoftwareprocessmodels;Beintroducedtothreegenericsoftwareprocessmodelsandwhentheymightbeused;Knowaboutthefundamentalprocessactivitiesofsoftwarerequirementsengineering,softwaredevelopment,testing,andevolution;Understandwhyprocessesshouldbeorganizedtocopewithchangesinthesoftwarerequirementsanddesign;UnderstandhowtheRationalUnifiedProcessintegratesgoodsoftwareengineeringpracticetocreateadaptablesoftwareprocesses.Contents2.1Softwareprocessmodels2.2Processactivities2.3Copingwithchange2.4TheRationalUnifiedProcessFouractivitiesofsoftwareprocessmodelTherearemanydifferentsoftwareprocessesbutallmustincludefouractivitiesthatarefundamentaltosoftwareengineering:1.Softwarespecification

Thefunctionalityofthesoftwareandconstraintsonitsoperationmustbedefined.2.SoftwaredesignandimplementationThesoftwaretomeetthespecificationmustbeproduced.3.SoftwarevalidationThesoftwaremustbevalidatedtoensurethatitdoeswhatthecustomerwants.4.SoftwareevolutionThesoftwaremustevolvetomeetchangingcustomerneeds.SoftwareprocessmodelsAsoftwareprocessmodelisasimplifiedrepresentationofasoftwareprocess.Eachprocessmodelrepresentsaprocessfromaparticularperspective,andthusprovidesonlypartialinformationaboutthatprocess.Inthissection,anumberofverygeneralprocessmodelsisintroduced(sometimescalled‘processparadigms’)andarepresentedfromanarchitecturalperspective.Thatis,weseetheframeworkoftheprocessbutnotthedetailsofspecificactivities.ThewaterfallmodelThewaterfallmodelThewaterfallmodelisanexampleofaplan-drivenprocess—inprinciple,youmustplanandschedulealloftheprocessactivitiesbeforestartingworkonthem.Inprinciple,thewaterfallmodelshouldonlybeusedwhentherequirementsarewellunderstoodandunlikelytochangeradicallyduringsystemdevelopment.Animportantvariantofthewaterfallmodelisformalsystemdevelopment.Formaldevelopmentprocesses,suchasthatbasedontheBmethodareparticularlysuitedtothedevelopmentofsystemsthathavestringentsafety,reliability,orsecurityrequirements.CleanroomsoftwareengineeringOriginallydevelopedbyIBMIntheCleanroomprocesseachsoftwareincrementisformallyspecifiedandthisspecificationistransformedintoanimplementation.Softwarecorrectnessisdemonstratedusingaformalapproach.Thereisnounittestingfordefectsintheprocessandthesystemtestingisfocusedonassessingthesystem’sreliability.TheobjectiveoftheCleanroomprocessiszero-defectssoftwaresothatdeliveredsystemshaveahighlevelofreliability.IncrementaldevelopmentThesystemisdevelopedasaseriesofversions(increments),witheachversionaddingfunctionalitytothepreviousversion.IncrementaldevelopmentIncrementaldevelopmentisbasedontheideaofdevelopinganinitialimplementation,exposingthistousercommentandevolvingitthroughseveralversionsuntilanadequatesystemhasbeendeveloped.Specification,development,andvalidationactivitiesareinterleavedratherthanseparate,withrapidfeedbackacrossactivities.Incrementalsoftwaredevelopment,whichisafundamentalpartofagileapproaches,isbetterthanawaterfallapproachformostbusiness,e-commerce,andpersonalsystems.Incrementaldevelopment:benefitsIncrementaldevelopmenthasthreeimportantbenefits,comparedtothewaterfallmodel:1.Thecostofaccommodatingchangingcustomerrequirementsisreduced.Theamountofanalysisanddocumentationthathastoberedoneismuchlessthanisrequiredwiththewaterfallmodel.2.Itiseasiertogetcustomerfeedbackonthedevelopmentworkthathasbeendone.Customerscancommentondemonstrationsofthesoftwareandseehowmuchhasbeenimplemented.3.Morerapiddeliveryanddeploymentofusefulsoftwaretothecustomerispossible,evenifallofthefunctionalityhasnotbeenincluded.

CustomersareabletouseandgainvaluefromthesoftwareearlierthanispossiblewithawaterfallprocessProblemswithIncrementaldevelopmentFromamanagementperspective,theincrementalapproachhastwoproblems:Theprocessisnotvisible.Managersneedregulardeliverablestomeasureprogress.Ifsystemsaredevelopedquickly,itisnotcost-effectivetoproducedocumentsthatreflecteveryversionofthesystem.Systemstructuretendstodegradeasnewincrementsareadded.Unlesstimeandmoneyisspentonrefactoringtoimprovethesoftware,regularchangetendstocorruptitsstructure.Incorporatingfurthersoftwarechangesbecomesincreasinglydifficultandcostly.Reuse-orientedsoftwareengineeringThesystemdevelopmentprocessfocusesonintegratingexistedcomponentsintoasystemratherthandevelopingthemfromscratch.Theintermediatestagesinareuse-orientedprocessaredifferent.Thesestagesare:1Componentanalysis

Giventherequirementsspecification,asearchismadeforcomponentstoimplementthatspecification.2RequirementsmodificationTherequirementsareanalyzedusinginformationaboutthecomponentsthathavebeendiscovered.3SystemdesignwithreuseTheframeworkofthesystemisdesignedoranexistingframeworkisreused.4DevelopmentandintegrationSoftwarethatcannotbeexternallyprocuredisdeveloped,andthecomponentsandCOTS(Commercialof-the-shelfsystems)areintegratedtocreatethenewsystem.Reuse-orientedsoftwareengineeringTherearethreetypesofsoftwarecomponentthatmaybeusedinareuse-orientedprocess:1.Webservicesthataredevelopedaccordingtoservicestandardsandwhichareavailableforremoteinvocation.2.Collectionsofobjectsthataredevelopedasapackagetobeintegratedwithacomponentframeworksuchas.NETorJ2EE.3.Stand-alonesoftwaresystemsthatareconfiguredforuseinaparticularenvironment.SoftwarecomponentsReuse-orientedsoftwareengineeringhastheobviousadvantageofreducingtheamountofsoftwaretobedevelopedandsoreducingcostandrisks.Itusuallyalsoleadstofasterdeliveryofthesoftware.Requirementscompromisesareinevitableandthismayleadtoasystemthatdoesnotmeettherealneedsofusers.Somecontroloverthesystemevolutionislostasnewversionsofthereusablecomponentsarenotunderthecontroloftheorganizationusingthem.Prosandco

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論