- 博客(14)
- 资源 (1)
- 收藏
- 关注
原创 Spring基础——Bean
Spring核心Spring的核心机制就是IoC(控制反转)容器,被调用者的实例并不是由调用者创建(new),而是由Spring容器完成,然后注入调用者,调用者便获得了被调用者的实例,这也称为依赖注入(DI)。而ApplicationContext就是一个很强大的IoC容器,那些有setter和getter方法的类也叫做Bean,这些 bean 是由用容器提供的配置元数据创建的(容器内不是一开始就有
2018-03-31 19:46:49 241
原创 Struts基础应用1——登录
本例实现Struts最简单的功能——用户登录。struts实例首先,从官网下载Struts软件,解压后将lib内的jar包拷贝到自己web项目内的WEB-INF/lib下。然后,直接上代码:login_struts.jsp,登录界面"java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2018-03-19 22:04:32 279
原创 Hibernate基础
Hibernate原理介绍运行过程示例配置文件映射文件持久化类执行事务基于Annotation注解实现数据的CRUDPO/VOHibernate的缓存一级缓存二级缓存Hibernate优点Hibernate缺点MyBatis简介Hibernate原理介绍hibernate是一个开放源代码的对象关系映射框架(ORM),它的作用就是在关系...
2018-03-19 22:04:01 205
原创 C语言笔记
指针相关sizeof和strlen的区别:字符指针字符指针创建用指针进行字符修改指针大小指针运算与自增/自减运算符结合二维数组,指针数组,数组指针函数指针与指针函数typedef结构结构声明->运算符与++、*等结合使用联合联合的大小位字段输入与输出%d,有符号整型数,字节数看机器,本机4字节printf...
2018-03-03 14:41:35 414
POJ---1456.Supermarket测试数据及答案
2018-04-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人