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

Can beans who are involved in transaction have 'passivation' process?

1023


What is the difference between ejb and java beans?

1054


How to generate ejb stubs in eclipse?

1366


What is a stateless session?

1062


What is ejb and its architecture?

1023


What is the difference between find and select methods in ejb?

1052


Differentiate “find a method” from “select method” in EJB ?

1048


What is EJB object?

1168


Why do we need ejb?

1081


What is the procedure for the presentation of ejb persistence mechanism?

1116


What is stateless session?

1061


What is a ejb container?

1013


What is backing bean?

1121


Why do we need ejb in java?

1061


What is ejb and how it works?

1221