-
Java 8 Streams map() examples
In Java 8, stream().map() lets you convert an object to something else. Review the following examples :
Date: 2019-08-11 View: 2177
-
Spring MVC How to get client IP address
In Spring framework, you can @Autowired a HttpServletRequest in any Spring managed bean directly, and later get the client’s IP address from the request headers
Date: 2019-08-11 View: 1481
-
Java How to shuffle an ArrayList
In Java, you can use Collections.shuffle to shuffle or randomize a ArrayList
Date: 2019-08-11 View: 1342
-
Java Convert comma-separated String to a List
Java examples to show you how to convert a comma-separated String into a List and vice versa.
Date: 2019-08-11 View: 1277
-
Apache Solr Hello World Example
Apache Solr is an Open-source REST-API based Enterprise Real-time Search and Analytics Engine Server from Apache Software Foundation. It’s core Search Functionality is built using Apache Lucene Framework and added with some extra and useful features. It is written in Java Language.
Date: 2019-08-11 View: 1740
-
Spring Boot Hello World Example Mustache
A Spring Boot web application example, using embedded Tomcat + Mustache template engine, and package as an executable JAR file.
Date: 2019-08-11 View: 1229
-
Spring Boot and Mustache default value
In Spring Boot + Mustache template environment, if we didn’t assign a value to a {{variable}} on the Mustache’s page, the jmustache will throws the following error messages :
Date: 2019-08-11 View: 1552
-
Oracle PL/SQL – Display source code for a Trigger
The following SQL shows you how to get the source code for a specified trigger :
Date: 2019-08-11 View: 2677
-
Oracle PL/SQL – After INSERT Trigger example
This article shows you how to use AFTER INSERT TRIGGER, it will fire after the insert operation is executed.
Date: 2019-08-11 View: 2688
-
Spring Boot + Spring Security + Thymeleaf example
A Spring Boot Thymeleaf example, uses Spring Security to protect path /admin and /user
Date: 2019-08-11 View: 1422
-
How to tell Maven to use Java 8
In pom.xml, defined this maven.compiler.source properties to tell Maven to use Java 8 to compile the project.
Date: 2019-08-11 View: 1277
-
cURL – DELETE request examples
To send a DELETE request, uses cURL -X DELETE
Date: 2019-08-11 View: 1354
-
cURL – PUT request examples
Example to use cURL -X PUT to send a PUT (update) request to update the user’s name and email.
Date: 2019-08-11 View: 2010
-
JaCoCo Java Code Coverage + Maven example
Jacoco is used to measure the code coverage of application. In this tutorial we will understand how to configure Jacoco in maven and how to use Jacoco to see code coverage report.
Date: 2019-08-11 View: 1508
-
Oracle PL/SQL Before INSERT Trigger example
This article shows you how to use BEFORE INSERT TRIGGER, it’s fire BEFORE an INSERT operation is executed. In real life scenarios, it is mostly used for purposes like
Date: 2019-08-11 View: 2765