what are required main interfaces in EJB?

Answer Posted / shilpa kapurkar

when we go for EJB 2.x version, the required interfaces to
develop and EJB component are
Remote Interface - Business Logic methods declaration
Home Interface - Life Cycle Methods
Bean class - Implemetation for BL methods & Life cycle methods
optionally, Local Interfaces.
When we go for EJB 3.0 , there is no need of declaring home
interface or Remote Interface. Instead it will make use of
JAVA POJO & POJI classes and interfaces. EJB 3.0 will have
only Business Interface (POJI) in which business methods are
declared. EJB3.0 makes use if Annotations.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define Clone?

599


What is session facade in ejb?

559


What is ejb client?

558


What is ejb role in j2ee?

587


What is stateless and stateful?

519






What is ptp model?

583


Differentiate Conversational from Non-conversational interactions?

550


Explain what is an EJB Context?

619


How to create ejb project in eclipse?

535


What is an ejb platform?

565


What is stateless session?

559


What is the procedure for the creation of stateless ejb?

548


How many enterprise beans?

551


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?

533


What is ejb and its architecture?

518