View Log Hikari
2017-11-07 15:19:00.675 DEBUG 18568 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool : HikariPool - Added connection com.mysql.jdbc.JDBC4Connection@571501ef
2017-11-07 15:19:01.046 DEBUG 18568 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool : HikariPool - Added connection com.mysql.jdbc.JDBC4Connection@234ff7e8
2017-11-07 15:19:01.053 DEBUG 18568 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool : HikariPool - Added connection com.mysql.jdbc.JDBC4Connection@132081db
2017-11-07 15:19:01.830 DEBUG 18568 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool : HikariPool - Added connection com.mysql.jdbc.JDBC4Connection@7676e4b7
2017-11-07 15:19:01.839 DEBUG 18568 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool : HikariPool - Added connection com.mysql.jdbc.JDBC4Connection@7daf0fee
2017-11-07 15:19:01.872 DEBUG 18568 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool : HikariPool - Added connection com.mysql.jdbc.JDBC4Connection@69d9d01
View gist:26355500ff7bf4ef43935f421cc111e5

Rework Email Notif

Tujuan Mengurangi ketergantungan ke modul-modul yang mengunakan email notif untuk menyediakan variable/paramater yang dibutuhkan oleh template. Ketika terjadi perubahan template dengan penambahan variable tidak perlu merubah code pada modul-modul yang menggunakan template yang dilakukan perubahan.

Kebutuhan Penggunaan Email Notification RWK1 adalah

  1. Menyediakan Template yang digunakan
        <html>
            <body>
                Member Code : ${headers.ctx.P_INS_CODE}
                Member Name : ${headers.ctx.P_INS_NAME}
View [Result]Learn_StringUtils.java
"C:\Program Files\Java\jdk1.8.0_51\bin\java" -Didea.launcher.port=7535 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\bin" -Dfile.encoding=windows-1252 -classpath "C:\Program Files\Java\jdk1.8.0_51\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\jaccess.jar;C
View Learn_StringUtils.java
package com.putracode.common;
import org.apache.commons.lang3.StringUtils;
import static org.apache.commons.lang3.StringUtils.*;
import static com.putracode.Util.*;
/**
* Created by KrisnaPutra on 2/15/2016.
*/
public class Learn_StringUtils {
public static void main(String[] args) {
View [Result]Learn_FastDateFormat.java
"C:\Program Files\Java\jdk1.8.0_51\bin\java" -Didea.launcher.port=7534 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\bin" -Dfile.encoding=windows-1252 -classpath "C:\Program Files\Java\jdk1.8.0_51\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\jaccess.jar;C
View Learn_FastDateFormat.java
package com.putracode.time;
import org.apache.commons.lang3.SystemUtils;
import org.apache.commons.lang3.time.FastDateFormat;
import java.util.Date;
import static com.putracode.Util.*;
/**
* Created by KrisnaPutra on 2/14/2016.
*/
View Learn_randomUtilsAndRandomStringUtils
"C:\Program Files\Java\jdk1.8.0_51\bin\java" -Didea.launcher.port=7533 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\bin" -Dfile.encoding=windows-1252 -classpath "C:\Program Files\Java\jdk1.8.0_51\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\jaccess.jar;C
View Learn_RandomUtilsAndRandomStringUtils.java
package com.putracode.common;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.RandomUtils;
import java.util.HashMap;
import java.util.Map;
import static com.putracode.Util.*;
/**
* Created by KrisnaPutra on 2/13/2016.
View ResultLearn_SystemUtils.java
"C:\Program Files\Java\jdk1.8.0_51\bin\java" -Didea.launcher.port=7534 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.4\bin" -Dfile.encoding=windows-1252 -classpath "C:\Program Files\Java\jdk1.8.0_51\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_51\jre\lib\ext\jaccess.jar;C
View Learn_SystemUtils.java
package com.putracode.common;
import static org.apache.commons.lang3.SystemUtils.*;
import static com.putracode.Util.*;
/* Created by KrisnaPutra on 2/13/2016.*/
public class Learn_SystemUtils {
public static void main(String[] args) {
printTitle("Learn Using SystemUtils Apache Commons-lang3 ");
println("****Static Variable*****");