Java 

db 연결을 위한 공통 인터페이스 작성을 위해 자료를 찾아보다 링크를 걸어둠.

https://stackoverflow.com/questions/70689/what-is-an-efficient-way-to-implement-a-singleton-pattern-in-java

https://medium.com/@kevalpatel2106/how-to-make-the-perfect-singleton-de6b951dfdb0

 

가장 간단한 패턴이지만 막상 쓰려고 하면 여러가지 생각이 드는 패턴임

 

+ Recent posts