Java J2EE Interview Questions and Answers for Experienced - 1

Question: 1

What J2EE?

J2EE is a standard for building enterprise applications. It includes technologies for implementing business logic, database access, message exchange, transaction management, web requests processing and many other features.

The main approach of J2EE is separating presentation level from business logic(lightweight client applications) and business logic from data storage ( application level of n-tier architecture).

J2EE is an environment for developing and deploying applications.

The J2EE platform consists of a set of services, application programming interfaces (APIs) and protocols that provide the functionality for developing multitiered, web based applications.

Question: 2

What is applet container?

IManages the execution of applets.

Consists of a Web browser and Java Plugin running on the client together.

Question: 3

What is Enterprise Java Beans (EJB) container?

It manages the execution of enterprise beans for J2EE application.

Enterprise beans and their container run on the J2EE server.

Question: 4

What is life cycle (J2EE component)?

The framework events of a J2EE component’s existence. Each type of component has defining events that mark its transition into states in which it has varying availability for use.

For example, servlet is created and has its init method called by its container before invocation of its service method by clients or other servlets that require its functionality.

The init and destroy methods in this example are callback methods.

Similar considerations apply to the life cycle of all J2EE component types :

Enterprise beans, Web components (servlets or JSP pages), applets and application clients.

Question: 5

What is security view?

The set of security roles defined by the application assembler.

Related Questions