What are the special design care that must be taken when you work with local interfaces?
Submitted by: AdministratorIt is important to understand that the calling semantics of local interfaces are different from those of remote interfaces. For example, remote interfaces pass parameters using call-by-value semantics, while local interfaces use call-by-reference.
This means that in order to use local interfaces safely, application developers need to carefully consider potential deployment scenarios up front, then decide which interfaces can be local and which remote, and finally, develop the application code with these choices in mind. While EJB 2.0 local interfaces are extremely useful in some situations, the long-term costs of these choices, especially when changing requirements and component reuse are taken into account, need to be factored into the design decision.
Submitted by: Administrator
This means that in order to use local interfaces safely, application developers need to carefully consider potential deployment scenarios up front, then decide which interfaces can be local and which remote, and finally, develop the application code with these choices in mind. While EJB 2.0 local interfaces are extremely useful in some situations, the long-term costs of these choices, especially when changing requirements and component reuse are taken into account, need to be factored into the design decision.
Submitted by: Administrator
Read Online Java EJB Programming Job Interview Questions And Answers
Top Java EJB Programming Questions
☺ | What happens if remove( ) is never invoked on a session bean? |
☺ | Is it possible to stop the execution of a method before completion in a SessionBean? |
☺ | What is EJB? |
☺ | What is session Facade in EJB? |
☺ | What is the difference between EJB and Java beans? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |