Why does EJB needs two interfaces, Home and Remote
Interface?

Answer Posted / sitaram karancheti

Home Interface: Contains methods that are not tied to a
specific EJB instance (i.e. methods at class level), like
methods for creating removing and finding EJB instance.

Remote Interface: Contains methods tied to a specific EJB
instance, such as methods that provides the actual business
logic.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bean in ejb?

507


What does statelessness mean?

528


Is ejb a framework?

531


How does ejbs work?

515


How to find ejb version in websphere?

544






What are ejb containers?

543


What is ejb and its architecture?

514


What is the use of @ejb annotation?

536


What is stateful or stateless?

531


Define ripple effect?

646


Where is ejb used?

524


List down the steps for the demonstration of ejp persistence mechanism.

624


What is activemq used for?

511


What is the use of @resource?

549


Is it possible to share an httpsession between a jsp and ejb?

521