很多朋友对于booting是什么意思,booting的意思翻译、用法、同义词、例和Introducing不太懂,今天就由小编来为大家分享,希望可以帮助到大家,下面一起来看看吧!
1、TheSpringFrameworkstarteditsjourneytosimplifytheJavaEnterpriseapplicationdevelopment.Itbecameimmenselypopularduetoitssimplifiedapplicationdevelopmentstrategiesandtheheavy-liftingnatureoftheframework.Further,astheuseofSpringasaframeworkincreased,theneedtofurthersimplifytheSpringapplicationdevelopmentprocesswasalsoamplified.
2、AlthoughSpringprovidesagreatdealofsupporttothedevelopersinfocusingonlyonsolvingtheirbusinessproblems,beforeSpringBootthereisstillasignificantamountofworkthatneedstobedonebythedevelopertomakethingswork.
3、Afewchallengesyou’llfaceonceyoustartdevelopingaSpring-basedwebapplication:
4、Whatif,instead,youcouldwritethebusinesslogicforyourapplication,buildanexecutablefile,andjustrunitinacommandline?Youwouldn’tneedtodefinecomplicatedXMLconfigurationsorperformapplicationserverdeploymentorothertechnicaljuggleries.AllthesewouldbesolvedbySpringBoot.
5、SpringBootwasintroducedasasubprojectundertheSpringFrameworktoempowerdeveloperswithafaststartupexperienceandexemptthemfrommostoftheconfigurationhazards.SpringBootcanseamlesslyaddressseveralconfigurationandintegrationissues.Forinstance,inyourSpringBootproject,you’llnotbeforcedtodefineadeploymentdescriptorweb.xmlfile.Youalsowon’tbeforcedtouseanapplicationservertorunyourapplicationunlessyouspecificallydecidetorunonanapplicationserver.Mostofthetime,SpringBoot’sdefaultconfigurationcaneasilymeetyourneeds.
6、SpringBootwasreleasedinApril2014toreducesomeoftheburdensofdevelopingaJavawebapplication.Italloweddeveloperstofocusmoreonthebusinesslogicratherthantheboilerplatetechnicalcodeandassociatedconfigurations.SpringBootintendstocreateSpring-based,production-ready,standaloneapplicationswithlittleconfigurationchangesonbehalfoftheapplicationdeveloper.IttakesanopinionatedviewoftheSpringFramework,sotheapplicationdeveloperscanquicklygetstartedwithwhattheyneed.ItprovidesanadditionallayerbetweentheSpringFrameworkfortheusertosimplifycertainconfigurationaspects.
7、SpringBootsandwichesitselfbetweenthedeveloperandtheSpringFramework.SeveralSpringFrameworkcomponentsareautomaticallyconfiguredbySpringBootbasedontheSpringcomponentsadeveloperuses.
8、Asanintermediatelayer,SpringBootperformsmanyconfigurations,whichyou’llotherwiseneedtodoyourselfifyouinteractdirectlywiththeSpringFramework.
9、Fastbootstrapping—OneoftheprimarygoalsofSpringBootistoprovideafaststartupexperienceinSpringapplicationdevelopment.
10、BuildawebapplicationusingSpringinatraditionalapproach:
11、WithSpringBoot,youcangenerateanapplicationbyspecifyingthedependenciesyouneedinyourapplication,andSpringBoottakescareoftherest.
12、Autoconfiguration—SpringBootautomaticallyconfiguresthebareminimumcomponentsofaSpringapplication.ItdoesthisbasedonthepresenceoftheJARfilesintheclasspathorpropertiesconfiguredinthevariouspropertyfiles.Forinstance,ifSpringBootdetectsthepresenceofadatabasedriverJARfile(e.g.,H2in-memorydatabaseJAR)intheclasspath,itautomaticallyconfiguresthecorrespondingdatasourcetoconnecttothedatabase.
13、Opinionated—SpringBootisopinionated.ItautomaticallyconfiguresseveralcomponentstostartwithaSpringapplication.SpringBootdoesthiswithasetofstarterdependencies.Astarterdependencytargetsaspecificareaofapplicationdevelopmentandprovidestherelateddependencies.Forexample,ifyouneedtodevelopawebapplication,youcanconfigurethespring-boot-starter-webdependency,whichensuresthatallrelateddependenciesfordevelopingawebapplication,suchasspring-webandspring-webmvc,areavailableintheapplicationclasspath.
14、Standalone—SpringBootapplicationsembedawebserver,sotheycanrunstandaloneanddonotnecessarilyrequireanexternalweborapplicationserver.ThisenablesSpringBootapplicationstobepackagedasanexecutableJARfileandrunwiththejava-jarcommand.ThisalsoallowsSpringBootapplicationstobeeasilycontainerizedandcandidatesforcloud-nativeapplicationdevelopment.
15、Production-ready—SpringBootprovidesseveralusefulproduction-readyfeaturesoutoftheboxtomonitorandmanagetheapplicationonceitispushedtoproduction,suchashealthchecks,threaddumps,andotherusefulmetrics.
16、SpringBootconsistsofseveralcomponentswitheachcomponentfocusingonaspecificareaoftheapplicationdevelopment.Someofthesearecorecomponents,andyou’llusethemoftenwithalmosteverySpringBootproject.
17、spring-boot—ThisistheprimarySpringBootcomponentthatprovidessupporttoothercomponents.Forexample,itcontainstheSpringApplicationclass,whichcontainsseveralstaticmethodstocreateastandaloneSpringBootapplication.Italsoprovidessupportforembeddedwebservers(e.g.,Tomcat)andsupportsexternalizedapplicationconfigurations(e.g.,databasedetailsofyourapplication),etc.
18、spring-boot-autoconfigure—ThiscomponentprovidesthenecessarysupportfortheautomaticconfigurationofaSpringBootapplication.SpringBootautoconfigurationguessesandconfiguresthespringbeansbasedonthedependenciespresentinclasspathandthepropertiesconfigured.However,autoconfigurationbacksawayfromthedefaultconfigurationifitdetectsuser-configuredbeanswithcustomconfigurations.
19、Spring-boot-starters—Startersareasetofprepackageddependencydescriptorsprovidedfordeveloperconvenience.ASpringBootstarterassistsinprovidingasetofSpringandrelatedtechnologiestothedeveloper,whichotherwise,thedeveloperneedstomanagethemselves.
20、spring-boot-CLI—Thisisadeveloper-friendlycommand-lineutilitythatcompilesandrunsgroovycodes.Itcanalsowatchfilesforchanges,soyoudonotneedtorestartyourapplicationonmodifications.ThisCLItoolexemptsyoufromtheneedfordependencymanagementtools,suchasMavenorGradle.Also,itletsyouquicklyprototypeSpringapplicationswithoutworryingmuchaboutdependencymanagementandotherbuilds-relatedissues.
21、spring-boot-actuator—Thiscomponentprovidestheactuatorendpointstointeractwith,monitor,andauditaSpringBootapplication.AnactuatorinSpringBootcanbemanagedthroughJMXorHTTPendpoints.SpringBootprovidesapredefinedlistofactuatorendpointsthatcoverarangeofapplicationaspects.Ifthatdoesnotsatisfyyourneed,youcanalsocreateyourcustomactuatorendpointsspecifictoyourapplication.SpringBootactuatoralsoprovidesconfigurationstoletyoudecidewhichactuatorendpointsyouwanttoenableandprovidesseveralmeanstosecurethemfromunauthorizedaccess.
22、spring-boot-actuator-autoconfigure—Thiscomponentprovidessupporttoautoconfiguretheactuatorendpointsbasedontheclasspath.Forinstance,iftheMicrometer(https://micrometer.io)dependencyispresentintheclasspath,SpringBootautomaticallyconfigurestheMetricsEndpoint.
23、spring-boot-test—ThismodulecontainsannotationsandmethodstowritetestcasesfortheSpringBootapplication.
24、spring-boot-test-autoconfigure—Thiscomponentsupportstheautoconfigurationofthetestcasesofyourapplication.
25、spring-boot-loader—ThiscomponentallowsaSpringBootapplicationtobepackagedasasinglefatJARfile,includingalldependenciesandtheembeddedwebserversthatcanberunstandalone.Youdon’tusethismoduleindependently;instead,itisusedalongwithMavenorGradleplugins.
26、spring-boot-devtools—ThiscomponentcontainsanadditionaldevelopertoolkitforasmoothdevelopmentexperienceofSpringBootapplications.ThetoolkitincludesfeaturessuchasautomaticdetectionofapplicationcodechangesandLiveReloadservertoautomaticallyrefreshanyHTMLchangestothebrowser.Developertoolsareintendedtoincreasedeveloperproductivity.
OK,关于booting是什么意思,booting的意思翻译、用法、同义词、例和Introducing的内容到此结束了,希望对大家有所帮助。