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

What changes have been made in ejb 2.0 specifications?

794


What is ejb in spring?

672


For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?

753


Which is the only method defined in the javax.ejb.handle interface?

853


What is a ejb container?

707


Can EJB made to handle multiple transactions?

786


What do you understand by annotation in ejb to do the database entity relationships/mappings with examples?

796


How to create ejb project in eclipse?

731


How does ejb invocation happens?

738


What is the difference between ejb and java beans?

759


What is stateful session bean?

783


Can beans who are involved in transaction have 'passivation' process?

731


What do you mean by abstract schema?

773


What is ejb javatpoint?

751


What do you mean by ‘hot deployment’ ?

794