贴出的代码实现了基本的增删改查,有哪些地方有问题欢迎指正,也欢迎交流,每一次的进步都离不开大家的帮助。...
分类:
编程语言 时间:
2014-06-05 11:52:01
阅读次数:
388
最近需要做些接口服务,服务协议定为JSON,为了整合在Spring中,一开始确实费了很大的劲,经朋友提醒才发现,SpringMVC已经强悍到如此地步,佩服!相关参考:Spring
注解学习手札(一) 构建简单Web应用Spring 注解学习手札(二) 控制层梳理Spring 注解学习手札(三) 表单...
分类:
编程语言 时间:
2014-05-31 17:06:01
阅读次数:
339
http://java.dzone.com/articles/performance-tuningFor most typical
Spring/Hibernate enterprise applications, the application performance depends
almost...
分类:
移动开发 时间:
2014-05-31 16:53:03
阅读次数:
404
Hibernate provides SQL logging out of the box,
but such logging only shows prepared statements, and not the actual SQL queries
sent to the database.It...
分类:
数据库 时间:
2014-05-31 16:47:16
阅读次数:
514
在实例中spring的配置非常简单而且非常实用,毕竟我们是从搭建框架的根本开始,还没有整合其它高级应用,内容也就略显少了一些。也正因此,成为spring注解模式的最佳入门教材。
分类:
编程语言 时间:
2014-05-31 14:20:29
阅读次数:
276
spring的核心是IOC和DI,首先要明白IOC和DI的概念。IOC,即Inverse of
Control,反转控制,就是将原本在程序中手动创建service对象的控制权交给spring容器管理,简单的说就是对象的创建权交给了spring容器管理。DI,即Dependency
Injection...
分类:
编程语言 时间:
2014-05-31 14:09:11
阅读次数:
389
task Scheduler根据定义The task Scheduler by the
definition blurb.“Is the class where the usage context is within the task
libraries. “它的作用像是WPF/Winform时代的...
分类:
其他好文 时间:
2014-05-31 05:55:17
阅读次数:
312
Spring的@RequestBody非常牛x,可以将提交的json直接转换成POJO对象。正好今天有这样的需求,使用一下,结果一直报415,十分头疼。HTTP
415 错误–不支持的媒体类型(Unsupported media type)我的angularJs是这样写的$http({method:...
分类:
编程语言 时间:
2014-05-31 04:49:43
阅读次数:
758
DescriptionYou have an
arraya[1],?a[2],?...,?a[n], containing distinct integers from1ton. Your task is
to sort this array in increasing order with the...
分类:
其他好文 时间:
2014-05-31 01:35:23
阅读次数:
318
lee/MyTest.hbm.xml org.hibernate.dialect.
MySQLDialect update 一旦在Spring的IoC容器中配置了SessionFactory
Bean,它将随应用的启动而加载,并可以充分利用IoC容器的功...
分类:
编程语言 时间:
2014-05-30 23:31:59
阅读次数:
405