原创 spring boot jpa簡單入門
一.創建maven工程,引入依賴jar包 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</a
原创 spring boot security
一.創建maven工程,引入依賴jar包 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</a
原创 spring boot session redis
一.創建maven工程,添加依賴 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artif
原创 spring boot mvc單元測試
一.創建maven工程,引入依賴jar包 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</a
原创 git使用及常用命令
一.使用 1.install $ sudo apt-get install git 2.登陸github.com 創建 Repository:demo 3.本地配置 $ git config --global user.name "Y
原创 spring boot 依賴注入
一.創建maven工程,編寫pom.xml文件 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent
原创 spring boot jms activemq
一.創建maven工程,編寫pom.xml文件 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent
原创 spirng boot 讀取配置文件兩種方式
一.配置文件application.properties str=hello world number=${random.int}//動態生成隨機數 my.prefix=prefix 二.使用@Value方式讀取 @Value("${s
原创 spring boot quick start
一.創建maven 工程,編輯pom.xml文件。 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchem
原创 maven使用
一.常用配置 1.安裝並替換Eclipse中的插件 preferences -> maven ->Installions->add 已經安裝好的maven preferences -> maven ->User Settings->
原创 java 泛型
一.爲什麼使用泛型 1.編譯的時候檢查類型安全 2.所有的強制轉換都是自動和隱式的,以提高代碼的重用率。 二.語法 1.Type Parameter Naming Conventions (類型參數的命名約定) E - Elem
原创 Object源碼學習
原文鏈接http://www.cnblogs.com/lwbqqyumidi/p/3693015.html 從本篇開始,將對Java中各知識點進行一次具體總結,以便對以往的Java知識進行一次回顧,同時在總結的過程中加深對Java
原创 Number源碼學習
一.總體介紹 The abstract class Number is the superclass of classes BigDecimal, BigInteger, Byte, Double, Float, Integer, L
原创 java 反射
原文鏈接 http://www.cnblogs.com/rollenholt/archive/2011/09/02/2163758.html java反射詳解 本篇文章依舊採用小例子來說明,因爲我始終覺的,案例驅動是最好的,要不然只看
原创 java 正則表達式
一.java.lang.String對正則表達式的應用 public boolean matches(String regex) public String replaceFirst(String regex,String replac