is java Beans an application on its own like VB.NET or Python?

5 Answers

Relevance
  • Sídhe
    Lv 7
    1 decade ago
    Favorite Answer

    Neither. Java Beans are reusable Java components whose properties can be manipulated. Specifically speaking, they are normal Java classes that meet these criteria:

    - The class has a no-arg constructor

    - The class manipulates properties through accessor methods (getters/setters)

    - The class can be serialized

    To put it another way, a Java Bean isn't a language or a product or an application. It is an informal type of Java class.

  • 1 decade ago

    Beans are modular code that we can "bolt together". An IDE like NetBeans uses the Beans in Swing to list all the properties of the individual widgets, such as color, or the text that might go into the component. When your software stops, the state of those properties of the widgets can be saved and will come back up with the changes in place next time the software runs. One useful Bean is JCalendar which comes with a lot of funcitonality.

  • Chie
    Lv 5
    1 decade ago

    JavaBeans are a type of APIs or classes... not a program... but you can make programs with them.

  • 4 years ago

    Sorry...but I like the ones that are chocolate coated and YUMMY! I just eat them!

  • How do you think about the answers? You can sign in to vote the answer.
  • 1 decade ago

    no, nothing that you mentioned is an application.

Still have questions? Get your answers by asking now.