Why does EJB needs two interfaces, Home and Remote
Interface?
Answer Posted / sitaram karancheti
Home Interface: Contains methods that are not tied to a
specific EJB instance (i.e. methods at class level), like
methods for creating removing and finding EJB instance.
Remote Interface: Contains methods tied to a specific EJB
instance, such as methods that provides the actual business
logic.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is ejb client?
Is soap stateless or stateful?
A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?
Why do we need ejb in java?
Why should we use ejb?
Name the acid properties of a transaction.
What are the different kind of ejb's?
What is ejb home object?
What is entity bean in ejb?
How can a CORBA object, accessed from a EJB?
Enlist the declarative transaction types?
How is consistency maintained by Stateful Session through transaction updates ?
What does it mean to be stateless?
Which is more beneficial: Stateful or Stateless Bean?
How many types of session beans are available in ejb?