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

By: Ash  

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.

 

 

 

 


Archived Comments

1. CharlesTig
View Tutorial          By: CharlesTig at 2017-06-01 16:33:32

2. Bessie
View Tutorial          By: payday loans eugene oregon at 2012-06-26 15:55:39


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?

Interview Question: What is Local client view in EJB?

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: What is the difference between Message Driven Beans and Stateless Session beans?

Interview Question: How does Struts work?

Interview Question: Is Struts compatible with other Java technologies?

Latest Articles (in Interview)

Comment on this tutorial