0
1.6kviews
Give in detail steps required for developing an application using EJB framework with example.

Mumbai University > Information Technology > Sem 6 > Distributed System

Marks: 10Marks

1 Answer
0
0views

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.

Please log in to add an answer.