Cov txheej txheem:

Koj siv TomEE li cas?
Koj siv TomEE li cas?

Video: Koj siv TomEE li cas?

Video: Koj siv TomEE li cas?
Video: Hi So - Koj haib 2 (Official MV nkauj tawm tshiab 2019-2020) 2024, Hlis ntuj nqeg
Anonim

Pib nrawm

  1. Download thiab nruab ob Apache TomEE thiab dab noj hnub.
  2. Pib Eclipse thiab los ntawm cov ntawv qhia zaub mov tseem ceeb mus rau Cov Ntaub Ntawv - Tshiab - Dynamic Web Project.
  3. Sau lub npe tshiab qhov project.
  4. Hauv qhov Target Runtime seem nyem rau ntawm New Runtime khawm.
  5. Xaiv Apache Tomcat v7.0 thiab nyem Next.

Tsis tas li ntawd, koj yuav siv EAR li cas hauv TomEE?

Kev xa tawm daim ntawv thov artifacts rau TomEE zoo ib yam li xa mus rau Tomcat: tsuas yog luam koj WAR los yog EAR file rau lub tomee /webapps folder. Thaum twg TomEE pom koj WAR los yog EAR cov ntaub ntawv, nws yuav tawg koj cov ntaub ntawv rau hauv ib phau ntawv nrog tib lub npe, tab sis tsis muaj. war lub. pob ntseg txuas ntxiv.

Tom qab ntawd, lo lus nug yog, kuv puas tuaj yeem xa cov ntaub ntawv pob ntseg hauv Tomcat? Tomcat yog web server thaum ib pob ntseg ntaub ntawv tau ua xa mus mus rau lub tshuab ua haujlwm puv tshuab xws li JBoss lossis WebSphere. Peb ua tau tseem convert ib pob ntseg xa ntaub ntawv rau a tomcat xa tawm yog tias pob ntseg ua tsis nyob ntawm ib qho EBJ APIs.

Ib yam li ntawd, tib neeg nug, peb puas tuaj yeem khiav EJB hauv Tomcat?

Koj ua tau , tab sis nws tsis tau txhais hais tias yuav tshwm sim li ntawd. Tomcat yog servlet-container, thiab tsuas yog daim ntawv thov servers yuav tsum tau txhawb nqa EJB . Tomcat nrog kev sib xyaw ua ke EJB kev txhawb nqa yog pib TomEE. Koj ua tau kom siv cov Tomcat server plugin hauv IDE los tswj TomEE.

Puas yog TomEE qhib qhov chaw?

Qhib - qhov chaw Java Server Faces (JSF) siv. Qhib - qhov chaw Java Message Service (JMS) siv. Full-fledged relational database management system (RDBMS) nrog haiv Java Database Connectivity (JDBC) txhawb. TomEE JAX-RS, qhov thib ob faib, ntxiv kev txhawb nqa rau Java API rau RESTful Web Services (JAX-RS).

Pom zoo: