<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[chenlang888的专栏]]></title><description><![CDATA[拼的是胆大，比的就是心跳。]]></description><link>https://blog.csdn.net/chenlang888</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; chenlang888]]></copyright><item><title><![CDATA[Servlet路径匹配以及静态资源路径访问]]></title><link>https://blog.csdn.net/chenlang888/article/details/78962761</link><guid>https://blog.csdn.net/chenlang888/article/details/78962761</guid><author>chenlang888</author><pubDate>Wed, 03 Jan 2018 16:36:16 +0800</pubDate><description><![CDATA[问题由来，为什么SpringMvc中的DispatcherServlet中可以用/,也可以用/*, 这两个有什么区别。先说结论：“/*”的优先级比扩展名匹配（如.jsp）高，而“/” 的优先级比扩展名匹配（如.jsp）低。我们知道一个路径（url-pattern）只能匹配一个servlet，不像filter，只要能匹配的路径都可以过滤。 
**那就说下URL匹配的优先级，从高到低： 
1.精确匹配：]]></description><category></category></item><item><title><![CDATA[Java内部类使用总结]]></title><link>https://blog.csdn.net/chenlang888/article/details/78245762</link><guid>https://blog.csdn.net/chenlang888/article/details/78245762</guid><author>chenlang888</author><pubDate>Mon, 16 Oct 2017 01:30:55 +0800</pubDate><description><![CDATA[一、内部类的定义和作用 
将一个类定义在另一个类里面或者方法里面的类成为内部类。[TOC]a]]></description><category></category></item><item><title><![CDATA[文档中100个记的英文]]></title><link>https://blog.csdn.net/chenlang888/article/details/78074513</link><guid>https://blog.csdn.net/chenlang888/article/details/78074513</guid><author>chenlang888</author><pubDate>Sat, 23 Sep 2017 23:55:20 +0800</pubDate><description><![CDATA[lexico 词汇 
lexicographically 字典，字典序，词汇图（redis） 
misfire 不发火，不启动，失败，哑火（quartz） 
threshold 入口，门槛（quartz） 
indefinitely 无限期地，不定期，遥遥无期地，无限循环 
Variadic 可变 
variant 变体 
trivial 不重要的 
via  prep 通过，经过，凭借 
argu]]></description><category></category></item><item><title><![CDATA[Hadoop集群环境的搭配]]></title><link>https://blog.csdn.net/chenlang888/article/details/77625454</link><guid>https://blog.csdn.net/chenlang888/article/details/77625454</guid><author>chenlang888</author><pubDate>Mon, 28 Aug 2017 00:13:25 +0800</pubDate><description><![CDATA[Hadoop 集群环境配置配置网络 
vi /etc/sysconfig/network-scripts/ifcfg-enp03 
设置ipaddre 
子网掩码netmask配置网关 
vi /etc/networksystemctl stop firewalld 
systemctl disable firewalld]]></description><category></category></item><item><title><![CDATA[tomcat Jvm参数调优]]></title><link>https://blog.csdn.net/chenlang888/article/details/77601391</link><guid>https://blog.csdn.net/chenlang888/article/details/77601391</guid><author>chenlang888</author><pubDate>Sat, 26 Aug 2017 14:55:54 +0800</pubDate><description><![CDATA[set Java_OPTS =  
-Xms2g 
虚拟机初始内存大小 
-Xmx2g 
虚拟机最大内存大小 
-Xss512k 
栈内存的大小 
-XX:+AggressiveOpts 
虚拟机所有的优化选项都选上 
-XX:+UseBiasedLocking 
-XX:PermSize=64M 
永久区的大小(类太多就要设置大点,java8没有PermSize) 
-XX:MaxPermSize]]></description><category></category></item><item><title><![CDATA[Mysql 视图]]></title><link>https://blog.csdn.net/chenlang888/article/details/75448203</link><guid>https://blog.csdn.net/chenlang888/article/details/75448203</guid><author>chenlang888</author><pubDate>Wed, 19 Jul 2017 20:07:13 +0800</pubDate><description><![CDATA[一. 使用视图的作用: 
1. 安全性。一般是这样做的:创建一个视图，定义好该视图所操作的数据。之后将用户权限与视图绑定。这样的方式是使用到了一个特性：grant语句可以针对视图进行授予权限。
查询性能相对提高, 但是可能会消耗内存.
有灵活性的功能需求后，需要改动表的结构而导致工作量比较大。那么可以使用虚拟表的形式达到少修改的效果。 这在实际开发中有用, 
eg: 假如因为某种需要，a表与b表需要]]></description><category></category></item><item><title><![CDATA[mysql 触发器]]></title><link>https://blog.csdn.net/chenlang888/article/details/75443615</link><guid>https://blog.csdn.net/chenlang888/article/details/75443615</guid><author>chenlang888</author><pubDate>Wed, 19 Jul 2017 19:22:40 +0800</pubDate><description><![CDATA[触发器的作用: 
经常用于加强数据的完整性约束和业务规则等. 而且有个特性: 触发器可以禁止或回滚违反引用完整性的更改,从而取消所有尝试的数据修改.语法: 
create trigger 触发器名称 
before | after 触发的执行时间 
insert | update | delete  触发事件 
on 表名称 
for each row 每一行执行该动作 
触发器SQL语句ps: 触]]></description><category></category></item><item><title><![CDATA[Mysql存储过程]]></title><link>https://blog.csdn.net/chenlang888/article/details/75440169</link><guid>https://blog.csdn.net/chenlang888/article/details/75440169</guid><author>chenlang888</author><pubDate>Wed, 19 Jul 2017 18:59:14 +0800</pubDate><description><![CDATA[存储过程的变量定义(ps:最好是在定义前加上delimiter //, 起到过程定义分隔符的作用): 
INOUT  既可以是输入也可以是输出函数CREATE PROCEDURE pro_addr(IN a INT, IN b INT, OUT sum int)
BEGIN
DECLARE c int;
if a IS NULL THEN SET a =0;
END IF;
if b IS NULL]]></description><category></category></item><item><title><![CDATA[Innodb存储引擎]]></title><link>https://blog.csdn.net/chenlang888/article/details/75258004</link><guid>https://blog.csdn.net/chenlang888/article/details/75258004</guid><author>chenlang888</author><pubDate>Mon, 17 Jul 2017 17:26:52 +0800</pubDate><description><![CDATA[Innodb存储引擎的特点: 行锁设计, 支持MVCC(多版本并发控制), 支持外键, 提供一致性非锁定读, 同时被设计用来最有效地利用以及使用内存和cpu.]]></description><category></category></item><item><title><![CDATA[spring 事务失效的原因]]></title><link>https://blog.csdn.net/chenlang888/article/details/69568700</link><guid>https://blog.csdn.net/chenlang888/article/details/69568700</guid><author>chenlang888</author><pubDate>Fri, 07 Apr 2017 16:21:04 +0800</pubDate><description><![CDATA[在操作数据库时抛出了异常，导致事务不能回滚。因此在service中的方法不能随便抛出异常，除非是和数据库操作无关的一些异常就可以抛出。]]></description><category></category></item><item><title><![CDATA[Hibernate关联关系中的CRUD_Cascade_Fetch]]></title><link>https://blog.csdn.net/chenlang888/article/details/53770803</link><guid>https://blog.csdn.net/chenlang888/article/details/53770803</guid><author>chenlang888</author><pubDate>Tue, 20 Dec 2016 22:32:43 +0800</pubDate><description><![CDATA[1、设定cascade，fetch可以设定在持久化时对于关联对象的操作（cud是cascade，R归fetch管理）2、cascade仅仅是帮我们省了编程的麻烦，不要把它的作用看得太大，cascade的属性指明做什么操作的时候关联对象是绑定在一起的（比如persist操作）3、cascade的铁律 
    1、双向关系在程序中要设定双向关联（比如说多对一时，设置了一那一方的add，还必须设置多那方]]></description><category></category></item><item><title><![CDATA[Hibernate中利用注解的映射关系]]></title><link>https://blog.csdn.net/chenlang888/article/details/53731659</link><guid>https://blog.csdn.net/chenlang888/article/details/53731659</guid><author>chenlang888</author><pubDate>Mon, 19 Dec 2016 00:17:45 +0800</pubDate><description><![CDATA[双向关系的铁律： 
    1、双向关系在程序中要设定双向关联（即在代码中设定） 
    2、双向mappedBy一、一对一 
1、单向（外键） 
2、双向（外键）二、一对多 
1、单向 
2、多向三、多对一 
1、单向 
        @ManyToOne(cascade={CascadeType.ALL}) 
        @JoinColumn(name=”groupId”) 
2、双向]]></description><category></category></item><item><title><![CDATA[Hibernate中Session的一些重要接口说明]]></title><link>https://blog.csdn.net/chenlang888/article/details/53680347</link><guid>https://blog.csdn.net/chenlang888/article/details/53680347</guid><author>chenlang888</author><pubDate>Fri, 16 Dec 2016 00:19:17 +0800</pubDate><description><![CDATA[一、关注2个方法：openSession和getCurrentSession 
1、openSession 每次都是新的，需要close 
2、getCurrentSession从上下文找，如果有，用旧的，如果没有，建新的 
    ①. 用途，界定事务的边界（即可以在2个dao层用到同意Session） 
    ②. 事务提交自动close 
    ③. thread本地事务；jta是分布式事]]></description><category></category></item><item><title><![CDATA[Android的Handler,Message,MessageQueue,Looper,以及Handler中参数Callback的详解]]></title><link>https://blog.csdn.net/chenlang888/article/details/50776576</link><guid>https://blog.csdn.net/chenlang888/article/details/50776576</guid><author>chenlang888</author><pubDate>Tue, 01 Mar 2016 23:42:13 +0800</pubDate><description><![CDATA[深入理解之 Android Handler(相当好!!!)


http://www.cnblogs.com/chenbin7/archive/2012/08/16/2642628.html]]></description><category></category></item><item><title><![CDATA[Java中equals(),hashCode(),==的对比使用]]></title><link>https://blog.csdn.net/chenlang888/article/details/50771127</link><guid>https://blog.csdn.net/chenlang888/article/details/50771127</guid><author>chenlang888</author><pubDate>Tue, 01 Mar 2016 11:22:35 +0800</pubDate><description><![CDATA[里面详细的介绍了equals(),hashCode(),==的应用场景。还有字符串常量，字符串的缓冲池，equals()和hashCode()在map集合中的应用，基本类型和封装类的自动转换，在object的基类中equals()和==是一样的。
点击打开链接]]></description><category></category></item><item><title><![CDATA[欢迎使用CSDN-markdown编辑器]]></title><link>https://blog.csdn.net/chenlang888/article/details/50756216</link><guid>https://blog.csdn.net/chenlang888/article/details/50756216</guid><author>chenlang888</author><pubDate>Sat, 27 Feb 2016 17:51:44 +0800</pubDate><description><![CDATA[欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来，用它写博客，将会带来全新的体验哦：
Markdown和扩展Markdown简洁的语法
代码块高亮
图片链接和图片上传
LaTex数学公式
UML序列图和流程图
离线写博客
导入导出Markdown文件
丰富的快捷键
快捷键
加粗    Ctrl + B 
斜体    Ctrl + I 
引用    Ctrl]]></description><category></category></item><item><title><![CDATA[ViewDragHelper完全解析以及对自定义ViewGroup的作用]]></title><link>https://blog.csdn.net/chenlang888/article/details/48321505</link><guid>https://blog.csdn.net/chenlang888/article/details/48321505</guid><author>chenlang888</author><pubDate>Wed, 09 Sep 2015 20:41:10 +0800</pubDate><description><![CDATA[在自定义ViewGroup中，很多效果都包含用户手指去拖动其内部的某个View(eg:侧滑菜单等)，针对具体的需要去写好onInterceptTouchEvent和onTouchEvent这两个方法是一件很不容易的事，需要自己去处理：多手指的处理、加速度检测等等。 
好在官方在v4的支持包中提供了ViewDragHelper这样一个类来帮助我们方便的编写自定义ViewGroup。 ViewDra]]></description><category></category></item><item><title><![CDATA[android自定义View的实现]]></title><link>https://blog.csdn.net/chenlang888/article/details/48260637</link><guid>https://blog.csdn.net/chenlang888/article/details/48260637</guid><author>chenlang888</author><pubDate>Mon, 07 Sep 2015 08:01:09 +0800</pubDate><description><![CDATA[自定义View的四个步骤：
1.自定义view的属性。
2.在构造方法中获取我们自定义的属性。
3.onMeasure方法的重写。
4.重写onDraw.。
（一）：自定义属性的定义



    
    
    

    
        
        
        
    




CustomTitleView为属性集，主要用途表明该属性集，为方便获取。]]></description><category></category></item><item><title><![CDATA[android listView 根据字母排序和定位 （http://www.apkbus.com/android-69999-1-1.html）]]></title><link>https://blog.csdn.net/chenlang888/article/details/46050253</link><guid>https://blog.csdn.net/chenlang888/article/details/46050253</guid><author>chenlang888</author><pubDate>Wed, 27 May 2015 18:19:49 +0800</pubDate><description><![CDATA[第一步是实现字母的a-z的控件的显示：
import android.content.Context;
import 
android.graphics.Bitmap;
import 
android.graphics.BitmapFactory;
import 
android.graphics.Canvas;
import 
android.graphics.Paint;]]></description><category></category></item><item><title><![CDATA[Android定时自动启动应用程序]]></title><link>https://blog.csdn.net/chenlang888/article/details/41623481</link><guid>https://blog.csdn.net/chenlang888/article/details/41623481</guid><author>chenlang888</author><pubDate>Sun, 30 Nov 2014 15:57:36 +0800</pubDate><description><![CDATA[import android.app.Activity;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.]]></description><category></category></item></channel></rss>