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

What is @resource in java?

1007


What is @injectmock?

940


What are the various types of entrepreneur java bean?

958


Define Context?

1064


What does @inject mean in java?

1105


What is ejb and why it is used?

1050


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?

1073


Mention the three levels for applying interceptor methods.

1011


What is ejb 3?

939


What are the callback annotations for entity bean?

1009


What is ejb javatpoint?

995


Explain transaction and various methods to manage it?

970


How is consistency maintained by Stateful Session through transaction updates ?

1190


What’s new in the ejb 2.0 specification?

1041


Differentiate Phantom from Un-repeatable?

1154