jeudi 28 mars 2019

Which design pattern is suitable illustrated problem below?

I am developing a project in spring boot. There are common required steps will be used by all classes in development phase. For example to make connectivity through jdbc from java program to database the first step is load the jdbc driver, second step is create connection object and so on. The problem is design pattern of my project should restrict the new developer of my project to write new classes in such a way that no requires steps would skip in such condition which design pattern should i use??

Aucun commentaire:

Enregistrer un commentaire