scp
把本地文件上传到服务器上
scp -P 1234 config/cert/dev/client.pem dev@xx.xxx.xxx:/srv/rorapps/fgcc/config/cert/production
svn VS git
svn
svn checkout server_url
svn status
svn diff **file
svn...
分类:
其他好文 时间:
2014-05-07 15:54:44
阅读次数:
305
刚安装了Ubuntu 14.04 server的虚拟机,普通帐号可以远程登录,但是root不行,输入密码后一直报错:permission denied最后发现ssh的配置(/etc/ssh/sshd_config)不大一样,14.04的默认配置是:PermitRootLogin without-password
要改成PermitRootLogin yes重启服务即可:restart ssh...
分类:
其他好文 时间:
2014-05-07 15:52:02
阅读次数:
359
23.1 介绍
Spring提供了一个JSM集成框架,简化了JMS API的使用。这点很像Spring对JDBC的集成。
JMS大致提供生产消息和消费消息两类功能。JmsTemplate类用来生产消息和同步接收消息【译注:接收消息也就是消费消息】。为了异步接收消息(异步接收消息类似于JavaEE的消息驱动Bean(Message-Driven Bean,MDB),Spring提供了一组消息监听器容器(messagelistener containers),用来创建多个消息驱动POJO(Message-D...
分类:
编程语言 时间:
2014-05-07 15:39:58
阅读次数:
666
在 WEB 开发中,可能会很少需要显示的获得 ApplicationContext 来得到由 Spring 进行管理的某些 Bean, 今天我就遇到了,在这里和大家分享一下, WEB 开发中,怎么获取 ApplicationContext
一 要想怎么获取 ApplicationContext, 首先必须明白 Spring 内部 ApplicationContext 是怎样存储...
分类:
移动开发 时间:
2014-05-07 15:12:03
阅读次数:
439
I had a similar problem when running a spring
web application in an Eclipse managed tomcat. I solved this problem by adding
maven dependencies in the ...
分类:
移动开发 时间:
2014-05-07 14:33:12
阅读次数:
486
Spring整合JUnit框架进行单元测试代码使用详解,代码下载地址:http://www.zuidaima.com/share/1775457756285952.htm...
分类:
编程语言 时间:
2014-05-07 12:32:30
阅读次数:
374
This is a summary of some of the most important
questions concerning the Spring Framework, that you may be asked to answer in an
interview or in an in...
分类:
编程语言 时间:
2014-05-07 01:48:25
阅读次数:
601
NOP的定时任务也是群里听群友听说,我很少在WEB端做定时任务,所以尝鲜下,看看效果怎么样.主要涉及到下面几个类和配置文件配置:web.config
...
分类:
其他好文 时间:
2014-05-07 01:30:18
阅读次数:
371
1、介绍 之前在很多地方一直见到这个Spring Data
神奇的东西,不知道是啥东东,终于,今天来简单的探个究竟,底下是我从网上整理来的……
首先,解释下为啥要使用Spring来集成MongoDB:因为mongoDB的java驱动程序使用起来较为繁琐,特别是处理关联关系多、层次深的情况时。需要.....
分类:
数据库 时间:
2014-05-07 00:56:44
阅读次数:
511
C:\Users\xxx\Documents\IISExpress\config\applicationhost.config
将这里面带的项目路径替换成你当前路径{"创建 cachingConfiguration 的配置节处理程序时出错:
未能加载文件或程序集“Microsoft.Practice...
分类:
其他好文 时间:
2014-05-07 00:53:20
阅读次数:
414