自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

转载 调度 任务 Quartz

Quartz:jobDetail属性name:group:(默认DEFAULT)jobClass:jobDataMap:Trigger:simpleTriggercronTriggerScheduler获取JobDataMap的两种方式:1.从Map中直接获取2.Job实现类中添

2017-12-11 17:00:46 149

原创 Cron表达式

// 秒  分  时  日  月  周  年   (* * * * * ? *)* : 任意/ : 每, : 或- :至(between)# : 第 (6#3 : 第三周的周五)L : last最后 (6L: 最后一周的周五)?: 忽略W : 工作日(距离最近的工作日, LW: 最后一个工作日)

2017-12-11 16:57:07 226

原创 Pointcut expression && 5种Advice

匹配注解:@annotation() 方法级别@within() @target() class级别@args() 参数级别2.wildcards:*   匹配任意数量的字符 ..

2017-12-11 09:53:56 479

原创 Repository类的定义

Repository类的定义:public interface Repository {}1)Repository是一个空接口,标记接口没有包含方法声明的接口2)如果我们定义的接口EmployeeRepository extends Repository如果我们自己的接口没有extends Repository,运行时会报错:org.sp

2017-11-21 11:31:57 2611

原创 jQuery生成二维码

https://github.com/jeromeetienne/jquery-qrcode 个人融资租赁申请表 生成二维码如下: jQuery('#qrcode').qrcode("https://github.com/jeromeetienne/jquery-qrcode");

2017-10-23 16:20:20 196

原创 数字签名算法ECDSA

import org.apache.commons.codec.binary.Hex;import org.bouncycastle.asn1.eac.ECDSAPublicKey;import java.security.*;import java.security.interfaces.DSAPrivateKey;import java.security.interfaces.DSA

2017-10-19 14:40:09 778

原创 数字签名算法DSA

import org.apache.commons.codec.binary.Hex;import java.security.*;import java.security.interfaces.DSAPrivateKey;import java.security.interfaces.DSAPublicKey;import java.security.spec.PKCS8Encoded

2017-10-19 14:27:22 711

转载 Base64的3种实现方式

package com.tm.wechat.servlet;import org.apache.commons.codec.binary.Base64;import sun.misc.BASE64Decoder;import sun.misc.BASE64Encoder;/** * Created by pengchao on 2017/10/18. */public class

2017-10-18 15:45:48 1295

原创 基于UDP的Socket通信

UDPServer:import java.io.IOException;import java.net.DatagramPacket;import java.net.DatagramSocket;import java.net.InetAddress;/* * 服务器端,实现基于UDP的用户登陆 */public class UDPServer { public stati

2017-10-17 15:07:55 292

原创 InetAddress、URL应用

import java.net.InetAddress;import java.net.UnknownHostException;import java.util.Arrays;/* * InetAddress类 */public class Test01 { public static void main(String[] args) throws UnknownHostExc

2017-10-17 15:02:46 147

原创 基于TCP的Socket通信

1.服务器端import java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.io.OutputStream;import java.io.PrintWriter;import java.

2017-10-17 14:51:19 324

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除