Programming Tutorials

Interview Question: What is Local client view in EJB?

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

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.

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

What are implicit Objects available to the JSP Page?

Interview Question: Does Struts include its own unit tests?

Explain the user defined Exceptions?

The output of System.out.println(5<<2) in Java

Interview Question: What is Remote client view?

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

Interview Question: How is the MVC design pattern used in Struts framework?

Interview Question: What is Deployment descriptor?

What is transient variable?

What do you understand by JTA and JTS?

Interview Question: Why does EJB needs two interfaces(Home and Remote Interface)?

What is the difference between interface and abstract class?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

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

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

Latest Articles (in Interview)