what s the difference b/w EJB 2.0 and EJB 3.0 technically
Answer Posted / nidhi aggarwal
EJB 2.0 are very complex, difficult to learn/use. Uses
methods
like "ejbPassivate", "ejbActivate", "ejbLoad", "ejbStore".
Needs a deployment descriptor.
In EJB 3.0 methods
like "ejbPassivate", "ejbActivate", "ejbLoad", "ejbStore"
are removed. Annotations are provided. In EJB 3.0, we donot
need deployment descriptor. POJO(Plain old java object) are
introduced. For defining any relationship 1:1, 1:N, N:1,
M:N we have annitations.
| Is This Answer Correct ? | 42 Yes | 9 No |
Post New Answer View All Answers
Can beans who are involved in transaction have 'passivation' process?
What is the difference between ejb and java beans?
How to generate ejb stubs in eclipse?
What is a stateless session?
What is ejb and its architecture?
What is the difference between find and select methods in ejb?
Differentiate “find a method” from “select method” in EJB ?
What is EJB object?
Why do we need ejb?
What is the procedure for the presentation of ejb persistence mechanism?
What is stateless session?
What is a ejb container?
What is backing bean?
Why do we need ejb in java?
What is ejb and how it works?