...
- In EJB 3.0 module new EJBs (excluding Entity EJBs) are created using the annotations mechanism
- You can refactor your EJB 1.x & 2.x module into EJB 3 module or just clean the code of your EJB 3.0 module in accordance to EJB 3 specification:
- EJB classes annotations are added
- EJB environment access code converted to Javaee style (dependency injection or EJB context lookups)
- Optionally: Session Bean Home interfaces are removed and corresponding component interfaces are converted to EJB business interfaceinterfaces. EJB and Non-EJB clients are updated to reflect these changes.
- Optionally: Most of XML descriptor data is copied or moved to EJB class annotations. (Interceptors & callback listeners are TBD).
...