here are some simple when ... asked from me sometime back 1) justify use of EJB 2) where to use entity , where to use session 3) given a scenario, list down the entity beans and session beans ... 4) how to deploy 5) life cycle of anyone(sateful session bean was asked from me) 6) detailed explanation of activation and passivation in every type of bean 7) dirty read problem 8) transactions,isolation levels The first one is one fav.... coz while explaning you will be asked a lots of questions...(y this y that..) , and if you are a java guy and dont know ejb even then it could be asked
What is an EJB? What advantages do they have? What disadvantages do they have? What limitations do they have? What do you need to run EJBs? Why/when/how would you use Entity beans? Why/when/how would you use Stateless Session beans? Why/when/how would you use Stateful Session beans? Why/when/how would you use Message-driven beans? What is Container Managed Persistence? How do you use Container Managed Persistence? What is Bean Managed Persistence? How do you use Bean Managed Persistence? What is the EJB container? What does the EJB container do? What is the lifecycle of Entity/Stateless Session/Stateful Session/Message driven beans? What class files are required to define Entity/Stateless -Session/Stateful Session/Message driven beans? What is an EJB Remote Interface, how is it used? What is an EJB Home Interface, how is it used? What is an EJB Local Interface, how is it used? When would you use an EJB Local Interface? What goes in the bean implementation class? Where does the bean implementation class run? What is an EJB Primary Key class, how is it used? What is a deployment descriptor? What goes into a deployment descriptor? How would you manage security in EJBs? How would you manage transactions in EJBs? What kind of transactions are supported in EJBs? What's the difference between EJB version 1 and EJB version 2 ? Describe a typical J2EE architecture Where would you put the business logic in a J2EE application? How would a client access an EJB
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"