Friday, 7 October 2011

EJB interview questions

What are the different kinds of enterprise beans? - Different kind of enterrise beans are Stateless session bean, Stateful session bean, Entity bean, Message-driven bean. What is Session Bean? - A session bean is a non-persistent object that implements some business logic running on the server. One way to think of a session object. What is Entity Bean? - The entity bean is used to represent data in the database. It provides an object-oriented interface to ____. What are the methods of Entity Bean? - An entity bean consists of 4 groups of methods, create methods. What is the difference between Container-Managed Persistent (CMP) bean and Bean-Managed Persistent(BMP) ? - Container-managed persistence (CMP) and bean-managed persistence (BMP). With CMP, the container...

Search here for "Freshers Jobs"