Interview Question: What is Local client view in EJB?

By: Ash  

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.

 

 

 

 


Archived Comments

1. CharlesTig
View Tutorial          By: CharlesTig at 2017-06-17 17:13:17


Most Viewed Articles (in Interview )

What is bean managed transaction?

Interview Question: Why aren't the Struts tags maintained as part of the Jakarta Taglibs project ?

Interview Question: What is difference between EJB 1.1 and EJB 2.0?

Interview Question: Is Decorator an EJB design pattern?

How to define an Abstract class?

What do you understand by JTA and JTS?

Interview Question: What about JSTL and JavaServer Faces ?

What are the services provided by a container?

Explain the different forms of Polymorphism.

What are Access Specifiers available in Java?

What is the difference between jsp:include page and @ include file?

Interview Question: Is Struts compatible with other Java technologies?

Interview Question: How does Struts work?

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

What is difference between Java Bean and Enterprise Java Bean?

Latest Articles (in Interview)

Comment on this tutorial