JDBC Interview Questions

1) 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 […]

RMI Interview Questions

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

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… 2) Are there JVM’s that work as a true 64-bit application? IBM’s SDK for Windows on Itanium Solaris TM-SPARCTM platform edition of J2SDK […]

Exception Handling Interview Questions

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

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

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 & Answers

interview questions

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

ejb-thumbnail

This article presents comprehensive guide for the EJB Interview Questions. The questions presented in this article are mos frequently asked in the Java interviews. If we have missed any of the important questions or there is mistake in the questions, please write it in the comments section. We are happy to improve this article based […]

Design Patterns Interview Questions

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

JSF Flow

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 […]