jeudi 25 octobre 2018

Is JavaBean an Anti-Pattern? [on hold]

I read using JavaBeans have serious disadvantages. JavaBeans may be in an inconsistent state partway through its construction. JavaBeans pattern precludes the possibility of making a class immutable and also requires added efforts on the part of the developer to ensure thread safety.

So should we avoid using Java Beans?

Aucun commentaire:

Enregistrer un commentaire