Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Help Java I Introspection

Related Tutorials


 
 

Share on Google+Share on Google+

Introspection

Advertisement
Introspection is the automatic process that analyzes the design pattern of a bean in order to reveal bean's properties, events, and methods.

Introspection

     

Introspection is the automatic process that analyzes the design pattern of a bean in order to reveal bean's properties, events, and methods. This process is used to control publishing and discovery of bean operations and properties.

Purpose of Introspection

Java object repository sites existing on the Internet are continuously growing in numbers to answer the demand for centralized deployment of applets, classes, and source code in general. Any developer who has spent time hunting through these sites for licensable Java code to incorporate into a program has undoubtedly struggled with issues of how to quickly and cleanly integrate code from one particular source into an application.

The way of implementing introspection provides great advantages, including:

  1. Portability - Everything is java works on the principle "write once run anywhere", therefore you can write components once, reuse them everywhere. No extra specification files required to be maintained independently from your component code. You do not required to deal with platform-specific issues. Your component does not require to tied to one component model or one proprietary platform. Maintaining the portability of your components gets advantages to you of evolving Java APIs.
  2. Reuse - To provide the potential of reusing your component simply follow the JavaBeans design conventions, implement the appropriate interfaces and extend the appropriate classes to make possible to your expectations.

 

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 11, 2009

Related Tutorials

Discuss: Introspection  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com