- jenkins配置ssh的时候测试连接出现Algorithm negotiation fail
t0404
jenkinsssh运维
背景:当jenkins升级后,同时ssh插件也升级,测试ssh连接的时候出现的问题:com.jcraft.jsch.JSchAlgoNegoFailException:Algorithmnegotiationfail:algorithmName="server_host_key"jschProposal="ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-
- jsch中ChannelShell与ChannelExec区别
山鬼谣me
Javajschlinuxjavajsch
环境jdk:java7操作系统:win7因为框架jsch比较老,所以对java版本要求好低。分析框架jsch我就不说了,很老的框架,现在也不更新了。官网:http://www.jcraft.com/jsch/最近在用jsch中的ChannelShell时,遇到问题:①这个方法会返回命令提示符,很烦;比如我要执行下面几个命令:ChannelShellchannel=(ChannelShell)ses
- Java之通过Jsch库连接Linux实现文件传输
小袁搬码
Java17LinuxjavalinuxJSch
Java之通过JSch库连接Linux实现文件传输文章目录Java之通过JSch库连接Linux实现文件传输1.JSch2.Java通过Jsch连接Linux1.poxm.xml2.工具类3.调用案例1.JSch官网:JSch-JavaSecureChannel(jcraft.com)JSch是SSH2的纯Java实现。JSch允许您连接到sshd服务器并使用端口转发、X11转发、文件传输等,以及
- JSch - 配置SFTP服务器SSH免密登录
@lihewei
服务器sshgithub
文章目录1.什么是SFTP2.什么是Jsch以及它的作用3.Linux中配置SSH密钥登录4.sftp服务器认证机制5.publickey和password两种方式登录sftp的API调用6.代码可以如下改造:需求:做一个通过ssh免密登录的需求,是基于原先密码登录sftp服务器的代码上进行改造1.什么是SFTPSFTP是一个安全文件传送协议,可以为传输文件提供一种安全的加密方法。SFTP为SSH
- 【openSSH】JSCH连接SSH报错:Invalid privatekey
Bogon
JSCH连接SSH报错:Invalidprivatekey环境版本号:jsch:jsch-0.1.54.jarSSH:OpenSSH_8.0p1,OpenSSL1.0.2r26Feb2019jdk:1.8JSCH连接SSH报错:Invalidprivatekeyhttps://blog.csdn.net/a17816876003/article/details/107457369OPENSSHPR
- Spring Boot 使用SSH 远程连接 MySql
小刘同学-很乖
mysqlspringbootsshmysql
配置pom文件com.jcraftjsch0.1.46yml配置#3307是转发端口,不能冲突spring:datasource:url:jdbc:mysql://127.0.0.1:3307/dbmysql:ssh:host:ipuser:userpassword:passwordport:22local-port:3307remote-host:172.21.31.2remote-port:3
- Java 获取 Linux服务器主机名称、内网ip、cpu使用率、内存使用率、磁盘使用率、JVM使用率
云村的王子
工具类服务器javalinux
下面的代码直接打包带走使用1、pom文件依赖com.jcraftjsch0.1.552、代码packagecom.xffy.order.controller;importcom.jcraft.jsch.*;importjava.io.BufferedReader;importjava.io.IOException;importjava.io.InputStream;importjava.io.In
- java- SFTP文件上传下载
@lihewei
java服务器
JSch-SFTP文件上传下载文章目录JSch-SFTP文件上传下载1.JSch简介2.ChannelSftp常用ApiJSch支持三种文件传输模式文件上传put()方法文件下载get()方法3.SFTP上传下载代码实现1.sftp工具pom依赖2.编写SFTP工具类3.测试【文件上传】4.测试【文件下载】4.SFTP监控传输进度4.1监控逻辑代码实现4.2上传进度监控【测试】4.3测试结果5.扩
- springboot 中通过定时任务备份数据库并压缩传输到指定另外一台linux服务器得文件夹中 或 发送压缩包到指定邮箱
暗夜潜行
数据库服务器springboot
1、将JSch和邮件插件添加到项目pom文件中。Mavencom.jcraftjsch0.1.55org.springframework.bootspring-boot-starter-mail2、数据备份相关的配置文件#数据库备份配置dbBackups:windowsDir:E:\test\#windows本机得备份目录linuxDir:projectFiles/dbFile#linux本机得备
- SFTP连接、创建多级目录、传文件
银龙丶裁决
SFTP服务器springboot
SFTP连接、创建多级目录、传文件SFTP连接创建目录(逐级)传输文件SFTP常用命令通过FTP或SFTP传输指定格式的数据文件也是常见的需求,本文简单介绍一下常用的SFTP方法,另外需要注意的是,文中涉及的代码全都是在SpringBoot服务中运行的。SFTP连接首先,需要导入依赖com.jcraftjsch0.1.54创建SFTP连接publicclassSftpUtil{@Value("ho
- springboot-SSH-upload
邵云涛
[JSch](是JavaSecureChannel的缩写。)JSch是一个SSH2的纯Java实现。它允许你连接到一个SSH服务器,并且可以使用端口转发,X11转发,文件传输等,当然你也可以集成它的功能到你自己的应用程序。本demo只介绍如何使用JSch实现的SFTP功能。SFTP是SecureFileTransferProtocol的缩写,安全文件传送协议。可以为传输文件提供一种安全的加密方法。
- java上传文件至sftp服务器
boJIke
java服务器开发语言
一、首先引入咱们的pom文件com.jcraftjsch0.1.55二、配置.yml文件有的sftp服务器需要秘钥验证password直接换成秘钥就行不需要密码了sftp:hostname:port:22username:password:timeout:1000uploadpath:/upload/ty/三、新建SftpConfig类@Component@ConfigurationPropert
- 文件上传至Linux系统
org0610
linuxjava
文件上传使用jsch库来建立一个SSH连接,然后通过该连接执行Linux命令来上传文件。com.jcraftjsch0.1.55importcom.jcraft.jsch.*;importjava.io.*;publicclassFileUploader{publicstaticvoidmain(String[]args){StringlocalFilePath="C:\\path\\to\\yo
- sshxcute 踩坑
vinci_hh
sshxcute是一个远程执行shell的java库,踩坑记录如下:报错信息:com.jcraft.jsch.JSchException:Algorithmnegotiationfail参考:https://blog.51cto.com/netsyscode/2062456/etc/profile中配置的环境变量可能无效需要每次执行shell的时候,先执行:source/etc/profile;.
- 使用shell登录ftp服务器判断文件服务器是否可用
周虽旧邦其命维新
工作中遇到的问题shellsessionisdowntelnet
由于上线后项目出现com.jcraft.jsch.JSchException:sessionisdown错误,为了验证生产环境sftp是否可用,于是现学现教现场工作人员使用telnet命令尝试登录sftp服务器shell连接ftptelnet192.168.128.8921随意输入字符串123后提示输入用户名密码输入user用户名,回车再输入pass密码,提示登录成功---------------
- java实现连接远程服务器,并可以执行shell命令
酷爱码
java技术教程java服务器开发语言
你可以使用Java中的SSH库来连接远程服务器并执行shell命令。下面是一个简单的示例代码:importcom.jcraft.jsch.*;publicclassSSHExample{publicstaticvoidmain(String[]args){Stringhost="your_host";Stringusername="your_username";Stringpassword="yo
- java使用jsch处理软链接判断是否文件夹
i查拉图斯特拉如是
javajschlinux
前言这一次主要是碰到一个问题。因为使用jsch去读取文件的时候,有一些文件它是使用软链接制作的一个映射。因为这里面有一个问题。如果它是软链接你就无法判断他到底是文件。还是文件夹?因为他没有提供可以直接读取的方法,用权限信息去判断,文件和文件夹都是l开头,所以这一篇博客的主要目的是介绍如何去处理软链接。判断是实际的文件还是文件夹。遇到的问题从Jsch的参数来看,首先这里他提供的一些Islink是为t
- 通过java程序(JSch)运行远程linux主机上的shell脚本
字母哥课堂
如果您看完文章之后,觉得对您有帮助,请帮我点个赞,您的支持是我不竭的创作动力!如果您看完文章之后,觉得对您有帮助,请帮我点个赞,您的支持是我不竭的创作动力!如果您看完文章之后,觉得对您有帮助,请帮我点个赞,您的支持是我不竭的创作动力!运行远程主机上的shell脚本下面的例子是教给大家如何通过java程序,运行远程主机上的shell脚本。(我讲的不是一个黑客学习教程,而是使用用户名密码去执行有用户认
- 使用JSch通过sftp协议进行文件上传下载操作
yunzhonghefei
Java
1.添加依赖包JSch2.源码packagemain;importjava.io.File;importjava.io.FileInputStream;importjava.io.FileOutputStream;importjava.util.List;importjava.util.Properties;importjava.util.Vector;importcom.jcraft.jsch.
- jsch实现sftp
半纸烟蓝
JSch是一个SSH2的纯Java实现。它允许你连接到一个SSH服务器,并且可以使用端口转发,X11转发,文件传输等,SFTP为SSH的一部份,是一种传输文件到服务器的安全方式。SFTP是使用加密传输认证信息和传输的数据,所以,使用SFTP是非常安全的。但是,由于这种传输方式使用了加密/解密技术,所以传输效率比普通的FTP要低得多。要使用JSch,需要下载它的jar包,请从官网下载它:http:/
- java代码用jsch实现SFTP文件传输
阿金的编程历练
javatomcatsdkman
今天开发遇到点老项目上的东西,对于我这种新人来说还是比较陌生的,准备记录一下.领导一直在给我说SFTP接口xxx的传输xxx的之前不知道这玩意干啥的,百度搜一下,学习记录一下.先说一下SFTP吧SFTP(SSHFileTransferProtocol,也称SecretFileTransferProtocol)它是一种安全的文件传输协议,一种通过网络传输文件的安全方法;它确保使用私有和安全的数据流来
- java 基于jsch实现sftp文件上传
若相惜、不离不弃
目录1.添加依赖2.sftp实现上传3说明1.添加依赖com.jcraftjsch0.1.542.sftp实现上传importjava.io.File;importjava.io.FileInputStream;importjava.io.FileNotFoundException;importjava.io.InputStream;importjava.util.Properties;impor
- JSch进行sftp文件上传下载实践
飞@蚁
JAVA服务器java网络
JSch进行sftp文件上传下载最近使用JSch进行sftp文件上传下载,直接在官网找到样例使用,但在并发情景下并不理想,分析代码,发现每次都会新建session,代码如下:JSchjsch=newJSch();session=jsch.getSession(username,serverIp,serverPort);session.setPassword(password);Properties
- java jsch sftp_java-jsch实现sftp文件操作
Jason Hsiao
javajschsftp
(曾在天涯)的文章详细讲解了jsch中的函数以及用法下面是一个例子:packagecom.util;importjava.io.File;importjava.io.FileInputStream;importjava.io.FileOutputStream;importjava.util.Properties;importjava.util.Vector;importcom.jcraft.jsc
- jsch 移动服务器上文件,使用JSch实现SFTP文件传输
Reinhardt Jin
jsch移动服务器上文件
1、JSch开发包下载目前最新版本为:jsch-0.1.512、简单例子,列出指定目录下的文件列表importjava.util.Properties;importjava.util.Vector;importcom.jcraft.jsch.ChannelSftp;importcom.jcraft.jsch.JSch;importcom.jcraft.jsch.Session;publicclas
- Java利用JSch实现sftp通过ssh上传下载删除文件及配置代码
weixin_42098295
JSch是SSH2的纯Java实现。JSch允许您连接到sshd服务器并使用端口转发,X11转发,文件传输等,您可以将其功能集成到您自己的Java程序中。本文主要介绍利用JSch实现sftp通过ssh上传下载文件和一些相关配置。原文地址:Java利用JSch实现sftp通过ssh上传下载删除文件及配置代码
- java代码sftp免密登录_详解Java使用Jsch与sftp服务器实现ssh免密登录
LouisWK
java代码sftp免密登录
一、什么是SFTP?SFTP是一个安全文件传送协议,可以为传输文件提供一种安全的加密方法。SFTP为SSH的一部份,是一种传输文件到服务器的安全方式。SFTP是使用加密传输认证信息和传输的数据,所以,使用SFTP是非常安全的。但是,由于这种传输方式使用了加密/解密技术,所以传输效率比普通的FTP要低得多,如果您对网络安全性要求更高时,可以使用SFTP代替FTP。二、什么是Jsch以及它的作用?Js
- java实现sftp文件上传_JSch - Java实现的SFTP(文件上传详解篇)
li jason
java实现sftp文件上传
http://www.byywee.com/page/M0/S755/755589.html本文只介绍如何应用JSch实现的SFTP功能。SFTP是SecureFileTransferProtocol的缩写,安然文件传送和谈。可认为传输文件供给一种安然的加密办法。SFTP为SSH的一部份,是一种传输文件到办事器的安然体式格式。SFTP是应用加密传输认证信息和传输的数据,所以,应用SFTP是很是安然
- java jsch sftp_java使用JSCH实现SFTP文件管理
编导自习室
javajschsftp
本文实例为大家分享了java使用JSCH实现SFTP文件管理的具体代码,供大家参考,具体内容如下一、连接配置1.在项目中导入jsch-0.1.51.jar包;2.创建SFTP类,存放连接属性,其中要注意一点,在进行FTP操作时,一个会话在建立连接通道后进入A目录进行文件操作,不能直接跳到同级或上级目录操作,需要先退出当前会话或者新建会话。publicclassSFTP{privateSession
- 使用Jsch通过SFTP下载ZIP文件并解压
半斤米粉闯天下
JavaLinuxsftpJSCHzip
ZIP模块用的并不是java.util下的,而是apache的commons-compress,用apache的库可以避免很多因为操作系统问题造成的编码异常。大概流程是这样的:本地通过sftp访问服务器上的某个目录,然后获取到其中的zip文件并分别提取文件流。importcom.central.common.feign.FileService;importcom.central.common.mo
- 关于旗正规则引擎规则中的上传和下载问题
何必如此
文件下载压缩jsp文件上传
文件的上传下载都是数据流的输入输出,大致流程都是一样的。
一、文件打包下载
1.文件写入压缩包
string mainPath="D:\upload\"; 下载路径
string tmpfileName=jar.zip; &n
- 【Spark九十九】Spark Streaming的batch interval时间内的数据流转源码分析
bit1129
Stream
以如下代码为例(SocketInputDStream):
Spark Streaming从Socket读取数据的代码是在SocketReceiver的receive方法中,撇开异常情况不谈(Receiver有重连机制,restart方法,默认情况下在Receiver挂了之后,间隔两秒钟重新建立Socket连接),读取到的数据通过调用store(textRead)方法进行存储。数据
- spark master web ui 端口8080被占用解决方法
daizj
8080端口占用sparkmaster web ui
spark master web ui 默认端口为8080,当系统有其它程序也在使用该接口时,启动master时也不会报错,spark自己会改用其它端口,自动端口号加1,但为了可以控制到指定的端口,我们可以自行设置,修改方法:
1、cd SPARK_HOME/sbin
2、vi start-master.sh
3、定位到下面部分
- oracle_执行计划_谓词信息和数据获取
周凡杨
oracle执行计划
oracle_执行计划_谓词信息和数据获取(上)
一:简要说明
在查看执行计划的信息中,经常会看到两个谓词filter和access,它们的区别是什么,理解了这两个词对我们解读Oracle的执行计划信息会有所帮助。
简单说,执行计划如果显示是access,就表示这个谓词条件的值将会影响数据的访问路径(表还是索引),而filter表示谓词条件的值并不会影响数据访问路径,只起到
- spring中datasource配置
g21121
dataSource
datasource配置有很多种,我介绍的一种是采用c3p0的,它的百科地址是:
http://baike.baidu.com/view/920062.htm
<!-- spring加载资源文件 -->
<bean name="propertiesConfig"
class="org.springframework.b
- web报表工具FineReport使用中遇到的常见报错及解决办法(三)
老A不折腾
finereportFAQ报表软件
这里写点抛砖引玉,希望大家能把自己整理的问题及解决方法晾出来,Mark一下,利人利己。
出现问题先搜一下文档上有没有,再看看度娘有没有,再看看论坛有没有。有报错要看日志。下面简单罗列下常见的问题,大多文档上都有提到的。
1、repeated column width is largerthan paper width:
这个看这段话应该是很好理解的。比如做的模板页面宽度只能放
- mysql 用户管理
墙头上一根草
linuxmysqluser
1.新建用户 //登录MYSQL@>mysql -u root -p@>密码//创建用户mysql> insert into mysql.user(Host,User,Password) values(‘localhost’,'jeecn’,password(‘jeecn’));//刷新系统权限表mysql>flush privileges;这样就创建了一个名为:
- 关于使用Spring导致c3p0数据库死锁问题
aijuans
springSpring 入门Spring 实例Spring3Spring 教程
这个问题我实在是为整个 springsource 的员工蒙羞
如果大家使用 spring 控制事务,使用 Open Session In View 模式,
com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.
- 百度词库联想
annan211
百度
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RunJS</title&g
- int数据与byte之间的相互转换实现代码
百合不是茶
位移int转bytebyte转int基本数据类型的实现
在BMP文件和文件压缩时需要用到的int与byte转换,现将理解的贴出来;
主要是要理解;位移等概念 http://baihe747.iteye.com/blog/2078029
int转byte;
byte转int;
/**
* 字节转成int,int转成字节
* @author Administrator
*
- 简单模拟实现数据库连接池
bijian1013
javathreadjava多线程简单模拟实现数据库连接池
简单模拟实现数据库连接池
实例1:
package com.bijian.thread;
public class DB {
//private static final int MAX_COUNT = 10;
private static final DB instance = new DB();
private int count = 0;
private i
- 一种基于Weblogic容器的鉴权设计
bijian1013
javaweblogic
服务器对请求的鉴权可以在请求头中加Authorization之类的key,将用户名、密码保存到此key对应的value中,当然对于用户名、密码这种高机密的信息,应该对其进行加砂加密等,最简单的方法如下:
String vuser_id = "weblogic";
String vuse
- 【RPC框架Hessian二】Hessian 对象序列化和反序列化
bit1129
hessian
任何一个对象从一个JVM传输到另一个JVM,都要经过序列化为二进制数据(或者字符串等其他格式,比如JSON),然后在反序列化为Java对象,这最后都是通过二进制的数据在不同的JVM之间传输(一般是通过Socket和二进制的数据传输),本文定义一个比较符合工作中。
1. 定义三个POJO
Person类
package com.tom.hes
- 【Hadoop十四】Hadoop提供的脚本的功能
bit1129
hadoop
1. hadoop-daemon.sh
1.1 启动HDFS
./hadoop-daemon.sh start namenode
./hadoop-daemon.sh start datanode
通过这种逐步启动的方式,比start-all.sh方式少了一个SecondaryNameNode进程,这不影响Hadoop的使用,其实在 Hadoop2.0中,SecondaryNa
- 中国互联网走在“灰度”上
ronin47
管理 灰度
中国互联网走在“灰度”上(转)
文/孕峰
第一次听说灰度这个词,是任正非说新型管理者所需要的素质。第二次听说是来自马化腾。似乎其他人包括马云也用不同的语言说过类似的意思。
灰度这个词所包含的意义和视野是广远的。要理解这个词,可能同样要用“灰度”的心态。灰度的反面,是规规矩矩,清清楚楚,泾渭分明,严谨条理,是决不妥协,不转弯,认死理。黑白分明不是灰度,像彩虹那样
- java-51-输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。
bylijinnan
java
public class PrintMatrixClockwisely {
/**
* Q51.输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。
例如:如果输入如下矩阵:
1 2 3 4
5 6 7 8
9
- mongoDB 用户管理
开窍的石头
mongoDB用户管理
1:添加用户
第一次设置用户需要进入admin数据库下设置超级用户(use admin)
db.addUsr({user:'useName',pwd:'111111',roles:[readWrite,dbAdmin]});
第一个参数用户的名字
第二个参数
- [游戏与生活]玩暗黑破坏神3的一些问题
comsci
生活
暗黑破坏神3是有史以来最让人激动的游戏。。。。但是有几个问题需要我们注意
玩这个游戏的时间,每天不要超过一个小时,且每次玩游戏最好在白天
结束游戏之后,最好在太阳下面来晒一下身上的暗黑气息,让自己恢复人的生气
&nb
- java 二维数组如何存入数据库
cuiyadll
java
using System;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace WindowsFormsApplication1
{
- 本地事务和全局事务Local Transaction and Global Transaction(JTA)
darrenzhu
javaspringlocalglobaltransaction
Configuring Spring and JTA without full Java EE
http://spring.io/blog/2011/08/15/configuring-spring-and-jta-without-full-java-ee/
Spring doc -Transaction Management
http://docs.spring.io/spri
- Linux命令之alias - 设置命令的别名,让 Linux 命令更简练
dcj3sjt126com
linuxalias
用途说明
设置命令的别名。在linux系统中如果命令太长又不符合用户的习惯,那么我们可以为它指定一个别名。虽然可以为命令建立“链接”解决长文件名的问 题,但对于带命令行参数的命令,链接就无能为力了。而指定别名则可以解决此类所有问题【1】。常用别名来简化ssh登录【见示例三】,使长命令变短,使常 用的长命令行变短,强制执行命令时询问等。
常用参数
格式:alias
格式:ali
- yii2 restful web服务[格式响应]
dcj3sjt126com
PHPyii2
响应格式
当处理一个 RESTful API 请求时, 一个应用程序通常需要如下步骤 来处理响应格式:
确定可能影响响应格式的各种因素, 例如媒介类型, 语言, 版本, 等等。 这个过程也被称为 content negotiation。
资源对象转换为数组, 如在 Resources 部分中所描述的。 通过 [[yii\rest\Serializer]]
- MongoDB索引调优(2)——[十]
eksliang
mongodbMongoDB索引优化
转载请出自出处:http://eksliang.iteye.com/blog/2178555 一、概述
上一篇文档中也说明了,MongoDB的索引几乎与关系型数据库的索引一模一样,优化关系型数据库的技巧通用适合MongoDB,所有这里只讲MongoDB需要注意的地方 二、索引内嵌文档
可以在嵌套文档的键上建立索引,方式与正常
- 当滑动到顶部和底部时,实现Item的分离效果的ListView
gundumw100
android
拉动ListView,Item之间的间距会变大,释放后恢复原样;
package cn.tangdada.tangbang.widget;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import andr
- 程序员用HTML5制作的爱心树表白动画
ini
JavaScriptjqueryWebhtml5css
体验效果:http://keleyi.com/keleyi/phtml/html5/31.htmHTML代码如下:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="UTF-8" >
<ti
- 预装windows 8 系统GPT模式的ThinkPad T440改装64位 windows 7旗舰版
kakajw
ThinkPad预装改装windows 7windows 8
该教程具有普遍参考性,特别适用于联想的机器,其他品牌机器的处理过程也大同小异。
该教程是个人多次尝试和总结的结果,实用性强,推荐给需要的人!
缘由
小弟最近入手笔记本ThinkPad T440,但是特别不能习惯笔记本出厂预装的Windows 8系统,而且厂商自作聪明地预装了一堆没用的应用软件,消耗不少的系统资源(本本的内存为4G,系统启动完成时,物理内存占用比
- Nginx学习笔记
mcj8089
nginx
一、安装nginx 1、在nginx官方网站下载一个包,下载地址是:
http://nginx.org/download/nginx-1.4.2.tar.gz
2、WinSCP(ftp上传工
- mongodb 聚合查询每天论坛链接点击次数
qiaolevip
每天进步一点点学习永无止境mongodb纵观千象
/* 18 */
{
"_id" : ObjectId("5596414cbe4d73a327e50274"),
"msgType" : "text",
"sendTime" : ISODate("2015-07-03T08:01:16.000Z"
- java术语(PO/POJO/VO/BO/DAO/DTO)
Luob.
DAOPOJODTOpoVO BO
PO(persistant object) 持久对象
在o/r 映射的时候出现的概念,如果没有o/r映射,就没有这个概念存在了.通常对应数据模型(数据库),本身还有部分业务逻辑的处理.可以看成是与数据库中的表相映射的java对象.最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合.PO中应该不包含任何对数据库的操作.
VO(value object) 值对象
通
- 算法复杂度
Wuaner
Algorithm
Time Complexity & Big-O:
http://stackoverflow.com/questions/487258/plain-english-explanation-of-big-o
http://bigocheatsheet.com/
http://www.sitepoint.com/time-complexity-algorithms/