Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document is organized in the following sections:

Table of Contents

For more details for developing EJB applications, see the following topics:

Children Display
all
all

EJB2 Vs EJB3

EJB2 was quite complex for developers. It involved lot of code- home interface, remote interface, local interface, Bean class and deployment descriptors. Also you need to write lot of bean class which are never called but where required by the bean class to implement interface. You need to implement life cycle callback method likes ejbCreate, ejbRemove, ejbActivate, ejbPassivate compulsorily even if those are not required. Also many object oriented features such as inheritance, polymorphisms were not supported by EJB2.

...