码迷,mamicode.com
首页 >  
搜索关键字:saving beans    ( 2930个结果
指定查询条件,查询对应的集合List(单表)
TestDao.java(测试类)@Testpublic void findCollectionByConditionNoPage(){ApplicationContext ac = new ClassPathXmlApplicationContext("beans.xml");IElecTextS...
分类:其他好文   时间:2015-05-29 00:25:11    阅读次数:355
Oracle OAF 应用构建基础之实现控制器 (转)
原文地址:Oracle OAF 应用构建基础之实现控制器设计一个OA Controller如OA Framework Page解析中所描述的,OA Controller定义了web beans的行为。具体来说,编写控制器代码的目的是:?在运行时处理/初始化UI(包含那些通过编程方式添加的layout...
分类:数据库   时间:2015-05-28 22:55:04    阅读次数:310
PAT Saving James Bond - Easy Version
Saving James Bond - Easy VersionAssume that the lake is a 100 by 100 square one. Assume that the center of the lake is at (0,0) and the northeast corn...
分类:其他好文   时间:2015-05-28 15:48:22    阅读次数:167
SSH项目练习的时候报错:[applicationContext.xml]: Invocation of init method failed;
这里是控制台的报错信息:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ap...
分类:移动开发   时间:2015-05-26 17:48:03    阅读次数:150
IoC(控制反转)的主要组件和注入的两种方式
一.IoC的主要组件: (1).Spring框架的两个最基本和最重要的包是org.springframework.beans.factory(该包中的主要接口是BeanFactory)和org.springframework.context包(该包中的主要接口是ApplicationFactory)。这两个包中的代码提供了Spring IoC特性的基础。 (2).Spring IoC框架的主要...
分类:其他好文   时间:2015-05-26 14:26:55    阅读次数:171
android中正确保存view的状态
英文原文:http://trickyandroid.com/saving-android-view-state-correctly/转载此译文须注明出处。今天我们聊一聊安卓中保存和恢复view状态的问题。我刻意强调View状态是因为我发现这个过程要比保存 Activity 和 Fragment状态稍...
分类:移动开发   时间:2015-05-26 12:31:42    阅读次数:259
第二次作业:MySQL数据库及Java操作MySQL数据库
把mysql与java连接的jar(mysql-connector-java-5.1.6-bin.jar)包导入工程. package com.cn.edu; import java.beans.Statement; import java.sql.Connection; import java.sql.DriverManager; im...
分类:数据库   时间:2015-05-25 10:07:54    阅读次数:209
spring mvc 学习笔记1
一.搭建spring mvc 的hello world 1.添加jar包: commons-logging-1.1.1.jar spring-aop-4.1.6.RELEASE.jar spring-beans-4.1.6.RELEASE.jar spring-context-4.1.6.RELEASE.jar spring-core-4.1.6.RELEASE.jar...
分类:编程语言   时间:2015-05-25 10:03:11    阅读次数:129
Spring JdbcTemplate框架(2)——动态建表
本篇博客使用Spring JdbcTemplate实现动态建表。前面介绍了,它封装了数据库的基本操作,让我们使用起来更加灵活,下面来实战。   1、准备工作 引入jar包 2、applicationContext.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns...
分类:数据库   时间:2015-05-25 08:36:46    阅读次数:220
SpringMVC项目中启动自加载Listener
package com.kuman.cartoon.listener; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationListener; import org.springfra...
分类:编程语言   时间:2015-05-24 22:00:15    阅读次数:323
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!