技术交流QQ群:651499479,欢迎java大神指点迷津,也欢迎新手进群学习。
java web application architecture based on spring mvc
- AppContxt.getCurrentRequest 与直接 request 注入方式的性能比较;
- 抛异常的方式与直接返回的方式的性能比较;
- mvn archetype:create-from-project //安装该archetype项目到你的本地仓库;
- cd target/generated-sources/archetype;
- mvn install;
- mvn archetype:crawl //执行crawl命令,生成archetype-catalog.xml,会发现在咱们的本地仓库的根目录生成archetype-catalog.xml骨架配置文件;
- 在本地maven仓库中的archetype-catalog.xml找到archetype信息;
- 在idea-file-new-project-maven, add archetype 中填入上一步的信息,然后选中该项即可创建完成。