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 the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?
What do you mean by ejbdoclet?
How is ejb different from java beans?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
What are the different kind of ejb's?
What are the system services of ejb container?
Why is ejb needed?
What is dependency injection in ejb?
Is ejbCreate() method mandatory while defining a Session Bean?
How many types of session beans are available in ejb?
What is the full form of ejb in java?
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?
What is ejb 3?
What is entity bean in ejb?
What is an entity and its types?