码迷,mamicode.com
首页 >  
搜索关键字:spring data    ( 106273个结果
LeetCode OJ - LRU Cache
题目: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset. get(key)- Get ...
分类:其他好文   时间:2014-05-16 05:42:29    阅读次数:280
Spring配置RMI
一、概述 传统的创建RMI服务,会涉及如下几个步骤: 1、编写远程服务接口,该接口必须继承 java.rmi.Remote 接口,方法必须抛出 java.rmi.RemoteException 异常; 2、编写远程接口实现类,该实现类必须继承 java.rmi.server.UnicastRemot...
分类:编程语言   时间:2014-05-16 05:15:24    阅读次数:381
spring 笔记
spring作为一个轻量级框架,并没有什么划时代的革新,也没有新鲜的点子让你耳目一新。但一直以来它却与jave息息相关,他做了什么?让我们这么依赖与它?我想,知道spring的都知道ioc,aop,就是说注入和切面。简单来讲,降低耦合和控制事物。否则,你需要不断的new来new去、不断的传递那个co...
分类:编程语言   时间:2014-05-15 16:36:36    阅读次数:344
Struts2+Hibernate+Spring框架实现增删改查
一、添加3个框架的JAR包,完成后写配置文件;1、web配置文件: 1 2 3 oa 4 5 index.html 6 index.htm 7 index.jsp 8 default.html 9 default.htm10 defaul...
分类:编程语言   时间:2014-05-15 16:08:58    阅读次数:2309
安卓函数(1)
startActivityForResult(Intent intent, int requestCode)onActivityResult(int requestCode, int resultCode, Intent data)setResult(int resultCode, Intent d...
分类:移动开发   时间:2014-05-15 15:48:49    阅读次数:372
C++的允诺 ---- 默认构造函数 真的如你所愿吗
首先,本篇文章只讲 “默认构造函数”,即如你所知,默认构造函数是不带参数的构造函数。 编译器会在 适当的时候 为class合成一个默认构造函数 ~~ 先问以下两个问题: 编译器会为任何没有声明构造函数的class,合成默认构造函数?? 错!!! 合成的默认构造函数会显示设定class内的每一个data member的默认值?? 错!!! class Base { public: ...
分类:编程语言   时间:2014-05-15 06:25:02    阅读次数:270
Unable to instantiate Action, xxxAction, defined for 'xxx' in namespace '/'xxxAction解决方案
出现这个问题的原因主要有两个 1、如果项目没有使用Spring,则struts.xml配置文件中,这个action的class属性的路径没有写完整,应该是包名.类名 2、如果项目使用了Spring,那就是applicationContext.xml里面没有为这个action定义bean。这样strus.xml中的对应action的class属性的值就是Spring配置文件中bean的id,比如...
分类:其他好文   时间:2014-05-15 05:24:51    阅读次数:229
Hive sql 语法解读
一、 创建表      在官方的wiki里,example是这样的: Sql代码   CREATE [EXTERNAL] TABLE [IF NOT EXISTS] table_name    [(col_name data_type [COMMENT col_comment], ...)]    [COMMENT table_comment]    [PARTITION...
分类:数据库   时间:2014-05-14 14:50:27    阅读次数:463
Json数据转换
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro...
分类:Web程序   时间:2014-05-14 13:33:33    阅读次数:510
boost::interprocess(2)
//doc_anonymous_mutex_shared_data.hpp#include struct shared_memory_log{ enum { NumItems = 100 }; enum { LineSize = 100 }; shared_memory_log()...
分类:其他好文   时间:2014-05-14 10:38:00    阅读次数:343
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!