GO-V.ORG
As seen in

JavaBeans

In computing based on the Java Platform, JavaBeans is a technology developed by Sun Microsystems and released in 1996, as part of JDK 1.1.[src] The 'beans' of JavaBeans are classes that encapsulate one or more objects into a single standardized object (the bean).[src] This standardization allows the beans to be handled in a more generic fashion, allowing easier code reuse and introspection.[src] This in turn allows the beans to be treated as software components, and to be manipulated visually by editors and IDEs without needing any initial configuration, or to know any internal implementation details.[src] As part of the standardization, all beans must be serializable, have a zero-argument constructor, and allow access to properties using getter and setter methods.[src]

In computing based on the Java Platform, JavaBeans is a technology developed by Sun Microsystems and released in 1996, as part of JDK 1.1.[src] The 'beans' of JavaBeans are classes that encapsulate one or more objects into a single standardized object (the bean).[src] This standardization allows the beans to be handled in a more generic fashion, allowing easier code reuse and introspection.[src] This in turn allows the beans to be treated as software components, and to be manipulated visually by editors and IDEs without needing any initial configuration, or to know any internal implementation details.[src] As part of the standardization, all beans must be serializable, have a zero-argument constructor, and allow access to properties using getter and setter methods.[src] ==Features== Introspection Introspection is a process of analyzing a Bean to determine its capabilities.[src] This is an essential feature of the Java Beans specification because it allows another application, such as a design tool, to obtain information about a component.[src] Properties A property is a subset of a Bean's state.[src] The values assigned to the properties determine the behaviour and appearance of that component.[src] They are set through a setter method and can be obtained by a getter method.[src] Customization A customizer can provide a step-by-step guide that the process must follow to use the component in a specific context.[src] Events Beans may interact with the EventObject EventListener model.[src] Persistence Persistence is the ability to save the current state of a Bean, including the values of a Bean's properties and instance variables, to nonvolatile storage and to retrieve them at a later time.[src] Methods A Bean should use accessor methods to encapsulate the properties.[src] A Bean can provide other methods for business logic not related to the access to the properties.[src] ===Code example=== package org.wikipedia.players; import java.io.Serializable; import java.util.List; public class PersonBean implements Serializable { /** Properties **/ private boolean deceased = false; private List list; /** Property "name", readable/writable.[src] */ private String name = null; /** No-arg constructor (takes no arguments).[src] */ public PersonBean() { } public List getList() { return list; } public void setList(final List list) { this.list = list; } /** * Getter for property "name".[src] */ public String getName() { return name; } /** * Setter for property "name".[src] * * @param value */ public void setName(final String value) { this.name = value; } /** * Getter for property "deceased" * Different syntax for a boolean field (is vs get) */ public boolean isDeceased() { return deceased; } /** * Setter for property "deceased".[src] * @param value */ public void setDeceased(boolean value) { deceased = value; } } TestPersonBean.java : package org.wikipedia.players; import java.util.ArrayList; import org.wikipedia.players.PersonBean; /** * Class "TestPersonBean".[src] */ public class TestPersonBean { /** * Tester method "main" for class "PersonBean".[src] * * @param arguments */ public static void main(String[] args) { final PersonBean person = new PersonBean(); person.setName("Bob"); person.setDeceased(false); person.setList(new ArrayList ()); // Output: "Bob is [alive]" System.out.printf("%s is %s%n", person.getName(), person.isDeceased() ?[src] " [deceased]" : " [alive]"); } } Name: Deceased?[src] Enter a name: Choose an option: Alive Dead ==References==[src]

30 sentences · 30 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"JavaBeans." encyclopegia.org, 2026, https://encyclopegia.org/wiki/javabeans. Accessed 05 December 2026.

Chicago

"JavaBeans." encyclopegia.org. Accessed December 5, 2026. https://encyclopegia.org/wiki/javabeans.

APA

encyclopegia.org. (2026). JavaBeans. Retrieved December 5, 2026, from https://encyclopegia.org/wiki/javabeans

Accessed December 5, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date1996Wikipedia
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1356814186 · 0.5 · snapshot enwiki-001356814186

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.