This blog demonstrates how to build/install maven projects in separate directories in Travis CI via GitHub.com
Using TimeUnit instead of Thread.sleep()
This post demonstrates how to use TimeUnit as a replacement to the usual and out-dated way to pausing thread via Thread.sleep().
Java – Beyond String Pool
The String Pool is a location in the Java Virtual Machine (JVM) that collects all the literal Strings from your codes. Java keeps unique Strings for reuse.
Spring Boot + Spring Security with Multiple Login Forms and User Types
I’m working on some personal project that handles 4 different user types (e.g., students, instructors, registrar employees, security personnel). Each user type are stored in a separate user table. With this, I require four (4) login forms.
Java – Get a directory’s size
There’s a few ways to get a directory’s size.
Understanding Java Security Manager in 5 minutes or less
General Idea The general idea of Java Security Manager is to restrict what an application can do. This is important as it provides a separate environment for programs to do whatever they do without affecting the host system or other
Create JSF2 application with Eclipse Mars
Create a JSF2 application with the new Eclipse Mars and Java 8.
Java – comparing numeric primitives
Comparing numeric primitives in Java.
Java – break outer loop from inner loop
Whenever you use break; (or continue;), by default it only affects the current loop where it is invoked . If you are in a inner loop, surely the only loop that you can break; from is that loop. What if you need to break; from the outer-most loop in order to proceed to the next set of instructions?
Eclipse – Highlight selected text
I’ve been using this copy of Eclipse Mars since last year but only noticed today that selected texts are not highlighted. So, I thought maybe they made it configurable or turned off by default.