Colloquially and in all of the Java codebases I ever worked on your description of what a bean is is essentially correct, but it's not really the full meaning.
JavaBeans and Enterprise JavaBeans, were both standards that have quite a bit more functionality.
https://en.wikipedia.org/wiki/JavaBeans https://en.wikipedia.org/wiki/Jakarta_Enterprise_Beans