written 7.0 years ago by | • modified 7.0 years ago |
Mumbai University > Information Technology > Sem 6 > Distributed System
Marks: 10Marks
written 7.0 years ago by | • modified 7.0 years ago |
Mumbai University > Information Technology > Sem 6 > Distributed System
Marks: 10Marks
written 7.0 years ago by |
Steps for building/developing EJB application
Creation of Home Interface:
It extends EJB home, this container implemented interface, and lists one or more create method, to create an enterprise beam.
Creation of Remote Interface
It extends EJB object, it describes method exposed by enterprise by bean class.
Creation of primary key class.
This is used to identity object in persistent storage, hence used only by entity beans.
Creation of an enterprise bean class
It implements session bean or entity bean interface.
Its methods name and signature must exactly with the remote interface.
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.