Java Beans Question and Answers

5. What is a Stored Procedure in JDBC?
 
  • Stored Procedures are server side objects which can be stored along with the database.
  • These are accessible to different clients apart from JDBC, such as VB, Power Builder, etc.
  • Essentially, stored procedures are independent of client and dependent on the database.
 
Your Name Your Email-ID
Your Answer
6. Define the term DDL, DML and DCL in Database Connectivity?
 
  • DDL - Data Definition Language : allows you to define the structure of the data. This language gives a facility to define the create tables in case RDBMS. All these definitions will be stored in a special table called data dictionary table.
  • DML - Data Manipulation Language : provides tools that allow modification and retrieval of data.
  • Data Control Language – DCL : it allows control over user access privileges of data. As result of DCL, user access is restricted and controlled.
 
Your Name Your Email-ID
Your Answer
7. What is Introspection?
 
  • Introspection is the process of determining the supported properties, methods and events of a Bean.
  • It can be done with the help of the Introspector class, or directly through the use of the reflection API.
  • Without Introspection, the Java Beans technology cannot operate.
 
Your Name Your Email-ID
Your Answer
8. How is a Jar file created?
  Use the following command to create a Jar file:
Jar – cvfm filename.jar filename.man filename.class
 
Your Name Your Email-ID
Your Answer
1234 Page 2 of 4