J2ee interview questions and answers on advance and basic J2ee with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on J2ee also add your Questions if any you have to ask and for apply
in J2ee Tutorials and Training course just send a mail on email@example.com in detail about your self.
Top J2ee interview questions and answers for freshers and experienced
What is J2ee ?
Questions : 1 :: Explain J2EE architecture.
The JEE platform provides the environment to develop enterprise applications / services using multitier architecture. The highly intensified technology made the need for scalable, efficient, faster...View answers
Questions : 2 :: J2EE is a container centric architecture. Explain.
A container acts as an interface between a platform-specific functionality and a component. The component must be assembled before a web or enterprise bean or application client component execution,...View answers
Questions : 3 :: Explain the four types of container that the J2EE specification defines
A container is a runtime support of a system level entity [Applet, Servlet/JSP, EJB]
The four types of container that the J2EE specification defines are applet container, application-client...View answers
Questions : 4 :: Explain the technologies that J2EE platform provides for developing components.
1)Servlet Technology: It is considered as the foundation of web technologies. It overcomes the limitations of CGI technology. It is a server side component to serve the clients and to generate...View answers
Questions : 5 :: What is a J2EE component?
A J2EE component is a software unit that is assembled into a J2EE application with related classes and files and it can communicate with other J2EE components Following are the example of J2EE...View answers
Questions : 6 :: What is a J2EE module?
A J2EE module has one or more J2EE components of the same container type along with one deployment descriptor of that type
Questions : 7 :: How many Types of modules is defined by J2EE specification?
There are four types of modules defined by J2EE specification: a) Enterprise JavaBeans(EJB) b) Web c) application client and d) resource adapter Modules can be assembled to J2EE...View answers
Questions : 8 :: What is a Java applet?
An applet is a J2EE component that run on the client. In other words An applet is a program written in the Java language that can be included in an HTML page,like an...View answers
Questions : 9 :: What is a Java application Client?
An application Client is a J2EE component that run on the client. An application is used to contain a full-function client non Web-based Java application that connects to the J2EE resources defined...View answers
Questions : 10 :: What is a Java servlet?
A Java servlet is a J2EE component that run on the Server. In other words A Java servlet runs in a Web server or application server and provides server-side processing like accessing a database...View answers
Questions : 11 :: What is a JavaServer Pages (JSP)?
A JavaServer Pages (JSP) is a J2EE component that run on the Server. In other words Java Server Page (JSP) is a technology for providing the content or appearance of Web pages by using servlets,...View answers
Questions : 12 :: What is Enterprise JavaBeans(EJB)?
Enterprise JavaBeans(EJB) is the J2EE component that defines a component architecture for multi-tier client/server systems. (EJB) components (enterprise beans) are business components that run on the...View answers
Questions : 13 :: What are container services?
A container is a runtime support of a system-level entity. Containers provide components with services such as lifecycle management, security, deployment, and threading.
Questions : 14 :: What is Enterprise JavaBeans (EJB) container?
It manages the execution of enterprise beans for J2EE applications. Enterprise beans and their container run on the J2EE server.
Questions : 15 :: What are types of J2EE clients?
Following are the types of J2EE clients:
Java Web Start-enabled rich clients, powered by Java Web Start technology.
Wireless clients, based on Mobile Information...View answers
Questions : 16 :: What is deployment descriptor?
A deployment descriptor is an Extensible Markup Language (XML) text-based file with an .xml extension that describes a component’s deployment settings. A J2EE application and each of its...View answers
Questions : 17 :: What is the EAR file?
An EAR file is a standard JAR file with an .ear extension, named from Enterprise ARchive file. A J2EE application with all of its modules is delivered in EAR file.
Questions : 18 :: What is JTA and JTS?
JTA is the abbreviation for the Java Transaction API. JTS is the abbreviation for the Jave Transaction Service. JTA provides a standard interface and allows you to demarcate transactions in a manner...View answers
Questions : 19 :: What is JAXP?
JAXP stands for Java API for XML. XML is a language for representing and describing text-based data which can be read and handled by any program or tool that uses XML APIs. It provides standard...View answers
Questions : 20 :: What is JAAP?
The Java Authentication and Authorization Service (JAAS) provides a way for a J2EE application to authenticate and authorize a specific user or group of users to run it. It is a standard Pluggable...View answers
Questions : 21 :: What is Java Naming and Directory Service?
The JNDI provides naming and directory functionality. It provides applications with methods for performing standard directory operations, such as associating attributes with objects and searching for...View answers
Questions : 22 :: What is Struts?
A Web page development framework. Struts combines Java Servlets, Java Server Pages, custom tags, and message resources into a unified framework. It is a cooperative, synergistic platform, suitable...View answers
Questions : 23 :: How is the MVC design pattern used in Struts framework?
In the MVC design pattern, application flow is mediated by a central Controller. The Controller delegates requests to an appropriate handler. The handlers are tied to a Model, and each handler acts...View answers
Questions : 24 :: What is the difference between Session bean and Entity bean ?
The Session bean and Entity bean are two main parts of EJB container. Session Bean --represents a workflow on behalf of a client --one-to-one logical mapping to a client. --created and destroyed by...View answers
Questions : 25 :: What is "applet" ?
A J2EE component that typically executes in a Web browser but can execute in a variety of other applications or devices that support the applet programming model.
Questions : 26 :: Difference between load and get method?
load() can’t find the object from cache or database, an exception is thrown and the load() method never returns null.
get() method returns null if the object can’t be found. The load()...View answers
Questions : 27 :: How to invoke stored procedure in hibernate?
Questions : 30 :: What is the file extension used for hibernate mapping file?
he name of the file should be like this : filename.hbm.xml
Questions : 31 :: Define connection pooling?
Connection pooling is a mechanism reuse the connection.which contains the number of already created object connection. So whenever there is a necessary for object, this mechanism is used to directly...View answers
Questions : 32 :: What are the JSP tag?
In JSP tags can be divided into 4 different types.
Questions : 33 :: How to access web.xml init parameters from jsp page?
For example, if you have: <context-param> <param-name>Id</param-name> <param-value>this is the value</param-value></context-param> You can access this parameter...View answers
Questions : 34 :: What are JSP Directives?
1.page Directives <%@page language=”java” %>
2. include Directives: <%@ include file=”/header.jsp” %>
3. taglib Directives <%@ taglib...View answers