J2EE Interviews Question page18,J2EE Interviews Guide,J2EE Interviews

This page discusses - J2EE Interviews Question page18,J2EE Interviews Guide,J2EE Interviews



J2EE Interviews Question page18


  1. What is stateless session bean ?
    A session bean with no conversational state. All instances of a stateless session bean are identical.
  2. What is system administrator ?
    The person responsible for configuring and administering the enterprise's computers, networks, and software systems.
  3. What is tag ?
    In XML documents, a piece of text that describes a unit of data or an element. The tag is distinguishable as markup, as opposed to data, because it is surrounded by angle brackets (< and >). To treat such markup syntax as data, you use an entity reference or a CDATA section.
  4. What is template ?
    A set of formatting instructions that apply to the nodes selected by an XPath expression.
  5. What is tool provider ?
    An organization or software vendor that provides tools used for the development, packaging, and deployment of J2EE applications.
  6. What is transaction attribute ?
    A value specified in an enterprise bean's deployment descriptor that is used by the EJB container to control the transaction scope when the enterprise bean's methods are invoked. A transaction attribute can have the following values: Required, RequiresNew, Supports, NotSupported, Mandatory, or Never.
  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.
  8. What is transaction isolation level ?
    What is transaction isolation level The degree to which the intermediate state of the data being modified by a transaction is visible to other concurrent transactions and data being modified by other transactions is visible to it.
  9. What is transaction manager ?
    Provides the services and management functions required to support transaction demarcation, transactional resource management, synchronization, and transaction context propagation.
  10. What is Unicode ?
    A standard defined by the Unicode Consortium that uses a 16-bit code page that maps digits to characters in languages around the world. Because 16 bits covers 32,768 codes, Unicode is large enough to include all the world's languages, with the exception of ideographic languages that have a different character for every concept, such as Chinese.
  11. What is Universal Description, Discovery and Integration (UDDI) project ?
    An industry initiative to create a platform-independent, open framework for describing services, discovering businesses, and integrating business services using the Internet, as well as a registry. It is being developed by a vendor consortium.
  12. What is Universal Standard Products and Services Classification (UNSPSC) ?
    A schema that classifies and identifies commodities. It is used in sell-side and buy-side catalogs and as a standardized account code in analyzing expenditure.
  13. What is unparsed entity ?
    A general entity that contains something other than XML. By its nature, an unparsed entity contains binary data.
  14. 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.
  15. What is URL ?
    Uniform resource locator. A standard for writing a textual reference to an arbitrary piece of data in the World Wide Web. A URL looks like this: protocol://host/local info where protocol specifies a protocol for fetching the object (such as http or ftp), host specifies the Internet name of the targeted host, and local info is a string (often a file name) passed to the protocol handler on the remote host.
  16. What is URL path ?
    The part of a URL passed by an HTTP request to invoke a servlet. A URL path consists of the context path + servlet path + path info, where Context path is the path prefix associated with a servlet context of which the servlet is a part. If this context is the default context rooted at the base of the Web server's URL namespace, the path prefix will be an empty string. Otherwise, the path prefix starts with a / character but does not end with a / character. Servlet path is the path section that directly corresponds to the mapping that activated this request. This path starts with a / character. Path info is the part of the request path that is not part of the context path or the servlet path
  17. What is URN ?
    Uniform resource name. A unique identifier that identifies an entity but doesn't tell where it is located. A system can use a URN to look up an entity locally before trying to find it on the Web. It also allows the Web location to change, while still allowing the entity to be found.
  18. What is user data constraint ?
    Indicates how data between a client and a Web container should be protected. The protection can be the prevention of tampering with the data or prevention of eavesdropping on the data
  19. What is user (security) ?
    An individual (or application program) identity that has been authenticated. A user can have a set of roles associated with that identity, which entitles the user to access all resources protected by those roles.
  20. What is validating parser ?
    A parser that ensures that an XML document is valid in addition to being well formed. See also parser.
  21. What is value-binding expression ?
    A JavaServer Faces EL expression that refers to a property of a backing bean. A component tag uses this expression to bind the associated component's value or the component instance to the bean property. If the component tag refers to the property via its value attribute, then the component's value is bound to the property. If the component tag refers to the property via its binding attribute then the component itself is bound to the property.
  22. What is virtual host ?
    Multiple hosts plus domain names mapped to a single IP address.
  23. What is W3C ?
    World Wide Web Consortium. The international body that governs Internet standards. Its Web site is http://www.w3.org/.
  24. What is WAR file ?
    Web application archive file. A JAR archive that contains a Web module.
  25. What is warning ?
    A SAX parser warning is generated when the document's DTD contains duplicate definitions and in similar situations that are not necessarily an error but which the document author might like to know about, because they could be. See also fatal error, error.
  26. What is Web application ?
    An application written for the Internet, including those built with Java technologies such as JavaServer Pages and servlets, as well as those built with non-Java technologies such as CGI and Perl.
  27. What is Web application, distributable ?
    A Web application that uses J2EE technology written so that it can be deployed in a Web container distributed across multiple Java virtual machines running on the same host or different hosts. The deployment descriptor for such an application uses the distributable element.
  28. What is Web component ?
    A component that provides services in response to requests; either a servlet or a JSP page.
  29. What is Web container ?
    A container that implements the Web component contract of the J2EE architecture. This contract specifies a runtime environment for Web components that includes security, concurrency, life-cycle management, transaction, deployment, and other services. A Web container provides the same services as a JSP container as well as a federated view of the J2EE platform APIs. A Web container is provided by a Web or J2EE server.
  30. What is Web container, distributed ?
    A Web container that can run a Web application that is tagged as distributable and that executes across multiple Java virtual machines running on the same host or on different hosts.
  31. What is Web container provider ?
    A vendor that supplies a Web container.
  32. What is Web module ?
    A deployable unit that consists of one or more Web components, other resources, and a Web application deployment descriptor contained in a hierarchy of directories and files in a standard Web application format.
  33. What is Web resource ?
    A static or dynamic object contained in a Web application that can be referenced by a URL.
  34. What is Web resource collection ?
    A list of URL patterns and HTTP methods that describe a set of Web resources to be protected.
  35. What is Web server ?
    Software that provides services to access the Internet, an intranet, or an extranet. A Web server hosts Web sites, provides support for HTTP and other protocols, and executes server-side programs (such as CGI scripts or servlets) that perform certain functions. In the J2EE architecture, a Web server provides services to a Web container. For example, a Web container typically relies on a Web server to provide HTTP message handling. The J2EE architecture assumes that a Web container is hosted by a Web server from the same vendor, so it does not specify the contract between these two entities. A Web server can host one or more Web containers.
  36. What is Web server provider ?
    A vendor that supplies a Web server.
  37. What is Web service ?
    An application that exists in a distributed environment, such as the Internet. A Web service accepts a request, performs its function based on the request, and returns a response. The request and the response can be part of the same operation, or they can occur separately, in which case the consumer does not need to wait for a response. Both the request and the response usually take the form of XML, a portable data-interchange format, and are delivered over a wire protocol, such as HTTP.