Skip to main content

Improve Beans with collection

3 replies [Last post]
gcollin
Offline
Joined: 2003-06-10
Points: 0

Instead of still using the Obj[]getValues () and void setValues(Obj[]).

Beans properties should be recognized with Collection getValues()....

Gérard

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gcollin
Offline
Joined: 2003-06-10
Points: 0

You said it better that I would ever do.

Gérard

scolebourne
Offline
Joined: 2003-06-20
Points: 0

Or more generically...

[b]Fix the ancient JavaBean spec to modern realities[/b]

Everyone uses List and Map objects in their beans these days, yet the actual bean spec hasn't been updated in years. Its not just a documentation exercise, there is related code with beans too.

tsinger
Offline
Joined: 2003-06-10
Points: 0

Or get rid of JavaBeans completely.

--
Tom