Interview Question: What is local interface. How values will be passed?

By: Ash Printer Friendly Format    

Question:What is local interface. How values will be passed?

Answer:

An EJB can use local client view only if it is really guaranteed that other enterprise beans or clients will only address the bean within a single JVM. With local client view, you can do pass-by-reference, which means your bean, as well as the client, will work directly with one copy of the data. Any changes made by the bean will be seen by the client and vice versa. Pass-by-reference eliminates time/system expenses for copying data variables, which provides a performance advantage.

 

 

 

 



Most Viewed Articles (in Interview )

Question: What is the directory structure of a web application?

Types of Interviews

Interview Question: What is the difference between JavaBean and EJB?

Interview Question: What is Message Driven Bean?

Interview Question: What is deployment descriptor?

Interview Question: How many EJB Objects are created for a Bean?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Interview Question: Is Decorator an EJB design pattern?

Interview Question: What is the difference between sessioncontext and entitycontext?

Interview Question: What are the optional clauses in EJB QL?

Interview Question: What is Local client view in EJB?

Interview Question: If the framework doesn't do what I want, can I request that a feature be added?

Interview Question: Does Struts include its own unit tests?

What is the difference between interface and abstract class?

What are the life-cycle methods of JSP?

Latest Articles (in Interview)

Comment on this tutorial