![]() |
| 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 Latest Answer : An EJB object is also an java object, but as it follows the EJB Specifications, it can be remotely identified in an Application server. An java object can be deployed in an application server, but cannot be idetified. i.e A java object can be in the classpath ... Answer posted by Mohan on 2005-05-20 08:40:04: Java Beans is intra-process component where as EJB is an Inter-Process component JavaBeans is particularly well-suited for asynchronous, intra-application Latest Answer : JavaBean :1. Low-level approach for developing re-usable components for building different Java applications (Applets, stand-alone applications etc.).2. Java Beans runs in a JVM, just like other normal java classEJB :1. High-level approach to build Distributed ... Answer posted by Mohan on 2005-05-20 08:45:36: Stateful session beans have the passivated and Active state which the Stateless bean does not have. Latest Answer : Stateful session beans follow the instance passivation techniqueStateless session beans follow the instance pooling technique.ejbActivate() and ejbPassivate() methods are not called in Stateless session beansI ... Answered by Jey on 2005-05-08 11:32:16: CMP means Container Managed Persistence. When we write CMP bean , we dont need to write any JDBC code to connect to Database. The container will take care of connection Latest Answer : CMP means Container Managed Persistence. In case of CMP bean , developers dont need to write any JDBC code to connect to Database. The container will take care of connection our enitty beans fields with database. The Container manages the persistence ... Answered by Jey on 2005-05-08 12:51:03: EJB 2.0 adds the local beans, which are accessible only from within the JVM where beans are running in. In EJB 1.1, we had to implement remote client Latest Answer : EJB 2.0 came with new features which not available in EJB1.1 they are auto primarykey generation,EJB-query language,local interfaces,relationships. ... 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), ... Answered by Jey on 2005-05-08 11:55:29: Activation and Passivation is appilicable for only Stateful session bean and Entity bean. When Bean instance is not used for a while by client then EJB Latest Answer : Activation and Passivation is appilicable for only Stateful session bean and Entity bean. When Bean instance is not used for a while by client then EJB Container removes it from memory and puts it in secondary storage (often disk) so that ... Latest Answer : Session Bean comes with the implicit services where as HHTPSession does not. Session Bean can be web based or can be stand alone where the other can only be web based. Session Bean can be used for multiple operation for a single ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||