11) I have the choice of manipulating database data using a byte[] or a java.sql.Blob. Which has best performance? java.sql.Blob, since it does not extract any data from the database until you explicitly ask it to. The Java platform 2 type Blob wraps a database locator (which is essentially a pointer to byte). That pointer [...]
Archive | February, 2009
RMI Interview Questions
February 13, 2009
1)Explain RMI Architecture? RMI uses a layered architecture, each of the layers could be enhanced or replaced without affecting the rest of the system. The details of layers can be summarised as follows: Application Layer: The client and server program Stub & Skeleton Layer: Intercepts method calls made by the client/redirects these calls to a [...]
JNI Interview Questions
February 13, 2009
1) How to get the window handle under the Microsoft JVM? Bu using the AWT NI can get the window handle of a canvas. However, the Java application/applet is always subject to… import java.awt.*; import java.awt.peer.*; import com.ms.awt.peer.*; class DrawingCanvas extends java.awt.Canvas { void viewZoomBy(double. 2) Are there JVM’s that work as a true 64-bit [...]
Exception Handling Interview Questions
February 13, 2009
1) What is an Exception? An exception is an abnormal condition that arises in a code sequence at run time. In other words, an exception is a run-time error. 2) What is a Java Exception? A Java exception is an object that describes an exceptional condition i.e., an error condition that has occurred in a [...]
J2EE Interview Questions
February 13, 2009
1) What is J2EE? J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces (APIs), and protocols that provide the functionality for developing multi tiered, and web-based applications. 2) What is the J2EE module? A J2EE module consists of one or more J2EE [...]
JMS Interview Questions
February 13, 2009
1) What is JMS? Java Message Service is the new standard for interclient communication. It allows J2EE application components to create, send, receive, and read messages. It enables distributed communication that is loosely coupled, reliable, and asynchronous. 2) What type messaging is provided by JMS Both synchronous and asynchronous 3) How may messaging models do [...]
Java Interview Questions
February 13, 2009
This article lists over 200+ questions for the Java interview. These questions are most frequently asked by the Java interviewers. If you are preparing for the Core java interview, this questions will be much helpful to understand the nature of questions. Note that this preparations would be very much suitable for the beginners and the [...]
EJB Interview Questions
February 13, 2009
1. What is EJB? EJB stands for Enterprise JavaBeans and is widely-adopted server side component architecture for J2EE. It enables rapid development of ission-critical application that are versatile, reusable and portable across middleware while protecting IT investment and preventing vendor lock-in. 2. What is session Facade? Session Facade is a design pattern to access the [...]
Design Patterns Interview Questions
February 13, 2009
1) What is a software design pattern? A design pattern is a solution to a general software problem within a particular context. Context : A recurring set of situations where the pattern applies. Problem : A system of forces (goals and constraints) that occur repeatedly in this context. Solution : A description of communicating objects [...]
JSF Interview Questions
February 13, 2009
1) What is JSF? JSF stands for Java Server Faces. JSF has set of pre-assembled User Interface (UI). By this it means complex components are pre-coded and can be used with ease. It is event-driven programming model. By that it means that JSF has all necessary code for event handling and component organization. Application programmers [...]






February 13, 2009
0 Comments