Top Advanced Java Interview Questions :: ALLInterview.com http://www.allinterview.com Top Advanced Java Interview Questions en-us What is the difference between Process and Threads? http://www.allinterview.com/showanswers/2307.html Process are heavy weight programs which consume considerable amnt of memory for execution and are heavily dependent on system resources for their execution Threads are light weight and use the min available sys resources as a whole and can exe What is the difference between a stub and a skeleton? http://www.allinterview.com/showanswers/8600.html A stub is a proxy for a remote object that runs on the client computer. A skeleton is a proxy for a remote object that runs on the server. Stubs forward a client's remote method invocations (and their associated arguments) to skeletons, whic What is RMI architecture? http://www.allinterview.com/showanswers/2277.html RMI architecture consists of four layers and each layer performs specific functions: 1. Application Layer : contains the actual object definition 2. Proxy layer : consists of stub and skeleton 3.Remote Reference Layer : gets the stream of bytes f what is catalina in tomcat server. http://www.allinterview.com/showanswers/23277.html up to my knowledge it is a servlet container class can a static method be overridden http://www.allinterview.com/showanswers/36774.html any one reply the answer with ex how convert java file to jar files? http://www.allinterview.com/showanswers/74930.html by just putting .jar extension What is the use of Class.forName http://www.allinterview.com/showanswers/6866.html the use of class.forName is Loading the driver class is a class and forName is a static method. accepting a string argument represented as the driver. What is preemptive and Non-preemptive Time Scheduling? http://www.allinterview.com/showanswers/2296.html pre-emptive The rights on a resource can be shifted from one object to another. Non- preemptive The rights on a resource cannot be shifted from one object to another. It is a technique used for scheduling the processor time for various diff between jsp include directive and jsp action include? http://www.allinterview.com/showanswers/36780.html Syntax for JSP include directive is: <%@ include file="relative file path" %> Syntax for JSP action include is: <jsp:include file="relative file path" flush="true | false" > What is RMI Registry? http://www.allinterview.com/showanswers/2275.html The RMI registry is used to store a list of available services. A client uses the registry to make it's proxy object, and the Registry is responsible for giving appropriate information to the client so that it can hook up with the server tha what is singleton class? where it mainly used in the projects? http://www.allinterview.com/showanswers/56457.html singleton class is such kind of class in which only one object is created throughout the life time of the class. class Singleton { public static Singletone si; private Singletone() { si=new Singletone(); } public static Singletone show() what is the port number of RMI? http://www.allinterview.com/showanswers/2356.html The default number for RMI is 1099. The RMI registry that is started up by FUSE uses the standard port number of 1099. In the event that this port number is already in use by some other process, this port number can be changed. To chan What are different types of controls in AWT? http://www.allinterview.com/showanswers/923.html Controls are components that allow a user to interact with your application and the AWT supports the following types of controls: Labels,Push Buttons,Check Boxes,Choice Lists,Lists,Scrollbars,Text Components. These controls are subclasses of How two threads will communicate with each other? http://www.allinterview.com/showanswers/2239.html Two threads can communicate with each other using the wait() and notify() , notifyAl() methods. wait() method tells the thread to wait until another threads calls notify() method. The wait() method causes the current thread to wait (poss Wt is the main difference between Java and Java J2EE and Advanced ja http://www.allinterview.com/showanswers/87555.html According sun Microsystem java divided into 3 parts 1.J2Se(core java+Advance java) 2.j2EE 3.j2Me j2SE is availible in the part of jdk software. j2EE is availible in the form specification its avialible in the form thrid party ven