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

By: Ash Viewed: 169 times  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 )

Tell me something about J2EE component?

What is the difference between JTS and JTA?

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

Interview Question: What is Action Class?

Interview Question: What is the difference between EAR, JAR and WAR file?

What is Deployment Descriptor?

Explain garbage collection?

Interview Question: What is ActionForm?

Interview Question: What about JSTL and JavaServer Faces ?

Interview Question: Why are some of the class and element names counter-intuitive?

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

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

Interview Question: What is lazy loading?

Interview Question: What is the difference between find and select methods in EJB?

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

Latest Articles (in Interview)

Comment on this tutorial