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
  • HikariCP Connection Pooling for Spring Boot for 1.x version Spring Boot
  • hashCode and equals methods in java Java
  • Log4J (RCE) Vulnerability Java
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team Java
  • Sonar Qube – Code Coverage and Code Quality Tool Installations and Configurations
  • HikariCP Configurations – Database Connection Pooling Installations and Configurations
  • Fixing Log4j Vulnerability Java

Tag: constructor

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

  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability
  • JPA vs Hibernate – Specification Vs Implementation

Categories

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

Archives

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

Recent Posts

  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability
  • JPA vs Hibernate – Specification Vs Implementation

Categories

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

Archives

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




Recent Posts

  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability
  • JPA vs Hibernate – Specification Vs Implementation

Categories

  • Installations and Configurations
  • Java
  • ORM
  • Spring Boot
  • Spring Boot HikariCP Connection Pooling
  • HikariCP Configurations – Database Connection Pooling Installations and Configurations
  • hashCode and equals methods in java 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
  • JPA vs Hibernate – Specification Vs Implementation ORM
  • Fixing Log4j Vulnerability Java
  • Unique Random ‘N’ digit Number generator Java

Copyright © 2025 Santhosh Ponnam.

Powered by PressBook News WordPress theme