-
-
-
Distributed Object using RMI-IIOP
How are parameters passed to a method of a distributed object using RMI-IIOP?
-
What is the difference between CMP and BMP
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 our enitty beans fields with database. The Container manages the persistence of the bean. Absolutely no database access code is written inside the bean class. BMP means Bean Managed Persistence....
-
-
-
-
-
-
Can I invoke Runtime.gc() in an EJB
Answer posted by Mohan on 2005-05-21 19:26:48: No
-
-
-
-
-
If i call remove() method on remote object, what happen?
If we call remove() method on remote object, ejb container removes the one row data in a table. if we call a remove() method on home object, container removes object home object.
-
What are the call back methods in Entity bean
Answered by Jey Ramasamy on 2005-05-08 19:51:04: 1. setEntityContext() 2. ejbCreate() 3. ejbPostCreate() 4. ejbActivate() 5. ejbPassivate() 6. ejbRemove() 7. unsetEntityContext()
-
-
-
-
EJB Interview Questions
Ans