Java J2EE Interview Questions and Answers for Experienced - 2

Question: 6

What is Servlet?

A java program that extends the functionality of a Web server, generating dynamic content and interacting with Web applications using a request response paradigm.

Question: 7

What is transaction?

An atomic unit of work that modifies data.

A transaction encloses one or more program statements, all of which either complete or roll back.

Transactions enable multiple users to access the same data concurrently.

Question: 8

What is URI?

Uniform resource identifier. A globally unique identifier for an abstract or physical resource.

A URL is a kind of URI that specifies the retrieval protocol (http or https for Web applications) and physical location of a resource (host name and host relative path).

A URN is another type of URI.

Question: 9

What is Web server provider?

A vendor that supplies a web server.

Question: 10

Are JavaBeans J2EE components?

No. JavaBeans components are not considered J2EE component by the J2EE specification.

They are written to manage the data flow between an application client or applet and components running on the J2EE server or between server components and a database.

JavaBeans components written for the J2EE platform have instance variables and get and set methods for accessing the data in the instance variables.

JavaBeans components used in this way are typically simple in design and implementation, but should conform to the naming and design conventions outlined in the JavaBeans component architecture.

Related Questions