上一页 1 2 3 4 5 6 ··· 95 下一页
摘要: 一、在 Spring Config 文件中配置 Bean 时,有时候需要在 Bean 的配置里添加 系统部署的细节信息, 如文件路径,数据源配置信息。而这些部署细节实际上需要在配置文件外部来定义。 二、Spring 提供了一个 PropertyPlaceholderConfigurer 的 ... 阅读全文
posted @ 2017-03-22 10:14 N3verL4nd 阅读(142) 评论(0) 推荐(0) 编辑
摘要: The scope of this bean: typically "singleton" (one shared instance,which will be returned by all calls to getBean with the given id), or"prototype"... 阅读全文
posted @ 2017-03-22 09:34 N3verL4nd 阅读(170) 评论(0) 推荐(0) 编辑
摘要: The scope of this bean: typically "singleton" (one shared instance,which will be returned by all calls to getBean with the given id), or"prototype"... 阅读全文
posted @ 2017-03-22 09:34 N3verL4nd 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 使用Eclipse Neon安装Spring Tool Suite报错: Cannot complete the install because one or more required items could not be found. Software being installed... 阅读全文
posted @ 2017-03-21 19:31 N3verL4nd 阅读(17758) 评论(0) 推荐(2) 编辑
摘要: 使用Eclipse Neon安装Spring Tool Suite报错: Cannot complete the install because one or more required items could not be found. Software being installed... 阅读全文
posted @ 2017-03-21 19:31 N3verL4nd 阅读(956) 评论(0) 推荐(0) 编辑
摘要: 使用Gradle构建Java项目 这个手册将通过一个简单的Java项目向大家介绍如何使用Gradle构建Java项目。 我们将要做什么? 我们将在这篇文档中创建一个简单的Java项目,然后使用Gradle构建它。 需要准备什么? 预留15分钟空闲时间一件称手的兵器(你最喜欢的IDE或者文本编... 阅读全文
posted @ 2017-03-21 15:50 N3verL4nd 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 使用Gradle构建Java项目 这个手册将通过一个简单的Java项目向大家介绍如何使用Gradle构建Java项目。 我们将要做什么? 我们将在这篇文档中创建一个简单的Java项目,然后使用Gradle构建它。 需要准备什么? 预留15分钟空闲时间一件称手的兵器(你最喜欢的IDE或者文本编... 阅读全文
posted @ 2017-03-21 15:50 N3verL4nd 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 目标:https://github.com/davenkin/springmvc4-helloworld 使用SpringMVC编写的一个HelloWorld程序。 初学Gradle只能一步步摸索前进。 该项目对应的build.gradle apply plugin: 'idea'apply ... 阅读全文
posted @ 2017-03-20 21:31 N3verL4nd 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 目标:https://github.com/davenkin/springmvc4-helloworld 使用SpringMVC编写的一个HelloWorld程序。 初学Gradle只能一步步摸索前进。 该项目对应的build.gradle apply plugin: 'idea'apply ... 阅读全文
posted @ 2017-03-20 21:31 N3verL4nd 阅读(505) 评论(0) 推荐(0) 编辑
摘要: •Spring IOC 容器可以管理 Bean 的生命周期,Spring 允许在 Bean 生命周期的特定点执行定制的任务. •Spring IOC 容器对 Bean的生命周期进行管理的过程: –通过构造器或工厂方法创建 Bean实例 –为 Bean 的属性设置值和对其他Bean的引用 –调用... 阅读全文
posted @ 2017-03-20 15:56 N3verL4nd 阅读(227) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 95 下一页