Java- J2ee interview questions part-II

101. What is form-based authentication
An authentication mechanism in which a Web container provides an application-specific form for logging in. This form of authentication uses Base64 encoding and can expose user names and passwords unless all
connections are over SSL.

102. What is general entity
An entity that is referenced as part of an XML document’s content, as distinct from a parameter entity, which is referenced in the DTD. A general entity can be a parsed entity or an unparsed entity.

103. What is group
An authenticated set of users classified by common traits such as job title or customer profile. Groups are also associated with a set of roles, and every user that is a member of a group inherits all the roles assigned to that group.

104. What is handle
An object that identifies an enterprise bean. A client can serialize the handle and then later deserialize it to obtain a reference to the enterprise bean.

105. What is home handle
An object that can be used to obtain a reference to the home interface. A home handle can be serialized and written to stable storage and deserialized to obtain the reference.

107. What is home interface
One of two interfaces for an enterprise bean. The home interface defines zero or more methods for managing an enterprise bean. The home interface of a session bean defines create and remove methods, whereas the home interface of an entity bean defines create, finder,
and remove methods.

108. What is HTML
Hypertext Markup Language. A markup language for hypertext documents on the Internet. HTML enables the embedding of images, sounds, video streams, form fields, references to other objects with URLs, and
basic text formatting.

109. What is HTTP
Hypertext Transfer Protocol. The Internet protocol used to retrieve hypertext objects from remote hosts.HTTP messages consist of requests from client to server and responses from server to client.

110. What is HTTPS
HTTP layered over the SSL protocol.

111. What is IDL
Interface Definition Language. A language used to define interfaces to remote CORBA objects. The interfaces are independent of operating systems and programming languages.

112. What is IIOP
Internet Inter-ORB Protocol. A protocol used for communication between CORBA object request brokers.

113. What is impersonation
An act whereby one entity assumes the identity and privileges of another entity without restrictions and without any indication visible to the recipients of the impersonator’s calls that delegation has taken
place. Impersonation is a case of simple delegation.

114. What is initialization parameter
A parameter that initializes the context associated with a servlet

115. What is ISO 3166
The international standard for country codes maintained by the International Organization for Standardization (ISO).

116. What is ISV
Independent software vendor.

117. What is J2EE
Java 2 Platform, Enterprise Edition.

118. What is J2EE application
Any deployable unit of J2EE functionality. This can be a single J2EE module or a group of modules packaged into an EAR file along with a J2EE application deployment descriptor. J2EE applications are typically
engineered to be distributed across multiple computing tiers.

119. What is J2EE component
A self-contained functional software unit supported by a container and configurable at deployment time. The J2EE specification defines the following J2EE components: Application clients and applets are components that run on the client. Java servlet and JavaServer Pages (JSP) technology components are Web components that run on the server. Enterprise JavaBeans (EJB) components (enterprise beans) are
business components that run on the server. J2EE components are written in the Java programming language and are compiled in the same way as any program in the language. The difference between J2EE
components and “standard” Java classes is that J2EE components are assembled into a J2EE application, verified to be well formed and in compliance with the J2EE specification, and deployed to production, where they are run and managed by the J2EE server or client container.

120. What is J2EE module
A software unit that consists of one or more J2EE components of the same container type and one deployment descriptor of that type. There are four types of modules: EJB, Web, application client, and resource adapter. Modules can be deployed as stand-alone units or can be assembled into a J2EE application.

121. What is J2EE product
An implementation that conforms to the J2EE platform specification.

122. What is J2EE product provider
A vendor that supplies a J2EE product.

123. What is J2EE server
The runtime portion of a J2EE product. A J2EE server provides EJB or Web containers or both.

124. What is J2ME
Abbreviate of Java 2 Platform, Micro Edition.

125. What is J2SE
Abbreviate of Java 2 Platform, Standard Edition.

126. What is JAR
Java archive. A platform-independent file format that permits many files to be aggregated into one file.

127. What is Java 2 Platform, Enterprise Edition (J2EE)
An environment for developing and deploying enterprise 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.

128. What is Java 2 Platform, Micro Edition (J2ME)
A highly optimized Java runtime environment targeting a wide range of consumer products, including pagers, cellular phones, screen phones, digital set-top boxes,and car navigation systems.

129. What is Java 2 Platform, Standard Edition (J2SE)

The core Java technology platform.

130. What is Java API for XML Processing (JAXP)
An API for processing XML documents. JAXP leverages the parser standards SAX and DOM so that you can choose to parse your data as a stream of events or to build a tree-structured representation of it. JAXP
supports the XSLT standard, giving you control over the presentation of the data and enabling you to convert the data to other XML documents or to other formats, such as HTML. JAXP provides namespace support, allowing you to work with schema that might otherwise have naming conflicts.

131. What is Java API for XML Registries (JAXR)
An API for accessing various kinds of XML registries.

132. What is Java API for XML-based RPC (JAX-RPC)
An API for building Web services and clients that use remote procedure calls and XML .

133. What is Java IDL
A technology that provides CORBA interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE pplications to invoke operations on remote network services using the Object Management Group IDL and IIOP.

134. What is Java Message Service (JMS)
An API for invoking operations on enterprise messaging systems.

135. What is Java Naming and Directory Interface (JNDI)
An API that provides naming and directory functionality.

136. What is Java Secure Socket Extension (JSSE)
A set of packages that enable secure Internet communications.

137. What is Java Transaction API (JTA)
An API that allows applications and J2EE servers to access transactions.

138. What is Java Transaction Service (JTS)
Specifies the implementation of a transaction manager that supports JTA and implements the Java mapping of the Object Management Group Object Transaction Service 1.1 specification at the level below the API.

139. What is JavaBeans component
A Java class that can be manipulated by tools and composed into applications. A JavaBeans component must adhere to certain property and event interface conventions.

140. What is JavaMail
An API for sending and receiving email.

141. What is JavaServer Faces Technology
A framework for building server-side user interfaces for Web applications written in the Java programming language.

142. What is JavaServer Faces conversion model
A mechanism for converting between string-based markup generated by JavaServer Faces UI components and server-side Java objects.

143. What is JavaServer Faces event and listener model
A mechanism for determining how events emitted by JavaServer Faces UI components are handled. This model is based on the JavaBeans component event and listener model.

144. What is JavaServer Faces _expression language
A simple _expression language used by a JavaServer Faces UI component tag attributes to bind the associated component to a bean property or to bind the associated component’s value to a method or an
external data source, such as a bean property. Unlike JSP EL expressions, JavaServer Faces EL expressions are evaluated by the JavaServer Faces implementation rather than by the Web container.

145. What is JavaServer Faces navigation model

A mechanism for defining the sequence in which pages in a JavaServer Faces application are displayed.

147. What is JavaServer Faces UI component
A user interface control that outputs data to a client or allows a user to input data to a JavaServer Faces application.

148. What is JavaServer Faces UI component class
A JavaServer Faces class that defines the behavior and properties of a JavaServer Faces UI component.

149. What is JavaServer Faces validation model
A mechanism for validating the data a user inputs to a JavaServer Faces UI component.

150. What is JavaServer Pages (JSP)
An extensible Web technology that uses static data, JSP elements, and server-side Java objects to generate dynamic content for a client. Typically the static data is HTML or XML elements, and in many cases the client is a Web browser.

If you have questions, please ask below

Leave a Reply

If you have any questions headover to our forums

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>