Video: Spring Web application yog dab tsi?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Cov lus siv: Java
Yog li ntawd, lub caij nplooj ntoos hlav web daim ntawv thov ua haujlwm li cas?
Kom nkag siab li cas Spring Web MVC ua haujlwm , koj yuav siv qhov yooj yim daim ntawv thov nrog rau nplooj ntawv nkag. Txhawm rau qhia cov nplooj ntawv nkag mus, tsim ib qho @Controller-annotated class InternalController nrog GET mapping rau cov ntsiab lus hauv paus. Txhawm rau ua tus neeg siv nkag mus, tsim lwm txoj hauv kev uas ua haujlwm POST thov nrog cov ntaub ntawv nkag.
Qhov thib ob, kuv yuav ua li cas thiaj tsim tau lub vev xaib Spring?
- Kauj ruam 1: Tsim Maven Project. Siv Eclipse IDE, tsim Maven Project los ntawm kev xaiv Web Archetype.
- Kauj ruam 2: Hloov Pom. xml.
- Kauj ruam 3: Hloov kho lub vev xaib. xml.
- Kauj ruam 4: Tsim caij nplooj ntoos hlav-mvc-servlet. xml.
- Kauj ruam 5: Tsim Controllers.
- Kauj Ruam 5: Tsim POJO Chav Kawm.
- Kauj ruam 6: Tsim DAO Chav Kawm.
Cov lus nug tseem yog, Spring Web yog dab tsi?
Spring Web Kev pabcuam ( Caij nplooj ntoos hlav -WS) is a product of the Caij nplooj ntoos hlav zej zog tsom rau kev tsim cov ntaub ntawv-tsav Web kev pabcuam. Spring Web Cov kev pabcuam tsom mus pab txhawb kev cog lus-thawj SOAP kev pabcuam kev tsim kho, tso cai rau kev tsim kom muaj kev hloov pauv web cov kev pabcuam siv ib qho ntawm ntau txoj hauv kev los tswj XML payloads.
Lub caij nplooj ntoos hlav siv rau dab tsi?
Caij nplooj ntoos hlav Framework Nta Caij nplooj ntoos hlav yog ib tug muaj zog, lub teeb yuag framework siv rau kev txhim kho daim ntawv thov. Hauv cov ntsiab lus dav dav, koj tuaj yeem hais tias tus Caij nplooj ntoos hlav moj khaum yog ib lub cuab yeej zoo uas txhawb nqa ntau lub vev xaib siv Java ua hom lus programming.
Pom zoo:
Dab tsi yog qhov txawv ntawm qhov Web Web thiab Deep Web?
Qhov sib txawv tseem ceeb yog qhov SurfaceWeb tuaj yeem ntsuas tau, tab sis Deep Web tsis tuaj yeem.Websites koj tsuas tuaj yeem nkag tau nrog tus neeg siv lub npe thiab tus password, xws li email thiab huab kev pabcuam nyiaj, chaw txhab nyiaj, thiab txawm tias kev tso npe hauv online tshaj tawm txwv los ntawm paywalls.Companies ' internal networks thiab ntau yam databases
W3c yog dab tsi Whatwg yog dab tsi?
Lub Web Hypertext Application Technology Working Group (WHATWG) yog ib lub zej zog ntawm cov neeg nyiam hloov kho HTML thiab lwm yam technologies. WHATWG tau tsim los ntawm cov tib neeg los ntawm Apple Inc., Mozilla Foundation thiab Opera Software, ua tus neeg muag khoom Web browser, hauv 2004
Dab tsi yog ntim hauv web application?
Lub web ntim (tseem hu ua lub thawv servlet; thiab sib piv 'webcontainer') yog cov khoom siv ntawm lub vev xaib server uas cuam tshuam nrog Java servlets. Lub thawv ntim lub vev xaib tswj hwm kev thov rau servlets, JavaServer Pages (JSP) cov ntaub ntawv, thiab lwm yam ntaub ntawv uas suav nrog server-sab code
Dab tsi yog cov ntaub ntawv manifest hauv web application?
Lub web app manifest yog JSON cov ntaub ntawv uas qhia rau lub browser txog koj qhov Progressive Web App thiab nws yuav tsum coj li cas thaum ntsia ntawm tus neeg siv lub desktop lossis mobile ntaus ntawv. Cov ntaub ntawv raug pom zoo suav nrog lub npe app, cov cim lub app yuav tsum siv, thiab URL uas yuav tsum tau qhib thaum lub app tau qhib
Kev siv Session hauv web application yog dab tsi?
Kev sib kho tuaj yeem txhais tau tias yog server-sab cia ntawm cov ntaub ntawv uas xav tau los txuas ntxiv mus thoob plaws tus neeg siv kev cuam tshuam nrog lub vev xaib lossis lub vev xaib thov.Tshwj tsis yog khaws cov ntaub ntawv loj thiab hloov pauv tas li viacookies hauv tus neeg siv tus browser, tsuas yog tus cim tshwj xeeb yog storedon. tus neeg siv khoom sab