Interview Question: What is Local client view in EJB?

By: Ash Printer Friendly Format    

Question:What is Local client view in EJB?

Answer: The local client view specification is only available in EJB 2.0. Unlike the remote client view, the local client view of a bean is location dependent. Local client view access to an enterprise bean requires both the local client and the enterprise bean that provides the local client view to be in the same JVM. The local client view therefore does not provide the location transparency provided by the remote client view. Local interfaces and local home interfaces provide support for lightweight access from enterprise bean that are local clients. Session and entity beans can be tightly couple with their clients, allowing access without the overhead typically associated with remote method calls.

 

 

 

 



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 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: What is the difference between sessioncontext and entitycontext?

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

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?

What is JSP Scriptlet?

What is JSP declaration?

What types of comments are available in the JSP?

Latest Articles (in Interview)

Comment on this tutorial