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 is a method header?
Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages
What is the indent key?
What do you mean by object?
How do you use compareto?
What is the new line character?
Are the equals() and hashCode() protected methods of object class?
What is use of static method?
Write a program to reverse array in place?
What primitive Java types? Howmany are they and what are their names?
Difference between interface and abstract class with ex.
4 Answers Cognizant, Tech Mahindra,
How can we achieve IPC in JAVA?