Roedy Green wrote:
On Mon, 14 Apr 2008 15:40:30 -0700 (PDT), "firstname.lastname@example.org"
<email@example.com> wrote, quoted or indirectly quoted someone who
Are Java Beans
still a supported technology and can I afford to ignore it?
It sort of lives on the in the get/set and other naming conventions,
but the idea of the beanbox died.
So long as you understand naming conventions, you can ignore
That's not entirely true. JavaBeans are still alive and kicking in
certain frameworks, such as Spring, Guice, and other IoC/DI frameworks,
as well as struts/el in JSPs.
Unfortunately, a lot of developers think that JavaBeans was only ever a
naming convention, don't know anything about the BeanInfo classes, and
write "bean introspection" code that is broken :-/
Not to mention the unfortunate shortsightedness of build all the
property editor support around the java.awt.Component :-) Ofcourse, it
*was* a good idea at the time, but that time has long passed.
So, the short answer is, yes, the JavaBean concept is still alive and
well, but not quite the same as the original concept.
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>