-
-
-
-
What is an EJB Context?
EJBContext is an interface that is implemented by the container, and it is also a part of the bean-container contract. Entity beans use a subclass of EJBContext called EntityContext. Session beans use a subclass called SessionContext. These EJBContext objects provide the bean class with information about its container, the client using the bean and the bean itself. They also provide other functions....
-
-
What is the difference between ejbCreate() and ejbPostCreate()
Answered by Jey on 2005-05-08 11:14:33: Session and Message Driven Bean will have only ejbCreate() method and no ejbPostCreate() method. Entity bean will have both ejbCreate() and ejbPostCreate() methods. The ejbPostCreate method returns void, and it has the same input parameters as the ejbCreate method. If we want to set a relationship field to initialize the bean instance, we should do...
-
-
-
-
-
-
-
-
-
Can a Session Bean be defined without ejbCreate() method
Answer posted by Mohan on 2005-05-21 19:27:35: No
-
-
How many JVM's can we run in a system?
we can run any number of JVM's.
-
-
-
EJB Interview Questions
Ans