|
Answer EJB Interview Questions - Part 1
We are in the process of preparing answers for the interview questions from our question bank . Please anser the following questions with any reference links for any sample code, tutorial or ebook chapter. After we get answers for these questions, we will update the question bank and move on to the next set of questions.
1. Is there a way to get the original exception object from inside a nested or wrapped Exception (for example an EJBException or RemoteException)
2 If my session bean with single method insert record into 2 entity beans, how can I know that the process is done in same transaction (the attributes for these beans are Required)
3 What is EJB architecture(components)
4 How can i retrieve from inside my Bean(Stateless session and Entity CMP) the user name which i am serving (the user name of user just logged in my web application)
5 Can I develop an Entity Bean without implementing the create() method in the home interface
6 Is stateless Sessiob bean create() method contains any parameters
7 What is the difference between ejbCreate() and ejbPostCreate()
8 What is the difference between ejbStore() and ejbLoad()
9 With EJB 1.1 specs, why is unsetSessionContext() not provided in Session Beans, like unsetEntityContext() in Entity Beans
10 Why are ejbActivate() and ejb Passivate() included for stateless session bean even though they are never required as it is nonconversational bean
|