![]() |
| 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 ... Answered by Nikhil on 2005-05-11 01:52:59: The lifetime of an MDB instance is controlled by the container. Only two states exist: Does not exist and Ready , as illustrated in the following figure: The Latest Answer : The lifetime of an MDB instance is controlled by the container. Only two states exist: Does not exist and Ready , as illustrated in the following figure: The life of an MDB instance starts when the container invokes newInstance() ... Answered by Nikhil on 2005-05-11 11:28:14: Lazy loading is a characteristic of an application when the actual loading and instantiation of a class is delayed until the point just before the instance is Latest Answer : In Lazy loading, you load the child data as and when required.Example:public class OrderBean implements EntityBean { private long orderId; private String orderName; ... Is there a way to get the original exception object from inside a nested or wrapped Exception (for example an EJBException or RemoteException) Absolutely yes, but the way to do that depends on the Exception, since there are no standards for that. Some examples: ·When you have an javax.ejb.EJBException, you can use the getCausedByException() Latest Answer : Distributed transaction are executed in a distributed manner (may on more than one machine) while flat are not having this feature. ... What happens if the client object and the remote object are running in different JVMs, but on the same physical machine? Read Answers (1) | Asked by : Krishna Reddy Latest Answer : hey,IIOP: Internet Inter ORB (Object Reuqest Broker) Protocol, thats a Corba std, and used in communication between stubs, also objects between different languages.-Manivannan Palanichamy ... Latest Answer : Roles and responsiblities between to interfaces are diffrent.Home interface is your way to communicate with container , who is responsible to creating ,locating even removing one or more beansRemote interface that will allow you to remotely access to ... Read Answers (4) | Asked by : Raja if we call remove() method on remote object, ejb container removes the one row data in a table. if we call a remove() method on home object, container removes object home object. Latest Answer : remove() method call from the client on a session bean instance differs from stateless and statefull bean.For a stateless session bean the remove() does not cause any effect on the bean instance and it is not removed from the memory.The container can ... Read Answers (3) | Asked by : Raghuram How are parameters passed to a method of a distributed object using RMI-IIOP? Latest Answer : Java uses call-by-reference mechanism for sending objects to a remote method. ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||