java - What are the main differences between EJB 2.0 and EJB 3.0 in the orientation of an object -


i want try ejb , studying theory behind ejb 3.0. know in ejb 3.0 don't have use deployment descriptor can use annotations, , don't have write home , remote interfaces.

are there other key difference in object orientation between ejb 2.0 , ejb 3.0?

major difference between ejb 2.0 , 3.0 listed below in theory
1. elimination of home interface gives simpler lookup process in ejb 3.0 in ejb 2.0.
2. employment of annotations makes ejb 3.0 latest technology while ejb 2.0 has home , remote interfaces instead of annotations.
3. ejb 2.0 deploys entity beans accessing database. ejb 3.0 has java persistence api access data generalized address issues of portability.
4. ejb 3.0 performs better because uses pojos along metadata annotation, new introduction. pojos faster xmldescriptor , jndi deployed ejb 2.0 reference of objects. ejb 2.0 not implement pojo.
5. ejb 2.0 heavy when comes writing home , remote interfaces. ejb 3.0 has no restriction on using of standard interfaces. configured , simple pojo doesn’t need execute container callback methods such ejbactive, ejbstore, etc used ejb 2.0.
6.in ejb 3.0, entity bean can effortlessly converted dao , vice versa. not possible in ejb 2.0.
hope might extent


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -