Programming Tutorials

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

By: Ash in Interview Tutorials on 2008-08-13  

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.

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

What is Collection API?

Interview Question: What is Local client view in EJB?

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

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

What are all the different scope values for the tag?

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

Interview Question: Does Struts include its own unit tests?

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

Interview Question: Where can I get a copy of Struts?

Question: What is an output comment in JSP?

Interview Question: Who wrote Struts?

Interview Question: Who makes the Struts?

Differentiate between .ear, .jar and .war files.

Interview Question: How does Struts work?

Interview Question: Why it is called Struts?

Latest Articles (in Interview)