J2EE Interview Questions & Answers

Showing 10 of 330 questions | Page 25

Technical interview questions and answers are important for any J2EE Interview because companies want candidates who understand enterprise Java components, servlets, JSP, JDBC, MVC frameworks, and server-side development. J2EE is widely used for building scalable and secure enterprise applications, making it a key topic in Java-based interviews. Companies like TCS, Infosys, Wipro, Cognizant, and Accenture often include J2EE questions in their placement tests and technical rounds to evaluate backend development skills. This guide provides fully solved J2EE interview questions with clear explanations, helping freshers and job seekers build strong fundamentals. Preparing these questions will help you perform confidently in technical interviews, project discussions, and Java-based coding assessments.

Showing 10 of 330 questions

241. What is resource adapter module ?

A deployable unit that contains all Java interfaces, classes, and native libraries, implementing a resource adapter along with the resource adapter deployment descriptor.

242. What is resource manager ?

Provides access to a set of shared resources. A resource manager participates in transactions that are externally controlled and coordinated by a transaction manager. A resource manager typically is in a different address space or on a different machine from the clients that access it. Note: An enterprise information system is referred to as a resource manager when it is mentioned in the context of resource and transaction management.

243. What is resource manager connection ?

An object that represents a session with a resource manager.

244. What is resource manager connection factory ?

An object used for creating a resource manager connection.

245. What is RMI ?

Remote Method Invocation. A technology that allows an object running in one Java virtual machine to invoke methods on an object running in a different Java virtual machine.

246. What is RMI-IIOP ?

A version of RMI implemented to use the CORBA IIOP protocol. RMI over IIOP provides interoperability with CORBA objects implemented in any language if all the remote interfaces are originally defined as RMI interfaces.

247. What is role (development) ?

The function performed by a party in the development and deployment phases of an application developed using J2EE technology. The roles are application component provider, application assembler, deployer, J2EE product provider, EJB container provider, EJB server provider, Web container provider, Web server provider, tool provider, and system administrator.

248. What is role mapping ?

The process of associating the groups or principals (or both), recognized by the container with security roles specified in the deployment descriptor. Security roles must be mapped by the deployer before a component is installed in the server.

249. What is role (security) ?

An abstract logical grouping of users that is defined by the application assembler. When an application is deployed, the roles are mapped to security identities, such as principals or groups, in the operational environment. In the J2EE server authentication service, a role is an abstract name for permission to access a particular set of resources. A role can be compared to a key that can open a lock. Many people might have a copy of the key; the lock doesn't care who you are, only that you have

250. What is rollback ?

The point in a transaction when all updates to any resources involved in the transaction are reversed.
Questions and Answers for Competitive Exams Various Entrance Test