JBeans is mainly a replacement for parts of the java.beans package. There are some classes and
interfaces in the java.beans package that work fine as they are. But some of the classes are
quite lacking. That's were JBeans comes in.
JBeans was designed from the start to be fast and simple to use. Java beans are so common today
that it is unbelievable that so many people are continuously re-inventing the wheel on every
project that requires access to Java beans. For example, the Apache foundation created the
bean-utils package for their Jakarta projects. This is a package that provides easy access to
properties on Java beans. The only trouble is that it took time and developers to build this package.
It would have been easier if Apache could have started with an existing package and went from
there. This is the second thing that JBeans is hoping to replace, all the custom built Java bean
packages out there.
Why should my company switch from our existing beans package to JBeans? Well, maybe you shouldn't
but if you are finding that you are continually bug fixing or adding new code to your package,
you should consider JBeans. The reason is this, you're no longer responsible for bug fixes unless
you choose to help the JBeans team. This can save valuable time on projects. Second, you are now
working from a package that will hopefully provide more than you need right now. That way if you
ever notice that you do need something new, it is already available for use. Lastly, JBeans is open
source which means that you have access to 100% of the source code and can change it however you
need.
|