Spring boot Restful web services with JPA example

Spring boot Restful web services with JPA example

Table of Contents1. Overview 2. Example 2.1 pom.xml2.2 application.properties2.3 SpringBootConfig2.4 EmployeeController2.5 EmployeeService2.6 EmployeeServiceImpl2.7 EmployeeDAO2.8 Employee2.9 Build Application2.10 Output1. Add or Save Employee localhost:8080/save with FORM data.2. list or fetch all Employee. localhost:8080/listEmployee3. Delete Employee using localhost:8080/delete?id=183….

solr advance pivot faceting

Solr Advance Pivot Faceting Example

Table of Contents1. Overview2. Stats Component with pivot facet Example2.1 Syntax2.2 Query2.3 Output3. Facet Queries with pivot facet Example2.1 Syntax2.2 Query2.3 Output4. Range Facet with pivot facet Example4.1 Syntax4.2 Query4.3 Output5….

Spring boot disable banner

Spring boot disable banner

Table of Contents1. Overview1. Disable Spring boot Banner using Java Code2. Disable spring boot banner using configuration properties2.1 application.propertiesor2.2 application.yml3. Conclusion4. References 1. Overview At starting of spring boot application,…

Spring boot SSL configuration example

Spring boot SSL configuration example

Table of Contents1. OverviewSteps to Configure SSL Certificate2. Example:2.1 pom.xml2.2 application.properties2.3 SpringBootConfigTo redirect HTTP to HTTPS (Optional)2.4 DemoController2.5 Build and Run an application2.6 Output:3. Conclusion4. References 1. Overview In this…

Solr Pivot Faceting Example

Solr Pivot Faceting Example

Table of Contents1. Overview2. Pivot Faceting Parameters with an example2.1 facet.pivot2.2 facet.pivot.mincount3. Pivot Faceting on two fields example3.1 Query3.1 Output4. Pivot Faceting on three fields example4.1 Query4.2 Output5. Pivot Faceting…

Spring boot JDBC HikariCP Example

Spring boot JDBC HikariCP Example

Table of Contents1. OverviewStep 1: Exclude Tomcat Connection Pooling DependencyStep 2: Add HikariCP Dependency2. Example2.1 pom.xml2.2 application.properties2.3 SpringBootConfig2.4 EmployeeController2.5 EmployeeDAO2.6 Employee2.7 Output:3. Conclusion4. References 1. Overview This article is for Spring boot…

Spring boot common dbcp2 connection pooling

Spring boot common dbcp2 connection pool

Table of Contents1. OverviewStep 1: Remove tomcat-jdbc connection poolStep 2: Add commons-dbcp2 dependency2. Example2.1 pom.xml2.2 application.properties2.3 SpringBootConfig2.4 EmployeeController2.5 EmployeeDAO2.6 Employee2.7 Run Application3. Conclusion4. References 1. Overview Example of spring boot common dbcp2 connection…

spring boot change context path

Spring boot change context path

Table of Contents1. Overview2. Different ways to change the context path1. Change context path using application.properties or application.ymlapplication.propertiesapplication.ymlExample:2. Context path using the command line argumentsExample:3. Context Path using EmbeddedServletContainerCustomizerExample:3. Conclusion4. References 1….

Solr Range Faceting Example

Solr Range Faceting Example

Table of Contents1. Overview2. Range Faceting parameters2.1 facet.range2.2 facet.range.start2.3 facet.range.end2.4 facet.range.gap3. Date Range Faceting Example4. Numeric Range Faceting Example5. Conclusion6. References 1. Overview Solr provide facility to group or cluster…

Solr Field Value Faceting Example

Solr Field Value Faceting Example

Table of Contents1. Overview2. Field Value Faceting Parameters with an example2.1 facet.field 2.2 facet.limit2.3 facet.sort2.4 facet.missing2.5 facet.mincount2.6 facet.threads2.7 facet.prefix2.8 facet.contains2.9 facet.contains.ignoreCase3. Conclusion4. References 1. Overview Solr provide facility to group or…