当前位置:网站首页>jar包和war包
jar包和war包
2022-06-29 08:26:00 【这不比博人传燃?】
java项目可以打成jar包或者war包,以前前后端不分离的项目,一般都是达成war包,现在前后端分离项目,一般都是打成jar包,好像是因为war包包含前端静态资源,jar包不包含。当然前后端分离项目打成war包也可以。
总结:
- ssm项目
- 前后端分离:打war包(因为没有内置tomcat)
- 前后端不分离:打war包(因为没有内置tomcat,并且前端静态资源和后端不分离)
- springboot项目
- 前后端分离:打jar包和war包都行,现在都是打jar包(打war包的话需要做配置,去掉springboot内置的tomcat等)
- 前后端不分离:打war包(因为静态资源在后端,但是需要做配置,去掉springboot内置的tomcat等)。
边栏推荐
- 2022年7月(软考高级)信息系统项目管理师认证招生简章
- 宏,函数和内联函数
- ServerApp.iopub
- Core development board & debugger
- 记自定义微信小程序顶部导航栏
- Measure the level of various chess playing activities through ELO mechanism
- Official reply on issues related to the change of children's names after parents' divorce
- Déclaration de la variable Typescript - - assertion de type
- 一般乘法器设计,verilog code
- uni-app获取当前页面路由url
猜你喜欢

Leetcode (142) - circular linked list II

Enrollment brochure for system integration project management engineer certification in July 2022

笔试题“将版本号从大到小排列”

Scenario analysis of deadlock during MySQL insert

2022 Season 6 perfect children's model Haikou competition area trial successfully concluded

Typescript variable declaration - type assertion

Déclaration de la variable Typescript - - assertion de type

The sixth season of 2022 perfect children's model Qingyuan competition area audition came to a successful conclusion

TypeScript 變量聲明 —— 類型斷言

在 golang 中是如何对 epoll 进行封装的?
随机推荐
微信小程序用户拒绝授权地理位置信息再次调起授权窗口
Official reply on issues related to the change of children's names after parents' divorce
微信小程序打开文件流
How to gain profits from the operation of the points mall
MYSQL虚拟列
Déclaration de la variable Typescript - - assertion de type
Let you know today that the passing rate of the PMP Exam is 97%, is it believable
单例模式的理解
Solutions to ineffective uniapp import components
微信小程序判断url的文件格式
Did you really make things clear when you were promoted or reported?
成员内部类、静态内部类、局部内部类
promise方法的简单使用
Verilog expression
2022年7月系统集成项目管理工程师认证招生简章
verilog 移位操作符
MySQL的分库分表策略及应用场景
mysql insert 时出现Deadlock死锁场景分析
手写 redux-thunk
NPM common commands