![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Answered by Jey on 2005-05-08 12:47:06: Entity bean represents the real data which is stored in the persistent storage like Database or file system. For example, There is a table in Database called Credit_card. Latest Answer : entity bean are used to represent state of unique entity.for example. each employee have unique ID . ... Answered by Jey on 2005-05-08 11:32:16: CMP means Container Managed Persistence. When we write CMP bean , we dont need to write any JDBC code to connect to Database. The container will take care of connection Latest Answer : CMP means Container Managed Persistence. In case of CMP bean , developers dont need to write any JDBC code to connect to Database. The container will take care of connection our enitty beans fields with database. The Container manages the persistence ... Answered by Jey on 2005-05-08 12:30:37: Message Driven Bean (MDB) is an enterprise bean which runs inside the EJB container and it acts as Listener for the JMS asynchronous message . It does not have Home Latest Answer : Message Driven Bean (MDB) is an enterprise bean which runs inside the EJB container and it acts as Listener for the JMS asynchronous message . It does not have Home and Remote interface as Session or Entity bean. It is called by container when container ... Answered by Nikhil on 2005-05-11 01:52:59: The lifetime of an MDB instance is controlled by the container. Only two states exist: Does not exist and Ready , as illustrated in the following figure: The Latest Answer : The lifetime of an MDB instance is controlled by the container. Only two states exist: Does not exist and Ready , as illustrated in the following figure: The life of an MDB instance starts when the container invokes newInstance() ... Answered by Jey on 2005-05-08 11:55:29: Activation and Passivation is appilicable for only Stateful session bean and Entity bean. When Bean instance is not used for a while by client then EJB Latest Answer : Activation and Passivation is appilicable for only Stateful session bean and Entity bean. When Bean instance is not used for a while by client then EJB Container removes it from memory and puts it in secondary storage (often disk) so that ... Answer posted by Mohan on 2005-05-21 17:07:03: JNDI Context Provides a mechanism to lookup resources on the network Initial Context constructor provides the initial context. Session Context has Latest Answer : JNDI Context Provides a mechanism to lookup resources on the network Initial Context constructor provides the initial context. Session Context has all the information a session bean would require from the container Entity Context has all ... Answer posted by Mohan on 2005-05-21 17:08:14: Session Context Contains information that a Session Bean would require from the container Entity Context contains the information that an Entity Bean Latest Answer : Session Context Contains information that a Session Bean would require from the container Entity Context contains the information that an Entity Bean would require from a container ... Answered by Jey on 2005-05-08 12:59:41: Deployment Descriptor is a XML document with .xml extenion. It basically descripes the deployment settings of an application or module or the component. At runtime Latest Answer : Deployment Descriptor is a XML document with .xml extenion. It basically describes the deployment settings of an application . At runtime webcontainer reads the deployment descriptor and understands which .class file is mapped to the url-patteren ... Answer posted by Mohan on 2005-05-21 17:14:47: CMR - Container Managed Relationships allows the developer to declare various types of relationships between the entity beans Latest Answer : CMR - Container Managed Relationships allows the developer to declare various types of relationships between the entity beans ... Answer posted by Mohan on 2005-05-21 17:15:36: CMR and sub classing of the CMP bean by the container Latest Answer : CMR and sub classing of the CMP bean by the container ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||