Daim ntawv thov caij nplooj ntoos hlav khau raj siv li cas?
Daim ntawv thov caij nplooj ntoos hlav khau raj siv li cas?

Video: Daim ntawv thov caij nplooj ntoos hlav khau raj siv li cas?

Video: Daim ntawv thov caij nplooj ntoos hlav khau raj siv li cas?
Video: Sib Hawm Dhau (Time Passed) Music Video by: Deeda/Dib Xwb 2024, Hlis ntuj nqeg
Anonim

Spring Boot applications tuaj yeem yooj yim ntim rau hauv JAR cov ntaub ntawv thiab xa mus ua standalone daim ntawv thov . Qhov no yog ua los ntawm cov caij nplooj ntoos hlav - khau raj -maven-plugin. Lub plugin yog cia li ntxiv rau pom. xml ib Caij nplooj ntoos hlav qhov project yog tsim los ntawm Caij nplooj ntoos hlav Initializr ua ib txoj haujlwm Maven.

Ib yam li ntawd, koj tuaj yeem nug, peb puas tuaj yeem siv lub caij nplooj ntoos hlav khau raj hauv WebSphere?

Feem ntau muaj ob txoj hauv kev los teeb tsa & deploy Spring Boot application hauv IBM Liberty Profile Daim ntawv thov Server. Nov yog txoj hauv kev peb yuav sim nrog. Ib zaug peb Spring Boot Application ua haujlwm hauv IBM Liberty Profile, peb yuav ces xa mus tus daim ntawv thov hauv IBM WebSphere Application Server 8.5.

Ib yam li ntawd, lub caij nplooj ntoos hlav khau raj puas xav tau Application Server? Hauv kuv txoj kev xav caij nplooj ntoos hlav khau raj muaj peev xwm khiav java web daim ntawv thov nyob ib leeg. Nws hais tias nws muaj nws tus kheej servlet thawv thiab siv tau JNDI nws tus kheej. Kuv tau tsim ib daim ntawv ua tsov rog ua ntej ( caij nplooj ntoos hlav -mvc, kev ruaj ntseg, qib tsim), tab sis Caij nplooj ntoos hlav khau raj sib sau cov ntaub ntawv lub thawv thiab nws khiav ntawm txhua lub tshuab uas muaj JVM.

Ntawm no, peb puas tuaj yeem siv lub caij nplooj ntoos hlav khau raj hauv Tomcat?

Muab tso rau a Spring Boot Application rau hauv Tomcat . Deploying applications nyuaj. Feem ntau koj xav tau console nkag mus rau lub server los ntawm qhov twg koj rub tus lej tshiab thiab tom qab ntawd manually instantiate rau hauv koj lub thawv.

Lub caij nplooj ntoos hlav khau raj puas zoo rau kev tsim khoom?

Caij nplooj ntoos hlav khau raj aim yog ntau lawm npaj txhij, los ntawm lub neej ntawd. Qhov no txhais tau tias nws nkoj nrog pab tau defaults tawm ntawm lub thawv uas tej zaum yuav overriden, yog tias tsim nyog. Los ntawm lub neej ntawd, Caij nplooj ntoos hlav khau raj muab ib qho embedded Apache Tomcat tsim.

Pom zoo: