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
What is session bean?
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 is stateful or stateless?
What is ejb javatpoint?
What does statelessness mean?
Explain ejbhome and ejbobject in ejb?
Should services be stateless?
What is the difference between ejb and java beans?
What is an ejb platform?
What is stateless code?
what is mean by OLE ? Please answer me. Advance thanks.
Is having static initializer blocks legal in ejb?
What is the meaning of acid in the connection of transaction management?
What is an entity manager?
What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?