Java Generate UUID

Java Generate UUID

Table of Contents1. Overview2. Different ways to generate UUID in Java2.1 Generate random UUID2.2 Generate Timebase UUID2.3 Generate name based UUID3.3 Generate random UUID using com.fasterxml.uuid3. Conclusion4. References 1. Overview…

Nodejs download file example

Nodejs download file example

Table of Contents1. Overview2.Example2.1 Download  File Without Express.2.1.1 Server.js2.2 Download File In Express Server Using Download Function.2.2.1 Server.js2.2.2 Server.js2.3 Download File Using Third Party Module.3. Conclusion4. References 1. Overview In…

Java Stream of Multiple Lists

Java Stream of Multiple Lists

Table of ContentsOverviewExample 1: Using the Stream.concat() MethodOutputOutputExample 2: Using the Stream.flatMap() MethodOutputOutputConclusionReferences Overview In Java 8, we know how to get a stream of List using stream() or parrallelStream() method…

Java stream filter null values

Java stream filter null values

Table of ContentsOverviewExample 1: Filter null values from ListOutputExample 2: Filter null values from Map valuesOutputExample 3: Filter null values from Set of Map.EntryOutputConclusionReferences Overview Java List and Map may…

NodeJS change server port

NodeJS change server port

Table of Contents1. Overview2. Example2.1 Using The Environment Variable2.2 Using The Configuration File2.2.1 Project Structure2.2.2 development.js or production.js2.2.3 server.js2.3 Using Command Line Arguments3. Conclusion4. References 1. Overview In this article,…

Spring boot JPA Multi Tenancy example

Spring boot JPA Multi Tenancy example

Table of Contents1. Overview2. Example : Spring JPA database routing Example2.1 pom.xml2.2 application.properties2.3 SpringBootConfig.java2.4 CustomRoutingDataSource.java2.5 MasterService.java2.6 EmployeeDAO.java2.7 Employee.java2.8 EmployeeController.java2.9 Output:3. Conclusion4. References 1. Overview In this article, We will learn Spring…

NodeJS JSON Web Service Example

NodeJS JSON Web Service Example

Table of Contents1. Overview1.1 REST Standards and Http CRUD operations1.2. Express.js2. Examples of JSON Web Service2.1 Project Structure2.2 Install express module2.2.1 package.json2.3 Example of employee web service2.3.1 router.js2.3.2 server.js2.4 Output:3….