J2EE Interview Questions and Answers
Question - 41 : - What is connector ?
Answer - 41 : - A standard extension mechanism for containers that provides connectivity to enterprise information systems. A connector is specific to an enterprise information system and consists of a resource adapter and application development tools for enterprise information system connectivity. The resource adapter is plugged in to a container through its support for system-level contracts defined in the Connector architecture.
Question - 42 : - What is container-managed persistence ?
Answer - 42 : - The mechanism whereby data transfer between an entity bean's variables and a resource manager is managed by the entity bean's container.
Question - 43 : - What is container-managed sign-on ?
Answer - 43 : - The mechanism whereby security information needed for signing on to a resource is supplied by the container.
Question - 44 : - What is container-managed transaction ?
Answer - 44 : - A transaction whose boundaries are defined by an EJB container. An entity bean must use container-managed transactions.
Question - 45 : - What is EAR file ?
Answer - 45 : - Enterprise Archive file. A JAR archive that contains a J2EE application.
Question - 46 : - What is ebXML ?
Answer - 46 : - Electronic Business XML. A group of specifications designed to enable enterprises to conduct business through the exchange of XML-based messages. It is sponsored by OASIS and the United Nations Centre for the Facilitation of Procedures and Practices in Administration, Commerce and Transport (U.N./CEFACT).
Question - 47 : -
What is EJB ?
Answer - 47 : - Enterprise JavaBeans.
Question - 48 : - What is EJB container ?
Answer - 48 : - A container that implements the EJB component contract of the J2EE architecture. This contract specifies a runtime environment for enterprise beans that includes security, concurrency, life-cycle management, transactions, deployment, naming, and other services. An EJB container is provided by an EJB or J2EE server.
Question - 49 : - What is EJB context ?
Answer - 49 : - A vendor that supplies an EJB container. An object that allows an enterprise bean to invoke services provided by the container and to obtain the information about the caller of a client-invoked method.
Question - 50 : - What is EJB Home object ?
Answer - 50 : - An object that provides the life-cycle operations (create, remove, find) for an enterprise bean. The class for the EJB Home object is generated by the container's deployment tools. The EJB Home object implements the enterprise bean's Home interface. The client references an EJB Home object to perform life-cycle operations on an EJB object. The client uses JNDI to locate an EJB Home object.