软件工程(研究生)全册配套课件3_第1页
软件工程(研究生)全册配套课件3_第2页
软件工程(研究生)全册配套课件3_第3页
软件工程(研究生)全册配套课件3_第4页
软件工程(研究生)全册配套课件3_第5页
已阅读5页,还剩228页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

软件工程(研究生)全册配套课件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等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论