steps for building/developing EJB application
1) Creation of Home Interface:
- It extends EJB home, this container implemented interface , lists one or more create method, to create an enterprise beam.
2) Creation of Remote Interface:
- It extends EJB object, it describes method exposed by enterprise by bean class.
3) Creation of primary key class.
- This is used to identity object in persistent storage, hence used only by entity beans.
4) Creation of an enterprise bean class
5) Creation of Deployment Descriptor
It specifies functional properties of beans it provides information to locate all ports of information .
it also specifies types of a bean.
It describes primary key and other field of a bean class.