what is java bean?where can we use it?
Answers were Sorted based on User's Feedback
Answer / sivasubramanian.k
JavaBeans are reusable software components for Java that
can be manipulated visually in a builder tool.[1]
Practically, they are classes written in the Java
programming language conforming to a particular convention.
They are used to encapsulate many objects into a single
object (the bean), so that the bean can be passed around
rather than the individual objects.
| Is This Answer Correct ? | 94 Yes | 20 No |
Answer / namita
Java bean is simply a java class which has getter and
setter methods.
setter methods are used to set the data.
getter methods are used to to get the data.
Java beans are used to encapsulate objects in a single java
bean so that the bean can be used or passed in other
classes.
Like in our jsp we can use this bean by using <%jspusebean>
tag.
| Is This Answer Correct ? | 82 Yes | 15 No |
javabean is encapsulate data in the form of
object.according to java specification javabean support any
number of properties and any number of events and
additional mthods..
| Is This Answer Correct ? | 26 Yes | 4 No |
Answer / suresh royal
--->Java bean is component s/w.
--->java beans are used to encapsulate the data.
--->usually bean is like as object.
--->We can use java bean as setters and getters methods.
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / c.rama kantha rao
A specification developed by Sun Microsystems that defines
how Java objects interact. An object that conforms to this
specification is called a JavaBean, and is similar to an
ActiveX control. It can be used by any application that
understands the JavaBeans format.
Note:
The principal difference between ActiveX controls and
JavaBeans are that ActiveX controls can be developed in any
programming language but executed only on a Windows
platform, whereas JavaBeans can be developed only in Java,
but can run on any platform.
| Is This Answer Correct ? | 16 Yes | 5 No |
Answer / ashok sharma0834110008
A JavaBeans is a reusable s/w component that can visually manipulated in builder tools. [a]
Beans can be visible objects,such as AWT components or invisible objects such as queue.
Javabean is component, coded to an specific standard, use within an application or applet
| Is This Answer Correct ? | 12 Yes | 3 No |
Answer / hemantcse
JavaBeans is a reusable s/w component that can visually manipulated in builder tools. [a]
Beans can be visible objects,such as AWT components or invisible objects such as queue.
Javabean is component, coded to an specific standard, use within an application or applet
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravi kumar gupta
JavaBeans are reusable software components for Java.
Practically, they are classes written in the Java
programming language conforming to a particular convention.
They are used to encapsulate many objects into a single
object (the bean), so that they can be passed around as a
single bean object instead of as multiple individual
objects. A JavaBean is a Java Object that is serializable,
has a nullary constructor, and allows access to properties
using getter and setter methods.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / vineen
Java bean is simply a java class which has getter and
setter methods.
setter methods are used to set the data.
getter methods are used to to get the data.
Java beans are used to encapsulate objects in a single java
bean so that the bean can be used or passed in other
classes.
Like in our jsp we can use this bean by using <%jspusebean>
tag.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / nisid ranjan jena
Java Bean is simply a java class which has some setter
methods and getter methods to represent data.It is basically
used to encapsulate many objects into a single object so
that can be distributed in network.Java beans are reusable
components.
| Is This Answer Correct ? | 3 Yes | 3 No |
What are the object and class classes used for?
Can arraylist contain null values?
What package is math in java?
what is meant by string pooling?
12 Answers Oracle, Polaris, Tribal Fusion, Wipro,
Can we convert stringbuffer to string?
Can you call one constructor from another if a class has multiple constructors?
What is protected and friendly?
What is the purpose of using java.lang.class class?
ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }
How to read and write image from a file ?
Differentiate jar and war files?
What is a boolean structure?