I want to try EJB and I am studying the theory behind EJB 3.0. I know that in EJB 3.0 you don't have to use deployment descriptor but you can use annotations, and also you don't have to write Home
and Remote
Interfaces.
Are there any other key difference in the object orientation between EJB 2.0 and EJB 3.0?
Major difference between EJB 2.0 and 3.0 are listed below in theory
You are right, these are the main differences between EJB 2 and 3. Generally EJB 3 took all the best from lightweight injection frameworks like Spring and made EJB as close as it is possible to regular POJO.
However today, in the middle of 2013, why do you want to know the difference between EJB2 and EJB3? EJB2 is obsolete. Learn version 3.x, forget about the older versions. Learning EJB 2 these days is exactly like learning horse riding prior to learning car driving because people used to use horses as a transport before invention of cars.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With