-
Import Spring XML files into @Configuration
This is common to mix XML configuration into Spring @Configuration, because developers are used to the XML namespaces. In Spring, you can use @ImportResource to import Spring XML configuration files into @Configuration :
Date: 2019-08-17 View: 1739
-
Spring Profiles example
Spring @Profile allow developers to register beans by condition. For example, register beans based on what operating system (Windows, *nix) your application is running, or load a database properties file based on the application running in development, test, staging or production environment.
Date: 2019-08-17 View: 1908
-
Javascript How to call function inside jQuery code
Review a Javascript code snippet to call a function which declared inside jQuery code :
Date: 2019-08-17 View: 1917
-
MongoDB How to remove a field from document
This MongoDB article shows you how to remove a field from document and array.
Date: 2019-08-17 View: 2224
-
Jsoup Check Redirect URL
In this article, we will show you how to use Jsoup to check if an URL is going to redirect.
Date: 2019-08-17 View: 2305
-
logback.xml Example
Here are a few logback.xml examples that are used in my projects, just for sharing.
Date: 2019-08-17 View: 2301
-
Spring MVC Abstract Controller example
For self-reference, this article shows you how to create a Abstract class for Spring Controller, or a template method design pattern.
Date: 2019-08-17 View: 2236
-
How to change Eclipse theme
In this tutorial, we will show you how to change the Eclipse Theme.
Date: 2019-08-17 View: 2911
-
Java Get number of available processors
A code snippet to show you how to get the number of available processors / cores / CPUs in your environment.
Date: 2019-08-17 View: 2066
-
Spring ${} is not working in @Value
A simple Spring @PropertySource example to read a properties file.
Date: 2019-08-17 View: 2010
-
Logback different log file for each thread
In this tutorial, we will show you how to use Logback Mapped Diagnostic Context (MDC) and SiftingAppender to create a separate log file for each thread.
Date: 2019-08-17 View: 2071
-
MongoDB Allow remote access
In this tutorial, we will show you how to enable remote access to a MongoDB server. Here is the tested environment :
Date: 2019-08-17 View: 2018
-
Multiple SSH private keys Examples
To allow multiple private keys connect to different servers, edit ~/.ssh/config :
Date: 2019-08-17 View: 1825
-
Spring @Value default value
In this tutorial, we will show you how to set a default value for @Value
Date: 2019-08-17 View: 2053
-
Spring @Value Import a list from properties file
In this tutorial, we will show you how to import a “List” from a properties file, via Spring EL @Value
Date: 2019-08-17 View: 1963


