Java - Why Java has Coffee logo ? Why do Java beans called beans?

In 1995, Sun's Oak language was discovered to suffer from trademark problems. A quick hunt for a suitable name followed, and Java was chosen. Java is a type of coffee cultivated in java island of indonesia. From this point forward it became obligatory for Java products to have names based on coffee and/or the culture and geography of the Indonesian archipelago. Thus in 1996 when Sun engineers were casting around for a name for Sun's component software architecture, they settled on JavaBeans.

The Names chosen were just arbitary and have no relation with the Coffee or Java island.

The only Relation is -
Java Programmers are the people that convert Java caffeine into Java code :)