RMI Interview Questions

RMI Interview Questions 1 what is RMI? Ans: Remote Method Invocation (RMI) is the process of activating a method on a remotely running object. RMI offers location transparency in the sense that it gives the feel that a method is executed on a locally running object. 2 what is the basic principle of RMI architecture? Ans:The RMI architecture is based …

Continue reading

EJB Interview Questions

EJB Interview Questions 1 what are Enterprise Java Beans? Ans: Enterprise Java Beans (EJB) is a specification which defines a component architecture for developing distributed systems. Applications written using the Enterprise JavaBeans architecture are resusable, scalable, transactional, and secure. Enterprise Java Bean’s allow the developer to only focus on implementing the business logic of the application. 2 what is a …

Continue reading

JSP Interview Questions

JSP Interview Questions 1 Briefly explain about Java Server Pages technology? Ans: JavaServer Pages (JSP) technology provides a simplified, fast way to create web pages that display dynamically-generated content. The JSP specification, developed through an industry-wide initiative led by Sun Microsystems, defines the interaction between the server and the JSP page, and describes the format and syntax of the page. …

Continue reading

Servlet Interview Questions

Servlet Interview Questions 1 what is a Servlet? Ans: A Servlet is a server side java program which processes client requests and generates dynamic web content. 2 Explain the architechture of a Servlet? Ans: The javax.servlet.Servlet interface is the core abstraction which has to be implemented by all servlets either directly or indirectly. Servlet run on a server side JVM …

Continue reading

Applets Interview Questions

Applets Interview Questions 1 what is an Applet? Ans: Applet is a java program which is included in a html page and executes in java enabled client browser. Applets are used for creating dynamic and interactive web applications. 2 Explain the life cycle of an Applet? Ans: The following methods implement the life cycle of an Applet: Init: To initialize …

Continue reading

Java Exception Handling Interview Questions

Java Exception Handling Interview Questions 1 which package contains exception handling related classes? Ans: java. Lang 2 what are the two types of Exceptions? Ans: Checked Exceptions and Unchecked Exceptions. 3 what is the base class of all exceptions? Ans: java.lang.Throwable 4 what is the difference between Exception and Error in java? Ans: Exception and Error are the subclasses of …

Continue reading