what are required main interfaces in EJB?

Answers were Sorted based on User's Feedback



what are required main interfaces in EJB?..

Answer / sathya


The Home Interface and the Remote Interface.

Is This Answer Correct ?    1 Yes 0 No

what are required main interfaces in EJB?..

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

Post New Answer

More EJB Interview Questions

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?

0 Answers  


Why is ftp stateful?

0 Answers  


What is ejb client?

0 Answers  


Which is more beneficial: Stateful or Stateless Bean?

0 Answers  


What do you mean by ejb?

0 Answers  






when deploying an EJB, does it possible to specify multiple JNDI names?

1 Answers   IBM,


What is a stateless session?

0 Answers  


What is ejb in java with example?

0 Answers  


What is the difference between @requestparam and @pathvariable?

0 Answers  


What is the procedure for the creation of stateless ejb?

0 Answers  


Is ejbCreate() method mandatory while defining a Session Bean?

0 Answers  


How does the server decide which beans to passivate and activate?

0 Answers  


Categories