讨论区 » AAS-V10敏捷版 »
【需求】:应用系统使用JFinal+Undertow进行开发,JFinal对标Springboot,Undertow对标tomcat;即需更换Undertow为AAMS
【选型】:如何迁移呢?首先没法使用内嵌的方式,因为本身就不是用springboot开发的,JFinal本身内置应用服务器,貌似只有jetty和undertow,如果换成springboot开发,代码修改成本比较高;
根据查询的tomcat迁移资料,JFinal迁移采用tomcat外置容器。
【迁移方式】:参考此处:https://jfinal.com/doc/1-3
另外注意代码中可能需注释掉相关undertow的依赖引入才行,附件中有简单的JFinal迁移demo,可部署于tomcat容器中。
JfinalTest.war (801 KB) JfinalTest.war |