<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Awecoder的博客]]></title><description><![CDATA[孤独是一个人的狂欢。]]></description><link>https://blog.csdn.net/awecoder</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; awecoder]]></copyright><item><title><![CDATA[MyBatis+Tomcat配置JNDI数据源]]></title><link>https://blog.csdn.net/awecoder/article/details/102878422</link><guid>https://blog.csdn.net/awecoder/article/details/102878422</guid><author>awecoder</author><pubDate>Sun, 03 Nov 2019 00:39:59 +0800</pubDate><description><![CDATA[文章目录mybatis-config.xml配置配置数据源测试JNDI获取数据源参考文档
MyBatis通过配置mybatis-config.xml文件的dataSource标签配置数据源类型以及属性。除UNPOOLED和POOLED外，mybatis支持JNDI方式从外部服务中获取数据源配置。
JNDI（Java命名与目录接口）是SUN公司提供的一种标准的Java命名系统接口，通过名称获取到服务...]]></description><category></category></item><item><title><![CDATA[原码、反码、补码、移码区别与应用]]></title><link>https://blog.csdn.net/awecoder/article/details/99710358</link><guid>https://blog.csdn.net/awecoder/article/details/99710358</guid><author>awecoder</author><pubDate>Sun, 27 Oct 2019 19:44:11 +0800</pubDate><description><![CDATA[文章目录一、Java中的基本数据类型关注点1：基本类型默认值0关注点2：开发的时候注意数据溢出问题关注点3：不同类型不能自动拆装箱关注点4：MySQL int的取值范围（先记在这，哈哈）二、浮点类型关注点1：原码、反码、补码、移码关注点2：浮点数的表示关注点3：定点数表示金额
一、Java中的基本数据类型
Java中共有8种数据类型，分为三大类。
字符型：char
布尔型：boolean
数值型：...]]></description><category></category></item><item><title><![CDATA[MyBatis数据库连接池以及事务控制]]></title><link>https://blog.csdn.net/awecoder/article/details/102713606</link><guid>https://blog.csdn.net/awecoder/article/details/102713606</guid><author>awecoder</author><pubDate>Thu, 24 Oct 2019 00:08:10 +0800</pubDate><description><![CDATA[博文目录一、MyBatis连接池1. 连接池概述2. MyBatis中连接池的使用二、MyBatis的事务控制
一、MyBatis连接池
1. 连接池概述
在实际开发中通常会使用到数据库连接池，因为它可以减少我们获取连接所消耗的时间。连接池在初始化时会创建一定数量的连接放在池中，使用时从池中获取连接，使用完后不关闭，直接放回池内。
连接池就是用于存储连接的一个容器。容器可以是一个集合对象，并要求该...]]></description><category></category></item><item><title><![CDATA[mybatis-generator.xml配置文件编写与标签详解]]></title><link>https://blog.csdn.net/awecoder/article/details/101763736</link><guid>https://blog.csdn.net/awecoder/article/details/101763736</guid><author>awecoder</author><pubDate>Mon, 30 Sep 2019 12:44:15 +0800</pubDate><description><![CDATA[1 MyBatis Generator简介
MyBatis Generator (MBG) 是MyBatis的代码生成器，其内部关联一张或者多张数据库表，生成可访问表的模块。减轻了开发初期数据库表映射对象生成与配置的工作。
MyBatis Generator可以生成：

生成与表结构匹配的Java POJO。
MyBatis兼容的SQL Map XML文件，并配置简单的CRUD生成SQL。
可选的...]]></description><category></category></item><item><title><![CDATA[SpringMVC与分层领域模型设计]]></title><link>https://blog.csdn.net/awecoder/article/details/101226896</link><guid>https://blog.csdn.net/awecoder/article/details/101226896</guid><author>awecoder</author><pubDate>Mon, 23 Sep 2019 21:39:00 +0800</pubDate><description><![CDATA[本文将与大家一起使用SpringMVC开发获取前端查询用户id查询用户信息的功能，其中不仅仅是把数据传给前端，也会包括一些分层领域设计。

文章目录1 DAO层2 Service层3 Controller层4 测试
本文接着上一篇文章《SpringBoot快速整合Mybatis以及mybatis-generator的使用》继续进行设计，为避免产生疑惑，请先根据上一篇文章配置。本文按照DAO–&g...]]></description><category></category></item><item><title><![CDATA[SpringBoot快速整合Mybatis以及mybatis-generator的使用]]></title><link>https://blog.csdn.net/awecoder/article/details/101165599</link><guid>https://blog.csdn.net/awecoder/article/details/101165599</guid><author>awecoder</author><pubDate>Sun, 22 Sep 2019 17:53:04 +0800</pubDate><description><![CDATA[文章目录1. pom.xml添加mybatis等依赖1.1 添加依赖1.2 添加mybatis-generator所需插件2. 创建数据库与设计表3. 通过mybatis-generator快捷创建文件3.1 配置mybatis-generator.xml文件3.2 通过Maven运行mybatis-generator4. 配置application.properties文件和APP启动类4.1 ...]]></description><category></category></item><item><title><![CDATA[【Error】Could not find artifact lifecycle-mapping:lifecycle-mapping:jar:sources:1.0.0]]></title><link>https://blog.csdn.net/awecoder/article/details/101159870</link><guid>https://blog.csdn.net/awecoder/article/details/101159870</guid><author>awecoder</author><pubDate>Sun, 22 Sep 2019 15:31:42 +0800</pubDate><description><![CDATA[使用mybatis-generator快捷创建文件，Idea运行run mybatis-generator时报错。
java.lang.RuntimeException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact lifecycle-mapping:lifecycle-map...]]></description><category></category></item><item><title><![CDATA[【Error】com.google.inject.CreationException: Unable to create injector]]></title><link>https://blog.csdn.net/awecoder/article/details/101149948</link><guid>https://blog.csdn.net/awecoder/article/details/101149948</guid><author>awecoder</author><pubDate>Sun, 22 Sep 2019 11:02:58 +0800</pubDate><description><![CDATA[Idea2019自定义配置Maven3.6.2报错
java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors:

1) No implementation for org.apache.maven.model.path.Pa...]]></description><category></category></item><item><title><![CDATA[Linux系统配置Git，并推送代码到远程仓库]]></title><link>https://blog.csdn.net/awecoder/article/details/101124891</link><guid>https://blog.csdn.net/awecoder/article/details/101124891</guid><author>awecoder</author><pubDate>Sat, 21 Sep 2019 23:15:27 +0800</pubDate><description><![CDATA[本教程仅适用于个人机器快速配置Git，推送代码到远程仓库。多人以及团队协作，需要代码拉取、解决冲突等操作，本文未涉及。

文章目录1. Linux本地配置Git，并连接GitHub2. 远程拉取代码到本地3. 新建项目的推送过程
1. Linux本地配置Git，并连接GitHub
sudo apt-get update
sudo apt-get install git

安装git（Ubuntu...]]></description><category></category></item><item><title><![CDATA[字符串常量池与intern方法分析]]></title><link>https://blog.csdn.net/awecoder/article/details/100679243</link><guid>https://blog.csdn.net/awecoder/article/details/100679243</guid><author>awecoder</author><pubDate>Mon, 09 Sep 2019 23:31:09 +0800</pubDate><description><![CDATA[1 深入理解String#intern方法以及在各JDK版本中的差异
1.1 字符串常量池
字符串常量池存在的意义是使字符串在运行时速度更快，更节省内存。主要的使用方法有三种。
（1）直接双引号引用的String对象会直接存储在字符串常量池中；
（2）直接new String对象时，如果常量池不存在对应String对象，会在池中新创建；
（3）通过String#intern()方法，从字符串常量池...]]></description><category></category></item><item><title><![CDATA[使用SpringBoot和Maven快速搭建RESTful web服务]]></title><link>https://blog.csdn.net/awecoder/article/details/100529752</link><guid>https://blog.csdn.net/awecoder/article/details/100529752</guid><author>awecoder</author><pubDate>Tue, 03 Sep 2019 23:13:25 +0800</pubDate><description><![CDATA[本博文和你一起使用SpringBoot和Maven快速搭建RESTful web Service。笔者当前IDE是idea。
文章目录1. 创建项目2. 完善目录结构3. pom.xml文件配置4. 创建资源类5. 创建controller6. 创建服务启动器7. 测试服务
1. 创建项目
在Idea中创建新的maven项目，在maven tab下选择maven-archetype-quickst...]]></description><category></category></item><item><title><![CDATA[【Error】org.powermock.reflect.exceptions.FieldNotFoundException: Field 'fTestClass' was not found in]]></title><link>https://blog.csdn.net/awecoder/article/details/100088155</link><guid>https://blog.csdn.net/awecoder/article/details/100088155</guid><author>awecoder</author><pubDate>Mon, 26 Aug 2019 23:57:00 +0800</pubDate><description><![CDATA[报错出现在eclipse IDE 单元测试下。
org.powermock.reflect.exceptions.FieldNotFoundException: Field 'fTestClass' was not found in class org.junit.internal.runners.MethodValidator.
at org.powermock.reflect.internal...]]></description><category></category></item><item><title><![CDATA[JDK8源码系列--Integer类区间数据缓存]]></title><link>https://blog.csdn.net/awecoder/article/details/99894026</link><guid>https://blog.csdn.net/awecoder/article/details/99894026</guid><author>awecoder</author><pubDate>Tue, 20 Aug 2019 23:04:56 +0800</pubDate><description><![CDATA[文章目录一、包装类关注点1：基本类型与包装类关注点2：包装类存在的意义二、Integer源码分析与高速区间数据缓存1. 类定义2. 属性和常量3. 常用方法4. Integer高速区间缓存
一、包装类
关注点1：基本类型与包装类
（1）一切皆对象，但是基本类型却不是对象。
（2）声明方式不同，引用数据类型需要用new关键字来创建，基本数据类型不需要。
（3）存储位置不同，基本数据类型直接存储保存在...]]></description><category></category></item><item><title><![CDATA[理解Java面向对象特性：封装、继承、多态]]></title><link>https://blog.csdn.net/awecoder/article/details/99246640</link><guid>https://blog.csdn.net/awecoder/article/details/99246640</guid><author>awecoder</author><pubDate>Sun, 11 Aug 2019 23:52:19 +0800</pubDate><description><![CDATA[文章目录一、多态的理解二、方法重写和重载关注点1：静态绑定和动态绑定关注点2：子类成员变量重复定义，称之为隐藏，而不是重写。关注点3：可见性关注点4：异常三、接口和抽象类的区别与选择（一）语法层面区别（二）设计层面区别
一、多态的理解
多态可以理解为不同的对象执行同一操作，表现不同的行为。针对于不同对象，是通过运行时判断的。运行时多态（动态绑定）有三个必要条件：
（1）存在类继承或者接口实现关系
...]]></description><category></category></item><item><title><![CDATA[并发与高并发专题--并发编程操作系统基础]]></title><link>https://blog.csdn.net/awecoder/article/details/95906780</link><guid>https://blog.csdn.net/awecoder/article/details/95906780</guid><author>awecoder</author><pubDate>Sun, 14 Jul 2019 18:18:31 +0800</pubDate><description><![CDATA[CPU多级缓存
简单介绍CPU

当前笔者所用的笔记本CPU是8代i7-8750H（6核12线程、频率2.2GHz/睿频4.1GHz、三级缓存9MB）。
主频，可以理解为处理速度，相当于手臂肌肉，主频越高，力量越大。睿频是临时的超频。
核心，相当于手臂，6核即六条手臂。
线程，相当于手，6核12线程相当于每个手臂长两只手，提高干活效率，压榨单一CPU核心的处理能力。
CPU 缓存的必要性
最早的...]]></description><category></category></item><item><title><![CDATA[【环境配置】CentOS7环境安装JDK]]></title><link>https://blog.csdn.net/awecoder/article/details/93673588</link><guid>https://blog.csdn.net/awecoder/article/details/93673588</guid><author>awecoder</author><pubDate>Tue, 25 Jun 2019 23:55:14 +0800</pubDate><description><![CDATA[清除自带openJDK，安装Oracle官网JDK
1 查看Java版本
java -version

2 查看安装包并删除
rpm -qa | grep jdk
rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.181-7.b13.el7.x86_64
rpm -e --nodeps java-1.7.0-openjdk-1.7.0.191-2....]]></description><category></category></item><item><title><![CDATA[JDK8源码系列--Map接口与Dictionary抽象类]]></title><link>https://blog.csdn.net/awecoder/article/details/93394654</link><guid>https://blog.csdn.net/awecoder/article/details/93394654</guid><author>awecoder</author><pubDate>Sun, 23 Jun 2019 18:16:11 +0800</pubDate><description><![CDATA[package java.util;

一、Map接口
接口定义
public interface Map&lt;K,V&gt;

Map是存放键值对的数据结构。map中没有重复的key，每个key最多只能映射一个value。map不允许包含自身引用作为key。Map接口用来代替Dictionary抽象类。
Map接口提供了三种集合视图。map默认顺序是其集合视图迭代器遍历元素的顺序，例如Has...]]></description><category></category></item></channel></rss>