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….

Spring Jackson property naming strategy

Spring Jackson property naming strategy

Table of Contents1. OverviewEmployeeController.javaEmployee.java2. Spring Jackson property naming strategy1. LowerCamelCase2. LowerCaseStrategy2. SnakeCaseStrategy3. UpperCamelCaseStrategy4. KebabCaseStrategy3. Conclusion4. References 1. Overview Jackson is a very popular library to convert Java object to JSON. while converting POJO to JSON,…

Spring JPA Projection example

Spring JPA Projection example

Table of Contents1. Overview2. Spring JPA Projection using Interface1. Close ProjectionEmployeeBasicDetails.javaProjection in the @Query annotation and method query2. Open Projection3. Runtime projectionEmployeeBasicDetails.javaEmployeeNamesDetails.javaEmployeeDAO.java2. Spring JPA Projection using Class3. Conclusion4. References 1….

Spring Boot Liquibase Example

Spring Boot Liquibase Example

Table of Contents1. Overview2. Example 2.1 Project Structure2.2 POM file configuration2.3 application.properties 2.4 Change Log Files 2.4.1 changelog-master.xml 2.4.2 create-person-table-changelog-1.xml 2.4.3 insert-person-table-changelog-2.xml 2.4.4 update-person-table-precondition-3.xml 2.5 Output 3. Conclusion Important properties…