mercredi 18 novembre 2015

Can a managed bean extend the observable class

I would like to implement the observer pattern in my JSF application.

Therefore the java.util.Observable class should be subclassed of one of my classes, which also acts as managed bean:

public class Configuration extends Observable implements Serializable {}

My question: Is this state of the art or can I get into troubles?

Aucun commentaire:

Enregistrer un commentaire