Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why is ejb used?

976


Which is more beneficial: CMP or BMP?

1028


Is it legal to have static initializer blocks in ejb?

998


What are the system services of ejb container?

1078


What are transaction isolation levels in ejb?

1023


Enlist the enterprise beans types?

1054


What do you mean by abstract schema?

1049


What is software architecture of ejb?

988


What is ejb context?

977


Enlist the changes in EJB 2.1 ?

1031


What are the components of ejb?

1006


What is singleton session bean?

1033


What is stateless and stateful session bean in ejb?

962


How ejb invocation happens?

1043


How many ejb objects are created for a bean?

975