码迷,mamicode.com
首页 >  
搜索关键字:spring data mongodb    ( 115491个结果
Spring中@Autowired注解、@Resource注解的区别
Spring不但支持自己定义的@Autowired注解,还支持几个由JSR-250规范定义的注解,它们分别是@Resource、@PostConstruct以及@PreDestroy。 @Resource的作用相当于@Autowired,只不过@Autowired按byType自动注入,而@Res....
分类:编程语言   时间:2014-05-22 03:22:42    阅读次数:228
WinForm 进度条
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:Windows程序   时间:2014-05-22 02:29:34    阅读次数:504
android开发之-数据存储Map、HashMap、Hashtable、concurenthashmap区别
选择一个map进行软件基础数据初始化操作,要求第一次初始化后,不修改数据,可能会出现静态类被回收,然后在进行初始化操作?1.Map :接口/** * A {@code Map} is a data structure consisting of a set of keys and values * ...
分类:移动开发   时间:2014-05-22 02:26:20    阅读次数:413
———— JSP页面用EL表达式 输出date格式 ————
JSP页面用EL表达式 输出date格式1、头上引入标签2、使用:3. 案例 ${data.restaurantName } ${data.voucherActivityIn...
分类:Web程序   时间:2014-05-22 02:14:42    阅读次数:355
(转载)Spring 注解@Component,@Service,@Controller,@Repository
Spring2.5 中除了提供 @Component 注释外,还定义了几个拥有特殊语义的注释,它们分别是:@Repository、@Service 和 @Controller。在目前的Spring版本中,这 3 个注释和 @Component 是等效的,但是从注释类的命名上,很容易看出这 3 个注释...
分类:编程语言   时间:2014-05-22 01:39:14    阅读次数:322
使用 Spring 2.5 注释驱动的 IoC 功能(转)
基于注释(Annotation)的配置有越来越流行的趋势,Spring 2.5 顺应这种趋势,提供了完全基于注释配置 Bean、装配 Bean 的功能,您可以使用基于注释的 Spring IoC 替换原来基于 XML 的配置。本文通过实例详细讲述了 Spring 2.5 基于注释 IoC 功能的使用...
分类:编程语言   时间:2014-05-21 23:52:49    阅读次数:513
MySQL GTIDs(global transaction identifiers)
1、如何定义和生成GTIDs唯一性:在所有主从库都是唯一的,由二元组构成GTID = source_id:transaction_idsource_id标记主库的1.1 server_uuid获取server_uuid的方式a、判断data_dir/auto.cnf文件是否存在,如果存在返回b、不存...
分类:数据库   时间:2014-05-21 23:11:36    阅读次数:459
ECOS高可用集群
此架构由8台PC 、2台防火墙、2台24口三层交换机组成,注意点:1)Load Balance:Haprxoy+keepalived 实现高可用。2)web:Nginx+php-fpm3)DB:mysql5主从+Mongodb副本+Memcached4)IMG:Varnish+Nginx+NFS网卡...
分类:其他好文   时间:2014-05-21 22:50:12    阅读次数:305
sprint.net(2) AOP面向切面编程,spring.net的环绕通知;Spring.net的AOP通知的四种类型
AOP 有点类似于我们MVC里面的Filter过滤器,例如在MVC里面,如果给一个Action上打一个标签,就可以在这个Action执行之前或者之后,额外的执行一个方法,这个就相当于是面向切面编程. 无侵入式的. (也就是在不改变原来的代码的情况下,来跳转到一个其他的方法,执行完毕后回到主方法..)...
分类:编程语言   时间:2014-05-21 22:45:38    阅读次数:323
Data Developer Center > Learn > Entity Framework > Get Started > Loading Related Entities
Data Developer Center > Learn > Entity Framework > Get Started > Loading Related Entities Loading Related Entities Entity Framework supports three way...
分类:其他好文   时间:2014-05-21 22:11:41    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!