A lot of terminology associated with the Java programming language is based on terminology associated with coffee, without any regard for whether or not the terminology has an obvious meaning in computers. The term JavaBean, which is a contraction of Java coffee bean, has no self-evident meaning for its use in computers. A JavaBean is a class that encapsulates some business-logic code.