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
What do you understand by annotation in ejb to do the database entity relationships/mappings with examples?
What is ejb ql?
Which is the only method defined in the javax.ejb.handle interface?
Name the acid properties of a transaction.
Define Context?
What is ejb container in java?
What is the difference between Session bean and Entity bean?one?
How to find ejb version in websphere?
What is stateless and stateful session bean in ejb?
Explain the important elements of ejb?
How to import ejb project in eclipse?
Why should we use ejb?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
What is enterprise javabeans (ejb) container?
What does @inject mean in java?