Skip to content

Santhosh Ponnam

Technology Blog

  • Home
  • About
  • Technology
    • Java
    • ORM
  • Privacy Policy
  • Toggle search form
  • Sonar Qube – Code Coverage and Code Quality Tool Installations and Configurations
  • Fixing Log4j Vulnerability Java
  • Why to have a private constructor? Java
  • HikariCP Configurations – Database Connection Pooling Installations and Configurations
  • Consent Management – DPDP Spring Boot HikariCP Connection Pooling
  • HikariCP Connection Pooling for Spring Boot for 1.x version Spring Boot
  • JPA vs Hibernate – Specification Vs Implementation ORM
  • Log4J (RCE) Vulnerability Java

Month: August 2018

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
  • Windows Commands – kill port number Installations and Configurations
  • Setting Environment Variables in Windows Java
  • Sonar Qube – Code Coverage and Code Quality Tool Installations and Configurations
  • Why to have a private constructor? Java
  • Log4J (RCE) Vulnerability Java
  • hashCode and equals methods in java Java
  • Fixing Log4j Vulnerability Java
  • Another Log4j Bug – DoS Java

Copyright © 2025 Santhosh Ponnam.

Powered by PressBook News WordPress theme