Spring
山___
当你还不能写出自己满意的程序时,你就不要去睡觉。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring bean 中的init-method和destroy-method (带示例说明)
在spring中可以通过配置文件或者注解指定,在bean初始化之后要执行的初始化方法,以及在bean销毁时执行的方法。 可以通过下面的例子可以直观的理解一下. 我们首先要建好spring的开发环境,具体参考:http://outofmemory.cn/java/spring/spring-hello-world 我们先建一个Person类: package cn.outofme原创 2017-10-10 14:12:49 · 1402 阅读 · 0 评论 -
Building a RESTful Web Service
建一个RESTFul web service 服务. 1 IDE: IntelliJ IDEA; 2 项目为Maven项目. ---------目标---------------- What you’ll build You’ll build a service that will accept HTTP GET requests at: http://loc原创 2017-10-10 16:40:36 · 381 阅读 · 0 评论 -
execute、executeUpdate、executeQuery三者的区别(及返回值)
函数接口使用说明原创 2017-10-13 18:01:59 · 504 阅读 · 0 评论
分享