|
INTERVIEW QUESTIONS
J2EE
JAVA BEANS
DETAILS
Question: What are introspection API in java beans?
Answer: The JavaBeans API architecture supplies a set of classes and interfaces to provide introspection. The BeanInfo (in the API reference documentation) interface of the java.beans package defines a set of methods that allow bean implementors to provide explicit information about their beans. By specifying BeanInfo for a bean component, a developer can hide methods, specify an icon for the toolbox, provide descriptive names for properties, define which properties are bound properties, and much more. The getBeanInfo(beanName) (in the API reference documentation) of the Introspector (in the API reference documentation) class can be used by builder tools and other automated environments to provide detailed information about a bean. The getBeanInfo method relies on the naming conventions for the bean's properties, events, and methods. A call to getBeanInfo results in the introspection process analyzing the bean’s classes and superclasses.
|
|
|
Category |
Java Beans Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6713 users |
Added on |
8/25/2014 |
Views |
67418 |
Rate it! |
|
|
Question:
What are introspection API in java beans?
Answer:
The JavaBeans API architecture supplies a set of classes and interfaces to provide introspection. The BeanInfo (in the API reference documentation) interface of the java.beans package defines a set of methods that allow bean implementors to provide explicit information about their beans. By specifying BeanInfo for a bean component, a developer can hide methods, specify an icon for the toolbox, provide descriptive names for properties, define which properties are bound properties, and much more. The getBeanInfo(beanName) (in the API reference documentation) of the Introspector (in the API reference documentation) class can be used by builder tools and other automated environments to provide detailed information about a bean. The getBeanInfo method relies on the naming conventions for the bean's properties, events, and methods. A call to getBeanInfo results in the introspection process analyzing the bean’s classes and superclasses. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What are the purpose of introspection?
|
View Answer
|
|
What is introspection properties in java beans?
|
View Answer
|
|
What are externizable interface?
|
View Answer
|
|
How to control serialization in java beans?
|
View Answer
|
|
What is the serializable class in java beans?
|
View Answer
|
|
What is bean persistance property?
|
View Answer
|
|
How to create bound property in bean application?
|
View Answer
|
|
How to implement a bound property in your bean application?
|
View Answer
|
|
What are the properties of java beans?
|
View Answer
|
|
What is the relationship between Enterprise JavaBeans and JavaBeans?
|
View Answer
|
|
What are/is Enterprise JavaBeans?
|
View Answer
|
|
How and when will the JavaBeans Migration Assistant to ActiveX be available?
|
View Answer
|
|
Who is developing the JavaBeans Migration Assistant to ActiveX?
|
View Answer
|
|
Why would a developer need the JavaBeans Migration Assistant for ActiveX?
|
View Answer
|
|
Why is the JavaBeans Bridge for ActiveX only available on Windows/X86?
|
View Answer
|
|
Can JavaBeans use DCOM as its network model?
|
View Answer
|
|
What is the relation between the InfoBus and RMI?
|
View Answer
|
|
Can both Java applets and JavaBeans components use the InfoBus?
|
View Answer
|
|
JavaBeans has mechanisms like "bound properties" for data transfer between components. Why is the InfoBus necessary?
|
View Answer
|
|
Is the InfoBus client side only?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Java Beans Interview Questions & Answers - Exam Mode /
Learning Mode
|