Answer Posted / shilpa kapurkar
when we go for EJB 2.x version, the required interfaces to
develop and EJB component are
Remote Interface - Business Logic methods declaration
Home Interface - Life Cycle Methods
Bean class - Implemetation for BL methods & Life cycle methods
optionally, Local Interfaces.
When we go for EJB 3.0 , there is no need of declaring home
interface or Remote Interface. Instead it will make use of
JAVA POJO & POJI classes and interfaces. EJB 3.0 will have
only Business Interface (POJI) in which business methods are
declared. EJB3.0 makes use if Annotations.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How does ejb invocation take place?
Explain what is an EJB Context?
Is decorator an ejb design pattern?
Should services be stateless?
What is stateless authentication?
What optimization could I use if the ejb container is the only point of write access to the database?
What’s new in the ejb 2.0 specification?
What is difference between ejb 1.1 and ejb 2.0?
Can EJB made to handle multiple transactions?
How can a CORBA object, accessed from a EJB?
What do you mean by timer service and where it is used?
What is ejbdoclet?
Is it possible to share an httpsession between a jsp and ejb?
What is the difference between ejb and java beans?
Explain the concept of local interfaces?