proposing the depreciation of java.beans.beancontext.*
Laurence Cable
larry.cable at oracle.com
Thu Sep 21 00:18:43 UTC 2023
The BeanContext.* package was added (by me) quite early in the lifetime
of java beans (1.2); based loosely on some of the concepts of the
opendoc component framework,
it was intended to provide a "container" for JavaBeans components to
collaborate with each other by exposing both their presence (within a
context)
and to provide/consume 'services' expressed as interfaces.
(we even demoed this functionality in the "beanbox" for those that
recall that)
This package pre-dated the invention/discovery of Inversion of Control
and (annotation based) Dependency Injection by a good number of years;
and as those latter design patterns
and their implementations became popular, Bean Context did not evolve,
and I would argue, became rapidly irrelevant if not actually an
anti-pattern!
Now some 25 yrs later, it is probably beyond definition as an
anachronism and long overdue to be depreciated from the JDK.
Therefore I would like to propose doing so, and open the discussion
regarding this here.
Regards
- Larry
More information about the client-libs-dev
mailing list