Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm confused. I've seen two different terms: Javabean and Java Beans. Is there a significant difference between them?

share|improve this question
Where did you see these terms? – Martijn Verburg Apr 4 '12 at 10:28
I saw those in searching in google or in book. I'm wrong? – MJM Apr 4 '12 at 10:49
It is nice that I'm attending Stanford's NLP class. – Chiron Apr 4 '12 at 11:16
Does this SO question help?… – jcmeloni Apr 4 '12 at 11:25
One is singular and the other is plural? Really, without any more context this question is not answerable. – Jesper Apr 4 '12 at 11:46
up vote 11 down vote accepted

People tend to casually refer to Java classes as "Java beans" in conversations and articles.

When written as one word, however, "JavaBeans" are classes conforming to a particular convention. A JavaBean is a Java Object that is serializable, has a nullary constructor, and allows access to properties using getter and setter methods. See Wikipedia's article on JavaBeans for more information.

It's also important to note the difference between a Javabean and an EJB.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.