![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Answered by Jey on 2005-05-08 12:30:37: Message Driven Bean (MDB) is an enterprise bean which runs inside the EJB container and it acts as Listener for the JMS asynchronous message . It does not have Home Latest Answer : Message Driven Bean (MDB) is an enterprise bean which runs inside the EJB container and it acts as Listener for the JMS asynchronous message . It does not have Home and Remote interface as Session or Entity bean. It is called by container when container ... Answered by Jey on 2005-05-08 12:33:35: If Client and EJB classes are in the same machine ( Same JVM) then we can use Local linterface instead of Remote interface. Since Client and EJB are in same JVM, Latest Answer : Local interface is when the client and the ejb are colocated in a same jvm.Here the client is another EJB.In case of Local interface there is no need of throwing RemoteException rather it throws EJB Exception which is a subclass of Runtime Exception.so ... Latest Answer : We can describe the following common rules for choosing whether to use remote client view or local client view: When you will potentially use a distributed environment (if your enterprise bean should be independent of its deployment place), ... Latest Answer : I would say that the main reason is because there is a clear division of roles and responsibilities between the home and remote interfaces of an EJB. The home interface allows the client to communicate with the container which is responsible for creating, ... Why are ejbActivate() and ejb Passivate() included for stateless session bean even though they are never required as it is nonconversational bean To have a consistent interface, so that there is no different interface that you need to implement for Stateful Session Bean and Stateless Session Bean. Both Stateless and Stateful Session Bean implement Latest Answer : Yes, you can create entity bean without impelementing the create() method. The ejbs will be instantiated by findByPK or any finder methods. ... Latest Answer : Interface is mainly used to seperate the server side business logic from the client. Because interface contains only the method defination which is getting exposed to the client. Hence if one modifies the coding in the serverside business logic, no change ... 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 Latest Answer : Hi Guys,EJBContext interface provides methods for interacting with the container.Such as u can obtain the enterprise bean's remote home interface(getEJBHome() method),local home interface(getEJBLocalHome() method),enterprise bean's environment properties(getEnvironment() ... Read Answers (1) | Asked by : leelananda 1. How EjbQL ara impemented when it is necessary?2.what do you mean by shared transactional state data maintained by EJB?3.what do you mean by CMP & BMP &what is besic ifference between them?4.where are databese maneged by Entity bean is implemented & how many instance of the Entity bean for each client is maintained by Ejb container?please describe ths question conceptually?5.whuy BMP class returns null & why CMP implementation class reurns instanceof PK class?6.what do you mean by EJB client Read Answers (7) | Asked by : Abhijit Mallick What is the diff between interface and abstract class?why interfaces?why packages?why abstract class?what is the diff between uncheked exception,checked exceptions?why jvm works internally?why java does not support pointers?what is diff bet callby value and call by reference in java? Read Answers (8) | Asked by : balaraju Tags : Abstract
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||