Dab tsi yog tsov rog thiab pob ntseg ntaub ntawv?
Dab tsi yog tsov rog thiab pob ntseg ntaub ntawv?

Video: Dab tsi yog tsov rog thiab pob ntseg ntaub ntawv?

Video: Dab tsi yog tsov rog thiab pob ntseg ntaub ntawv?
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla use for? 2024, Kaum ib hlis
Anonim

Cov WAR file yog a ntaub ntawv uas muaj cov ntaub ntawv xws li servlet, JSP, HTML, JavaScript, thiab lwm yam uas tsim nyog los tsim web applications. EAR yog Java EE ntaub ntawv uas pob ib los yog ntau dua modules rau hauv ib qho archive los xa lawv mus rau hauv daim ntawv thov server. Qhov ntawd yog qhov txawv ntawm JAR WAR thiab EAR cov ntaub ntawv.

Ntawm no,. WAR cov ntaub ntawv yog dab tsi?

Hauv software engineering, a WAR cov ntaub ntawv (Web Application Resource lossis Web application ARchive) yog cov ntaub ntawv siv los faib cov ntawv sau ntawm JAR- cov ntaub ntawv , JavaServer Pages, Java Servlets, Java chav kawm, XML cov ntaub ntawv , tag cov tsev qiv ntawv, nplooj ntawv web zoo li qub (HTML thiab lwm yam cov ntaub ntawv ) thiab lwm yam kev pab uas ua ke ua ib lub vev xaib

Tsis tas li ntawd, Jar WAR thiab EAR cov ntaub ntawv yog dab tsi? Hauv paus JAR WAR EAR yog compressed cov ntaub ntawv ntawm Java compressed ntawm DOS prompt nrog thawv cuab tam ( thawv lus txib). Lawv yog siv rau ntau lub hom phiaj. a) JAR File (Java ARchive) JAR cov ntaub ntawv zoo li winzip ntaub ntawv compressed nrog JDK software. Qhov teeb meem ntawm nrov winzip ntaub ntawv yog nws yuav tsum tau unzipped ntawm Windows OS nkaus xwb.

Ntawm no, qhov txawv ntawm tsov rog thiab pob ntseg ntaub ntawv yog dab tsi?

Ib EAR cov ntaub ntawv yuav tsum muaj Java Platform, Enterprise Edition (Java EE)- lossis Jakarta Enterprise Edition (EE)-raws li daim ntawv thov server, xws li WebSphere lossis JBoss, khiav. A WAR file tsuas yog yuav tsum muaj Java EE Web Profile-raws li daim ntawv thov server kom khiav, thiab JAR ntaub ntawv tsuas yog yuav tsum muaj Java installation.

Dab tsi suav nrog hauv EAR cov ntaub ntawv?

EAR cov ntaub ntawv zoo ib yam li Java ARchive (JAR) cov ntaub ntawv tsuas yog lawv muaj ib tug. pob ntseg file txuas ntxiv. Ib EAR cov ntaub ntawv muaj ib lossis ntau JAR, Web ARchive (WAR), lossis Roshal ARchive (RAR) cov ntaub ntawv . Cov tshuaj txhaj tshuaj hauv qab no qhia cov ntsiab lus ntawm cov qauv EAR cov ntaub ntawv tsim los ntawm Manager.

Pom zoo: