Top posts
-
Java interview questions: - Mention the fundamentals of deep and shallow Cloning?
This is the most practical oriented Java Interview Questions which may be asked during the Interview by the Interviewer. Many times in project you need to create exact copy of the object and operate on them. To do this there two ways of doing it Shallow...
-
Java/J2EE interview questions: - What is need of working thread?
One can start answering this Java/J2EE interview questions as follows: - In working thread scheme, allocates one thread to execute one task. When the task is complete, the thread may return to a thread pool for later use. In this scheme a thread may execute...
-
Java interview questions: -Differentiate between Enumeration, ArrayList, Hashtable, Collections and Collection.
Following is the differences between Enumeration, ArrayList, Hashtable, Collections and Collection for the Java interview questions asked by the interviewer. Enumeration: It is series of elements. It can be use to enumerate through the elements of a vector,...
-
Java Interview Questions: – Perform configuration of JSF application in web.xml?
URL containing faces is mapped to FacesServlet which will perform the required task when invoked. Following are the important entries Additional entities are made as context param See the following video on Inheritance between beans and Spring: - Click...
-
Java Interview Questions: – How will you explain the many types of Advice?
Before advice Advice that executes before a join point does not have the ability to prevent execution flow proceeding to the join point After returning advice Advice to be executed after a join point completes normally After throwing advice Advice to...
-
Java/J2EE interview questions: - Mention singleton in a clustered environment?
In clustering there are multiple J2EE containers running on multiple JVM'S as a Result maintaining singleton is possible with following steps 1) RMI singleton object is created on only one container 2) Stubs of the same are registered in the cluster by...
-
Java Interview questions: -Difference between SAX Parser and DOM Parser?
Following is the difference between SAX Parser and DOM Parser asked during Java interview questions. SAX DOM Event based processing Tree based processing Traversing only from top to bottom that too once Traversing can be in any direction and any number...
-
Java/Struts interview questions: - Distinguish between Struts 1.x and Struts 2.x
Struts 1.x Struts 2.x Configuration of ActionServlet via servlet Configuration of FilterDispatcher is via filters Struts1 extends the abstract base class by its action class Implements Action interface but not acompulsion. Any POJO class can behave like...
-
Java interview questions: - Different core interfaces of hibernate framework?
This is one of the most favorite Java interview questions of the interviewer. So in the following way one can answer this question: - Session Interface This is the primary interface used by hibernate applications The instances of this interface are lightweight...
-
JAVA INTERVIEW QUESTIONS: - 20 BASICS INTERVIEW QUESTIONS ON JAVA? Part: -2.
What is a native method? Does Java provide any construct to find out the size of an object? Is Empty .java file a valid source file? Can a .java file contain more than one java classes? What is the difference between an argument and a parameter? What...
-
Java Training: - Can you explain stateful and stateless session bean?
Stateful Session bean:- Stateful session bean maintain the state of the conversation between the client and itself When the client invokes a method on the bean the instance variables of the bean may contain a state but only for the duration of the invocation...
-
Java Training: - Show ORM and different levels of ORM quality?
ORM: - ORM stands for Object/Relational mapping which is mainly used to remove the difference between object oriented and relation model Different levels of ORM quality: - Pure relational entire application, including the user interface, is designed around...
-
Java Training: - How will you explain “ResultSet”, “RowSet”, “CachedRowset”, “JdbcRowset” and “WebRowSet” relation ship?
Below are the major points of difference:- “ResultSet” is a connected architecture while “RowSet” is a disconnected architecture. As “ResultSet” is a connected architecture we cannot serialize the object while “RowSet” can be serialized. “RowSet” object...
-
Java Interview Questions: - Elaborate navigation rules?
Navigation rules tells JSF implementation which page to send back to the browser after a form has been submitted The above configuration says that navigation will happen to page2.jsp if the action eventAction happens inside page1.jsp See the following...
-
Java Training: -Elaborate about SOAP?
SOAP is an XML-based protocol that enables software components and applications to communicate with one another. It defines rules to translate application and platform-specific data into the XML format. SOAP allows you to communicate with the Web Service...
-
Welcome to OverBlog!
This automated message is the first article of your blog. It will help you get started with OverBlog. You can edit or delete it by going to the "Publish" section of your administration page. Hope you'll enjoy blogging with us! The OverBlog team PS: In...