Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

EJB%20Interview%20Questions%20and%20Answers

Question: What is the need of Remote and Home interface. Why cant it be in one?
Answer: The main reason is because there is a clear division of roles and responsibilities between the two interfaces. The home interface is your way to communicate with the container, that is who is responsible of creating, locating even removing one or more beans. The remote interface is your link to the bean, that will allow you to remotely access to all its methods and members. As you can see there are two distinct elements (the container and the beans) and you need two different interfaces for accessing to both of them.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook