Buongiorno,
sto studiando le sessioni in java e leggendo un tutorial ho trovato scritto questo:
To let your values
perform side effects when they are stored in a session, simply have the object you
are associating with the session implement the HttpSessionBindingListener
interface. That way, every time setAttribute is called on one of those objects, its
valueBound method is called immediately afterward.
Francamente non mi è molto chiaro. Qualcuno potrebbe spiegarmi quando utilizzare questa interfaccia e se posso farne a meno?
Grazie