Video: Lub caij nplooj ntoos hlav core suav nrog dab tsi?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Rau Caij nplooj ntoos hlav Lub moj khaum, caij nplooj ntoos hlav - tub ntxhais muaj feem ntau tub ntxhais cov khoom siv hluav taws xob thiab cov khoom siv (xws li enums) thiab vim tias nws yog qhov tseem ceeb heev rau Caij nplooj ntoos hlav , tej zaum tag nrho lwm yam Caij nplooj ntoos hlav modules nyob ntawm nws (ncaj qha los yog transitively).
Xav txog qhov no, dab tsi yog lub caij nplooj ntoo hlav?
Caij nplooj ntoos hlav Core yog Dependency Injection (DI) thawv thiab lwm yam kev tsim kho vaj tse. Caij nplooj ntoos hlav MVC yog ib feem ntawm Web applications txheej uas nyob ntawm Core rau nws cov Beans-based architecture.
Ib tug kuj nug, uas yog cov modules ntawm Spring core thawv? Lub thawv Spring Core muaj cov tub ntxhais, taum, ntsiab lus thiab lus qhia (EL) modules. Cov modules no muab IOC thiab Kev Txhaum Cai nta. Cov qauv no txhawb nqa thoob ntiaj teb (I18N), EJB, JMS, Basic Remoting. Nws yog qhov txuas ntxiv rau EL txhais hauv JSP.
Ib tug kuj yuav nug, dab tsi yog lub caij nplooj ntoos hlav Cheebtsam?
Caij nplooj ntoos hlav Cheebtsam koom ua ke Caij nplooj ntoos hlav Taum mus rau TIBCO ActiveMatrix platform. A Caij nplooj ntoos hlav tivthaiv zoo ib yam li Java tiv thaiv , tab sis nws qhov kev siv yuav muaj ntau tshaj li ib chav kawm Java. Cov chav kawm tau teev tseg hauv a Caij nplooj ntoos hlav Bean configuration file. Txhua Caij nplooj ntoos hlav Bean sib raug rau cov chav kawm Java.
Dab tsi yog siv lub caij nplooj ntoos hlav hauv Java?
Caij nplooj ntoos hlav yog siv los txhim kho daim ntawv thov los ntawm desktop mus rau Web. Hibernate yog siv los nkag mus rau cov ntaub ntawv txheej thiab Struts yog siv rau Web moj khaum. Tau paub txhua yam txog Java coding nrog tshwj xeeb mus kom ze, tus kws tshaj lij kev lag luam muab kev cob qhia rau cov neeg sib tw nrog cov haujlwm tiag tiag.
Pom zoo:
Dao chav kawm nyob rau lub caij nplooj ntoos hlav yog dab tsi?
Nws yog tus qauv tsim nyob rau hauv uas cov ntaub ntawv nkag mus siv khoom (DAO) yog ib yam khoom uas muab qhov kev paub daws teeb meem rau qee hom database lossis lwm yam kev ua haujlwm ruaj khov. Lub caij nplooj ntoos hlav cov ntaub ntawv nkag mus rau lub moj khaum yog muab los koom ua ke nrog cov txheej txheem sib txawv xws li JDBC, Hibernate, JPA, iBatis thiab lwm yam
@ResponseBody annotation nyob rau lub caij nplooj ntoos hlav yog dab tsi?
Cov lus siv: Java, JSON
Cron kev qhia yog dab tsi nyob rau lub caij nplooj ntoos hlav?
Ib qho Cron qhia muaj rau qhov ua ntu zus - thib ob, feeb, teev, hnub ntawm lub hli, hli, hnub (s) ntawm lub lim tiam.thiab tau tshaj tawm raws li hauv qab no @Scheduled(cron = '* * * * **')
Lub ntsiab lus configuration nyob rau lub caij nplooj ntoos hlav yog dab tsi?
Lub Caij Nplooj Ntoos Zeeg yog dab tsi? Caij nplooj ntoos hlav ntsiab lus tseem hu ua Spring IoC ntim, uas yog lub luag hauj lwm rau instantiating, configuring, thiab assembling taum los ntawm kev nyeem configuration metadata los ntawm XML, Java annotations, thiab / los yog Java code nyob rau hauv cov ntaub ntawv configuration
Dab tsi yog Joinpoint nyob rau lub caij nplooj ntoos hlav nrog piv txwv?
Joinpoint yog lub ntsiab lus ntawm kev ua tiav ntawm qhov kev pab cuam, xws li kev ua tiav ntawm ib txoj kev lossis kev tuav ntawm qhov kev zam. Nyob rau lub caij nplooj ntoos hlav AOP, ib qho kev sib koom ua ke ib txwm sawv cev rau txoj kev ua tiav. Cov lus qhia yog txuam nrog ib qho kev qhia pointcut thiab khiav ntawm txhua qhov kev sib koom ua ke sib tw los ntawm pointcut