-
Java Convert Date to Calendar example
In Java, you can use calendar.setTime(date) to convert a Date object to a Calendar object.
Date: 2019-08-17 View: 1366
-
Apache Ant Tutorial
Apache Ant, is a classic Java project build tool.
Date: 2019-08-17 View: 1191
-
Ehcache Logging example
Ehcache is using SLF4j logging, to log stuff, put a slf4j implementation in the project classpath, in this example, we use logback.
Date: 2019-08-17 View: 1307
-
Ehcache hello world example
In this tutorial, we will show you two examples to help you getting started with Ehcache.
Date: 2019-08-17 View: 1426
-
MongoDB Remove a field from array
Prior to MongoDB 2.6, there is no official function to $unset a field from array document.
Date: 2019-08-17 View: 1469
-
Spring Caching and Ehcache example
In this tutorial, we will show you how to enable data caching in a Spring application, and integrate with the popular Ehcache framework.
Date: 2019-08-17 View: 1335
-
Java Display list of TimeZone with GMT
This Java example shows you how to display a list of TimeZone with GMT in front.
Date: 2019-08-17 View: 999
-
Java Convert date and time between timezone
In this tutorial, we will show you few examples (ZonedDateTime (Java 8), Date, Calendar and Joda Time) to convert a date and time between different time zones.
Date: 2019-08-17 View: 1227
-
MongoDB Update to upper case
A document, and you want to update all the ‘source’ values to UPPERCASE.
Date: 2019-08-17 View: 1560
-
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: 1230
-
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: 1380
-
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: 1381
-
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: 1575
-
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: 1533
-
logback.xml Example
Here are a few logback.xml examples that are used in my projects, just for sharing.
Date: 2019-08-17 View: 1559