Skip to content

Santhosh Ponnam

Technology Blog

  • Home
  • About
  • Technology
    • Java
    • ORM
  • Privacy Policy
  • Toggle search form
  • Windows Commands – kill port number Installations and Configurations
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team Java
  • hashCode and equals methods in java Java
  • Another Log4j Bug – DoS Java
  • Log4J (RCE) Vulnerability Java
  • Sonar Qube – Code Coverage and Code Quality Tool Installations and Configurations
  • JPA vs Hibernate – Specification Vs Implementation ORM
  • HikariCP Connection Pooling for Spring Boot for 1.x version Spring Boot

Tag: private

Why to have a private constructor?

Posted on August 13, 2018September 1, 2021 By Santhosh Ponnam

In Java, it is possible to have a private constructor. When and why should we use private constructor is explained in detail below. Defining a constructor with the private modifier says that only the native class (as in the class in which the private constructor is defined) is allowed to create an instance of the…

Read More “Why to have a private constructor?” »

Java

Recent Posts

  • Consent Management – DPDP
  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability

Categories

  • Installations and Configurations
  • Java
  • ORM
  • Spring Boot
  • Spring Boot HikariCP Connection Pooling

Archives

  • June 2025
  • December 2021
  • August 2021
  • November 2020
  • March 2020
  • August 2018
  • November 2016
  • August 2016

Recent Posts

  • Consent Management – DPDP
  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability

Categories

  • Installations and Configurations
  • Java
  • ORM
  • Spring Boot
  • Spring Boot HikariCP Connection Pooling

Archives

  • June 2025
  • December 2021
  • August 2021
  • November 2020
  • March 2020
  • August 2018
  • November 2016
  • August 2016




Recent Posts

  • Consent Management – DPDP
  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability

Categories

  • Installations and Configurations
  • Java
  • ORM
  • Spring Boot
  • Spring Boot HikariCP Connection Pooling
  • Another Log4j Bug – DoS Java
  • HikariCP Connection Pooling for Spring Boot for 1.x version Spring Boot
  • Why to have a private constructor? Java
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team Java
  • Consent Management – DPDP Spring Boot HikariCP Connection Pooling
  • HikariCP Configurations – Database Connection Pooling Installations and Configurations
  • Setting Environment Variables in Windows Java
  • JPA vs Hibernate – Specification Vs Implementation ORM

Copyright © 2025 Santhosh Ponnam.

Powered by PressBook News WordPress theme