很多程序员通过在类上使用@Repository、@Component、@Service 和 @Constroller 注解,Spring会自动创建相应的 BeanDefinition 对象,并注册到 ApplicationContext 中。这些类就成了 Spring受管组件。这三个注解除了作用于不同软件层次的类,其使用方式与@Repository 是完全相同的。
分类:
编程语言 时间:
2020-02-28 09:17:04
阅读次数:
84
mongodb主从配置 1.在主从服务器上/etc/yum.repos.d/目录下创建文件mongodb.repo,它包含MongoDB仓库的配置信息,内容如下: [mongodb] name=MongoDB Repository baseurl=http://downloads-distro.mo ...
分类:
数据库 时间:
2020-02-27 19:18:12
阅读次数:
97
Java程序员常用的@Component、@Repository、@Controller、@Service系列【案例demo3】 很多程序员通过在类上使用@Repository、@Component、@Service 和 @Constroller 注解,Spring会自动创建相应的 BeanDefi ...
分类:
编程语言 时间:
2020-02-27 15:54:34
阅读次数:
56
http://kafka.apache.org/ 国际网站 发布与订阅,处理,存储 http://kafka.apachecn.org/ 中文网站 中文网站中点击[发布与订阅]进去是错误的貌似,因为两个依赖都是clients 而我查了下maven repository站,里面是真的有producer ...
分类:
其他好文 时间:
2020-02-27 14:38:58
阅读次数:
73
一、概述 1、桌面环境: Windows7,OpenSUSE 13.2,Kubuntu(KDE) 2、yum安装回顾 a、yum程序包管理器 C/S: yum client(yum) yum repository(ftp/http/https) base:主包 extras:额外的包 updates ...
分类:
系统相关 时间:
2020-02-27 00:57:00
阅读次数:
108
1. 安装 sudo add-apt-repository ppa:sunderme/texstudio sudo apt-get update && sudo apt-get install texstudio 2. 使用 textstudio ...
分类:
其他好文 时间:
2020-02-26 11:40:08
阅读次数:
73
Jenkins maven SNAPSHOT包在打包上去后,出现别的系统无法拉取,反编译包没有问题,其实是因为SNAPSHOT包maven默认不拉取 解决方案: <repositories> <repository> <id>nexus</id> <url>maven 私库 public地址</ur ...
分类:
编程语言 时间:
2020-02-26 11:37:39
阅读次数:
534
1. 规划 2.设置mysql启动参数 #关于group replication 一些参数 master_info_repository = TABLE relay_log_info_repository = TABLE relay_log_recovery=1 gtid_mode = on enf ...
分类:
数据库 时间:
2020-02-25 14:34:39
阅读次数:
164
1.首先打开Git Bash设置名字和邮箱: git config --global user.name "你的名字" git config --global user.email“你的邮箱" 2.删除.SSH文件下的known_hosts(.SSH在C:\Users\Windows用户名目录下) ...
分类:
数据库 时间:
2020-02-25 12:52:13
阅读次数:
103
初始化GIT仓库 对于Eclipse已有的项目,如果想要初始化为git仓库,可以选中项目右键,选择Team-->Share Project然后在新弹出的界面中勾选use or create repository,选中项目,点击create repository,点击finish完成。 提交项目到远程 ...
分类:
系统相关 时间:
2020-02-25 09:15:42
阅读次数:
76