|
EJB Interview - August 1, 2008, 11:35 am by Amit Satpute
Answer - EJB QL stands for Enterprise Java Beans - Query
Language. It was introduced in the EJB 2.0.....
Answer - EJBContext is an interface implemented by the
container. It is a part of the bean-container contract.....
Answer - Modules are packaged based on their functionality as
EAR, JAR and WAR files.......
Answer - Heavy weight application consume a lot of time while
loading the plug-ins. In lazy loading......
Answer - Session beans are used to shield the client from the
complexity of the business logic......
Answer - Between the client and the session bean, the state of
the conversation can be maintained using a stateful.....
Answer - A stateless session bean is an enterprise bean that
does not maintain conversational state specific to a client session......
Answer - The create() method is used to insert data into the
database by creating a new .....
Answer - Two situations need to be taken under
consideration:.....
Answer - There is no default transaction attribute for an EJB.
The deployer must specify.....
Answer - A server is an application that responds to the
requests made by client(s) and manages....
Answer - Primary Keys are used to uniquely identify objects
from a database. The ejbFindByPrimaryKey method.....
Answer - The SessionFacade is implemented as a session bean. It
acts like a wrapper class.....
Answer - CMP (Container-managed Persistence) BMP (Bean-managed
Persistence).....
Answer - Transaction_read_uncommitted- Allows a method to read
uncommitted data from a DB(fast but not wise).....
Answer - To increase the productivity, database operations can
be implemented manually by writing suitable.....
Answer - Abstract schema is specified for entity beans with
container managed persistence. The name.....
Answer - A Message Driven Bean is a message consumer.
Message-driven beans receive JMS......
Answer - The deployment descriptor directs a deployment tool to
deploy a module or application......
Answer - The call will most likely be ignored.......
|