-
Java String vs StringBuffer
This article shows the difference in time taken for similar operations on a String object and StringBuffer object.
Date: 2019-08-18 View: 1256
-
Spring Security : Encoded password does not look like BCrypt
In Spring Security, database authentication with bcrypt password hashing.
Date: 2019-08-18 View: 3745
-
Spring Security + Hibernate Annotation Example
In this tutorial, previous Spring Security + Hibernate4 XML example will be reused, and convert it to a annotation-based example.
Date: 2019-08-18 View: 1369
-
JSF 2 + Log4j Integration Example
In this tutorial, we will show you how to integrate the log4j framework with the JSF 2.x web application. JSF is using java.util.logging, you need extra works to redirect the logging from JSF’s java.util.logging to log4j, with a serious penalty of performance, make sure use this trick only during local development or debugging environment.
Date: 2019-08-18 View: 1783
-
Log4j Tutorial
Apache log4j, a classic logging tool in Java. Below are a series of Log4j 1.2 tutorials :
Date: 2019-08-18 View: 1141
-
Gradle How to skip unit test
Be default, Gradle build is abort if any unit tests is failed. Oftentimes, we still need to build the project even the unit test is failed.
Date: 2019-08-18 View: 2140
-
Windows 8.1, black screen with movable cursor
Here’s the scenario, morning wake up and find out my Windows 8.1 is displaying a black screen upon boot, no login screen, but a movable white cursor, random clicks will display the small loading icons?
Date: 2019-08-18 View: 1311
-
Logback Duplicate log messages
Review a simple Java application and log a message via Logback.
Date: 2019-08-18 View: 2449
-
Spring @PropertySource example
In Spring, you can use @PropertySource annotation to externalize your configuration to a properties file. In this tutorial, we will show you how to use @PropertySource to read a properties file and display the values with @Value and Environment.
Date: 2019-08-18 View: 1238
-
TestNG Groups Test
In this tutorial, we will show you how to do the group testing in TestNG.
Date: 2019-08-17 View: 1100
-
TestNG + Spring Integration Example
In this tutorial, we will show you how to test Spring’s components with TestNG.
Date: 2019-08-17 View: 1233
-
Java AWT Drawing rectangle, line and circle
The java.awt libraries are set of classes provided by Java in order to draw shapes on a window. The abbreviation AWT stands for Abstract Windowing Toolkit. Today, the library has been converted into a huge set of classes which allows the user to create an entire GUI based application. The visual appearance of these classes depends on the platform on which the application runs.
Date: 2019-08-17 View: 1285
-
CloudFlare + WordPress admin, Cache issue
Below is my website environment :
Date: 2019-08-17 View: 1292
-
Java Convert int[] to Integer[] example
Examples show you how to convert between int[] and its’ wrapper class Integer[].
Date: 2019-08-17 View: 1188
-
JSP jsessionid appear in CSS and JS link
In Spring MVC + JSP view page environment.
Date: 2019-08-17 View: 1429