一、不用写dao层实现的方式 1、导入依赖包,我的pom.xml文件配置如下: 2、web.xml的配置 3、springmvc容器的相关配置(spring-mvc.xml) 4、spring-mybatis的相关配置(spring-mybatis.xml) 5、spring-config.prop ...
分类:
编程语言 时间:
2017-05-09 12:41:43
阅读次数:
258
Socket 编程大家都不陌生,Java 学习中必学的部分,也是 Java网络编程核心内容之一。Java 网络编程又包括 TCP、UDP,URL 等模块。TCP 对应 Socket模块,UDP 对应 DatagramPacket 模块。URL 对应 URL 模块。其中 TCP 和 UDP 是网络传输 ...
分类:
编程语言 时间:
2017-05-09 00:57:19
阅读次数:
153
Give you n ( n < 10000) necklaces ,the length of necklace will not large than 100,tell me How many kinds of necklaces total have.(if two necklaces can ...
分类:
其他好文 时间:
2017-05-08 19:21:42
阅读次数:
219
mybatis generator 介绍 mybatis generator中文文档http://mbg.cndocs.tk/ MyBatis Generator (MBG) 是一个Mybatis的代码生成器 MyBatis 和 iBATIS. 他可以生成Mybatis各个版本的代码,和iBATIS ...
分类:
移动开发 时间:
2017-05-08 16:06:00
阅读次数:
408
服务器 socket() bind() listen() 客户机 accept() socket() connect() read() write() write() read() close() close() ...
分类:
编程语言 时间:
2017-05-08 16:00:54
阅读次数:
156
fastboot 是android 默认的一种debug 方法。它的优点是在进入linux kernel 之前就可以操作。 默认fastboot 支持的命令: usage: fastboot [ <option> ] <command> commands: update <filename> ref ...
分类:
其他好文 时间:
2017-05-07 20:01:39
阅读次数:
330
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:
其他好文 时间:
2017-05-07 13:05:25
阅读次数:
291
服务器环境:centos7.2 64位 tomcat8.5.6 tomcat 监控功能共需要两个脚本,如下: initMonitor.sh tomcatMonitor.sh 前期准备: 脚本介绍: 使用说明: 1.将initMonitor.sh,tomcatMonitor.sh两个脚本放入服务器同级 ...
分类:
系统相关 时间:
2017-05-07 10:17:24
阅读次数:
248
一、前言 笔者平时开发使用“动态代理”不多,最近在看设计模式的时候,“动态代理”又在面前晃了几次,所以这次想从源码的角度去分析动态代理的实现原理,以窥探其精妙~ 二、正文 2.1 静态代理 本文源码基于:jdk1.6.0_33 在正式剖析动态代理的源码之前,我们可以先来看看“静态代理”(就是我们普通 ...
分类:
编程语言 时间:
2017-05-07 01:01:24
阅读次数:
253