RE: Bean philosophy

2001-05-30 Thread Jonas Bjornerstedt
Thanks for taking some time to answer my "naiive question. > > I think you've really got two threads of questions here, so > let me try to > address them separately. > > (1) Why use getXxx and setXxx for properties? > > This is a general design pattern called JavaBeans, and you > will find it ver

RE: Bean philosophy

2001-05-30 Thread Jonas Bjornerstedt
Although you get basic type conversion with the getter/setter methods, it is not a convincing argument. The price you pay for getting something that is rather simple, is that 1) you have to always extend ActionForm 2) often use reflection / PropertyUtils to get the information out. Wouldn't it be