implementing observable with beans