[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: bean introspection order question


Hi Phil,

Phil Windley wrote:
> So, then the following code (from the March 1999 issue of JavaReport) can't
> be expected to work reliably, right?

Exactly. But it would work if the getReply() method would do the
calculation instead of the setAction() method. Why has the setAction()
been chosen to do the calculation? Having a property "action" like this
does not seem "natural" for a bean, if you get my drift. :)

Regards, Vincent.