Java Programming/JavaBeans/Introduction to JavaBeans

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[edit] Introduction to JavaBeans

Reusability comes at the core of any modern computer language's framework. You would often want to use the components, you have already built, in recurring environments. In Rapid Application Development, these prove more helpful as you can drag them off a list of components and use it elsewhere in your project. Such level of reusability is added into the Java Programming language with the help of the JavaBeans architecture.

[edit] JavaBeans Conventions

JavaBeans are classes that follow certain conventions to aid reuse.

  • Implements serializable
  • Has a no argument constructor
  • Uses getter and setter methods to access properties or by a similar method name convention
  • Contains any required event handling methods



[edit] Recommended readings

  • Learning JavaTM, Niemeyer, P. and Knudsen, J., 3rd Edition, 2005, O'Reilly: Sebastopol, CA. pp.751-786


[edit] Beginners topics

[edit] User Interface topics

[edit] Extra Reading

[edit] Advanced topics

Personal tools