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
Define SessionContext ?
Is udp stateless?
Is having static initializer blocks legal in ejb?
Explain the important elements of ejb?
What are the advantages of java beam?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
Are entity beans allowed to create() methods?
What is the procedure for the creation of stateless ejb?
What is EJB server provider?
Define Clone?
List some key actors in persistence api.
Explain the concept of connection pooling feature of ejb container?
How does ejb invocation happens?
What is use of @postconstruct?
can u explain about design patterns like singleton,builder,factory