What is Session Bean?
In some cases the data is inserted NOT using Java application,.What is bean managed transaction?
How can I call one EJB from inside of calories and protein in soy nuts another EJB?
With CMP, the container manages the persistence of the entity bean.Message-driven beans have no home or remote interface, and therefore cannot be directly accessed by internal or external clients.Container-managed persistence (CMP) and bean-managed persistence (BMP).Consider the case where your EJB needs to support a non http-based client.What is Entity Bean?This design allowed for maximum flexibility in developing applications without consideration for the deployment scenario, and was a strong feature in support of a goal of component reuse in J2EE.Click here TO read answers NOW.It enables rapid development of mission-critical application that are versatile, reusable and portable across middleware while protecting IT investment and preventing vendor lock-in.
In case of stateful session bean, the bean may be kept in cache till either the session times out, in which case the bean is removed or when there is a requirement for memory in which case the data is cached and the bean.
System level exception is remote exception.
Is it possible to write two EJBs that share the same Remote and Home interfaces, and have different bean classes?In this case we call session bean which on turn call entity bean.Specify the transaction attribute of the bean as RequiresNew.Create a higher-level of abstraction for your EJBs API.Use the primitive wrapper classes, instead.What is difference between system level exception and application level exception?With the default setting the container will attempt to keep a working set of beans in the cache.