RFR: 8321428: Deprecate for removal the package java.beans.beancontext [v4]

Sergey Bylokhov serb at openjdk.org
Thu Apr 11 04:18:43 UTC 2024


On Wed, 10 Apr 2024 21:25:06 GMT, Larry Cable <duke at openjdk.org> wrote:

>> the beancontext package was added (by me) in JDK 1.2 to provide JavaBeans(tm) with a containment and services hierarchy.
>> 
>> based upon concepts from OpenDoc, which was a popular component model at the time, the API pre-dated the addition of language features such as annotations, and the invention and adoption of programming design patterns such as "Inversion of Control"  and/or "Dependency Injection".
>> 
>> This API (package) has not evolved with either the language or current design trends, as such it is, at best, anachronistic, and is probably an anti-pattern that should be avoided.
>> 
>> This package is therefore deprecated **FOR REMOVAL IN AT FUTURE RELEASE**
>
> Larry Cable has updated the pull request incrementally with one additional commit since the last revision:
> 
>   changed copyright dates, and normalized @Deprecated formatting

Marked as reviewed by serb (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/18569#pullrequestreview-1993256591


More information about the client-libs-dev mailing list