Qhov txawv ntawm JBoss thiab Tomcat

Cov txheej txheem:

Qhov txawv ntawm JBoss thiab Tomcat
Qhov txawv ntawm JBoss thiab Tomcat

Video: Qhov txawv ntawm JBoss thiab Tomcat

Video: Qhov txawv ntawm JBoss thiab Tomcat
Video: Qhov Txawv Ntawm Lus Hmoob Thiab Lus Mab Mawb 2024, Kaum ib hlis
Anonim

Qhov Tseem Ceeb - JBoss vs Tomcat

Qee cov lus siv hauv kev txhim kho lub vev xaib yog lub vev xaib server, servlet thawv, thiab daim ntawv thov server. Lub web server siv Hyper Text Transfer Protocol (HTTP) los muab cov nplooj ntawv web rau cov neeg siv raws li kev thov. Nws muab cov nplooj ntawv HTML zoo li qub rau qhov browser. Qee qhov piv txwv ntawm cov web servers yog Apache thiab Internet Information Services (IIS) los ntawm Microsoft. Lawv tuaj yeem tsim cov ntsiab lus dynamic siv plugins. IIS tuaj yeem siv. NET moj khaum rau server-sab programming hauv Active Server Pages (ASP). Java yog ib hom lus programming loj rau server-sab programming. Lub thawv servlet yog ib qho khoom siv uas cuam tshuam nrog Java servlets uas tuaj yeem tswj lub neej voj voog ntawm servlets. Nws tseem tuaj yeem tswj hwm Java Server Nplooj Ntawv (JSP). Application Servers muab kev pabcuam rau server-side programming lus raws li kev siv. JBoss yog daim ntawv thov server. Kab lus no tham txog qhov sib txawv ntawm JBoss thiab Tomcat. Qhov sib txawv tseem ceeb ntawm JBoss thiab Tomcat yog JBoss yog daim ntawv thov server thaum Tomcat yog lub thawv servlet thiab lub web server.

JBoss yog dab tsi?

Daim ntawv thov servers muab kev pabcuam xws li kev lag luam, kev ruaj ntseg, kev txhaj tshuaj tiv thaiv thiab kev sib koom ua ke rau daim ntawv thov. Cov neeg tsim khoom tuaj yeem tsom mus rau kev lag luam logic es tsis yog tsom rau cov kev pabcuam. Lawv tuaj yeem teeb tsa cov kev pabcuam siv cov ntaub ntawv muab los ntawm daim ntawv thov server.

Qhov txawv ntawm JBoss thiab Tomcat
Qhov txawv ntawm JBoss thiab Tomcat
Qhov txawv ntawm JBoss thiab Tomcat
Qhov txawv ntawm JBoss thiab Tomcat

Daim duab 01: JBoss

Nyob rau hauv Java Enterprise Edition, daim ntawv thov servers tuaj yeem muaj kev sib faib ntxiv rau hauv lub thawv servlet, daim ntawv thov cov thawv ntim khoom, thiab EJB thawv. Daim ntawv thov Client thawv muab kev vam meej txhaj tshuaj thiab kev ruaj ntseg. EJB thawv tuaj yeem khiav EJB lifecycle thiab muaj peev xwm tuav kev lag luam. JBoss yog Application Server. Nws tau raug hu ua WildFly. Lwm daim ntawv thov servers yog WebLogic, WebSphere. JBoss daim ntawv thov neeg rau zaub mov muab ua tiav Java Enterprise tsab (Java EE) pawg suav nrog Enterprise JavaBeans (EJB) thiab ntau lwm yam thev naus laus zis.

Tomcat yog dab tsi?

Tomcat yog qhov qhib qhov web server thiab lub thawv servlet. Apache Software Foundation tsim nws. Nws tuaj yeem khiav servlets thiab Java Server Pages (JSP). Nws muab ib qho chaw dawb huv Java web server ib puag ncig los khiav Java daim ntawv thov. Apache Tomcat suav nrog cov cuab yeej rau kev teeb tsa thiab kev tswj hwm. Kev teeb tsa ncaj qha tuaj yeem ua tiav los ntawm kev kho cov ntaub ntawv XML teeb tsa.

Apache Tomcat yog tus ntoo khaub lig-platform software, yog li nws khiav ntawm ntau lub operating system. Lub software tau raug txhim kho nrog qee qhov nta. Nws muab cov khoom khib nyiab, scalability thiab JSP parsing. Thaum pib, Apache Tomcat tau pib ua kev siv servlet siv los ntawm James Davidson ntawm Sun Micro Systems. Tom qab ntawd nws tau ua qhov project qhib los ntawm muab rau Apache Software Foundation. Apache Ant software yog software txhim kho thaum ua Apache Tomcat qhov qhib qhov project. Nws yog ib qho cuab yeej rau automating txheej txheem tsim.

Qhov txawv ntawm JBoss thiab Tomcat
Qhov txawv ntawm JBoss thiab Tomcat
Qhov txawv ntawm JBoss thiab Tomcat
Qhov txawv ntawm JBoss thiab Tomcat

Daim duab 02: Tomcat

Tomcat muaj peev xwm tsawg dua li daim ntawv thov server zoo li JBoss. Nws tsis txhawb EJB thiab JMS. Tomcat muaj qee yam khoom. Tomcat 4 muaj Catalina, uas yog lub thawv servlet, Coyote, uas yog HTTP txuas, thiab Jasper, uas yog lub cav JSP. Coyote mloog cov kev sib txuas tuaj ntawm qhov chaw TCP tshwj xeeb thiab xa cov lus thov mus rau Tomcat lub cav. Tomcat cav ua cov lus thov thiab xa rov qab mus rau tus neeg thov. Jaspera txheeb xyuas cov ntaub ntawv JSP. Nws compiles lawv rau Java code. Cov lus sau Java code yog tswj los ntawm Catalina (servlet thawv).

Dab tsi zoo sib xws ntawm JBoss thiab Tomcat?

  • Ob leeg muaj peev xwm tsim Java EE daim ntawv thov.
  • Ob leeg yog qhib qhov chaw thiab hla lub platform.

Qhov txawv ntawm JBoss thiab Tomcat yog dab tsi?

JBoss vs Tomcat

JBoss yog qhov qhib qhov chaw Java EE-raws li daim ntawv thov server siv los tsim, xa tawm, thiab host Java daim ntawv thov thiab kev pabcuam. Tomcat yog Java servlet thawv thiab lub vev xaib server los ntawm Apache Software Foundation.
tus tsim tawm
Red Hat tsim JBoss. Apache Tomcat Software Foundation tsim Tomcat.
Daim ntawv thov
JBoss tuaj yeem tuav cov servlets, JSP thiab EJB, JMS. Tomcat tuaj yeem tuav servlets thiab JSP.
Specifications
JBoss siv Java EE specification. Tomcat siv Sun Microsystems specifications.

Summary – JBoss vs Tomcat

Web server, daim ntawv thov server thiab lub thawv servlet yog qee cov lus siv hauv kev txhim kho lub vev xaib. JBoss thiab Tomcat yog siv los tsim, siv Java daim ntawv thov. Qhov txawv ntawm JBoss thiab Tomcat yog tias JBoss yog daim ntawv thov server thiab Tomcat yog lub thawv servlet thiab lub web server. Lawv tuaj yeem siv tau raws li daim ntawv thov xav tau. Tomcat yog qhov hnyav thiab tsis txhawb EJB thiab JMS, thiab JBoss yog tag nrho pawg ntawm Java EE.

Download the PDF JBoss vs Tomcat

Koj tuaj yeem rub tawm PDF version ntawm kab lus no thiab siv nws rau offline lub hom phiaj raws li daim ntawv ceeb toom. Thov download PDF version ntawm no Qhov txawv Ntawm JBoss thiab Tomcat

Pom zoo: