如同IDEA之中,显示的Spring框架下面有
SpringBatch,
SpringData JPA,
Spring integration,
Spring MVC,
Spring Security,
Spring Web Flow,
Spring Web Services,等
他们之间是什么关系,和Spring框架之间又有什么关系?
如果创建一个最简单的Hello Spring程序我应该勾选哪个?
如同IDEA之中,显示的Spring框架下面有
SpringBatch,
SpringData JPA,
Spring integration,
Spring MVC,
Spring Security,
Spring Web Flow,
Spring Web Services,等
他们之间是什么关系,和Spring框架之间又有什么关系?
如果创建一个最简单的Hello Spring程序我应该勾选哪个?
Spring framework
是分模块的,用一张spring的官方文档上的图来说明
http://docs.spring.io/spring/...
你图上的这些项目都是基于这些模块开发的Spring的子项目,比如说Spring MVC是针对web开发的,那么它里面用到的模块有Spring web等,还有一些Spring的核心模块。
你只是写一个Hello world的话,用Spring Core Container下的模块就行了。
4 回答1.8k 阅读✓ 已解决
4 回答1.5k 阅读✓ 已解决
1 回答2.7k 阅读✓ 已解决
3 回答1.4k 阅读✓ 已解决
4 回答2.4k 阅读
2 回答847 阅读✓ 已解决
2 回答1.4k 阅读
勾选Spring MVC,上述的区别,你从字面意思就可以看出来,spring MVC是做MVC框架的,web service做接口的,现在都用restful api了,就不用webservice了,其他的很少使用,你可以在spring官网上查到:spring.io
Spring Batch provides reusable functions that are essential in processing large volumes of records, including logging/tracing, transaction management, job processing statistics, job restart, skip, and resource management. It also provides more advanced technical services and features that will enable extremely high-volume and high performance batch jobs through optimization and partitioning techniques. Simple as well as complex, high-volume batch jobs can leverage the framework in a highly scalable manner to process significant volumes of information.
Spring Web Flow builds on Spring MVC and allows implementing the "flows" of a web application. A flow encapsulates a sequence of steps that guide a user through the execution of some business task. It spans multiple HTTP requests, has state, deals with transactional data, is reusable, and may be dynamic and long-running in nature..