KyaPoocha.com

Huge Collection of Interview Questions


Archive for October, 2006

What will Class.forName do while loading drivers? 

It is used to create an instance of a driver and register it with the DriverManager. When you have loaded a driver, it is available for making a connection with... Read more »

How can you load the drivers? 

Loading the driver or drivers you want to use is very simple and involves just one line of code. If, for example, you want to use the JDBC-ODBC Bridge driver, the... Read more »

What are the steps involved in establishing a JDBC connection? 

This action involves two steps: loading the JDBC driver and making the connection.  Read more »

What is a data source? 

A DataSource class brings another level of abstraction than directly using a connection object. Data source can be referenced by JNDI. Data Source may point to RDBMS,... Read more »

What is 2 phase commit? 

A 2-phase commit is an algorithm used to ensure the integrity of a committing transaction. In Phase 1, the transaction coordinator contacts potential participants... Read more »

What is Metadata and why should I use it? 

Metadata (’data about data’) is information about one of two things: Database information (java.sql.DatabaseMetaData), or Information about a specific ResultSet... Read more »

What is a “dirty read”? 

Quite often in database processing, we come across the situation wherein one transaction can change a value, and a second transaction can read this value before... Read more »

What is the advantage of using PreparedStatement? 

If we are using PreparedStatement the execution time will be less. The PreparedStatement object contains not just an SQL statement, but the SQL statement that has... Read more »

When we will Denormalize data? 

Data denormalization is reverse procedure, carried out purely for reasons of improving performance. It maybe efficient for a high-throughput system to replicate... Read more »

What is cold backup, hot backup, warm backup recovery? 

Cold backup (All these files must be backed up at the same time, before the databaseis restarted). Hot backup (official name is ‘online backup’) is a backup... Read more »

Is the JDBC-ODBC Bridge multi-threaded? 

No. The JDBC-ODBC Bridge does not support concurrent access from different threads. The JDBC-ODBC Bridge uses synchronized methods to serialize all of the calls... Read more »

What is an Applet? Should applets have constructors? 

Applets are small programs transferred through Internet, automatically installed and run as part of web-browser. Applets implements functionality of a client. Applet... Read more »

What is “Extended Star Schema” and how did it emerge? 

The Star Schema consists of the Dimension Tables and the Fact Table. The Master Data related tables are kept in separate tables, which has reference to the characteristics... Read more »

What’s relationship between JavaScript and ECMAScript? 

ECMAScript is yet another name for JavaScript (other names include LiveScript). The current JavaScript that you see supported in browsers is ECMAScript revision... Read more »

What makes J2EE suitable for distributed multitiered Applications? 

The J2EE platform uses a multitiered distributed application model. Application logic is divided into components according to function, and the various application... Read more »

Page 2 of 5«12345»