what are required main interfaces in EJB?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?
Why is ftp stateful?
What is ejb client?
Which is more beneficial: Stateful or Stateless Bean?
What do you mean by ejb?
when deploying an EJB, does it possible to specify multiple JNDI names?
What is a stateless session?
What is ejb in java with example?
What is the difference between @requestparam and @pathvariable?
What is the procedure for the creation of stateless ejb?
Is ejbCreate() method mandatory while defining a Session Bean?
How does the server decide which beans to passivate and activate?