what is session facade ?
Answers were Sorted based on User's Feedback
It is Design pattern
Problem:too many method invocations b/w client and server
will lead to network overhead,tight coupling due to
dependencies between the client and server and chance of
misuce of server business methods due to fine grained
access etc.
Solution: Use of session besn as facade to encapsulate the
complexties b/w the client and server interactions. The
session facade manages the business objects and provides a
uniform coarse grained service access layer to client.
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / srinivasa
Its a Dessign pattern.It is used on business tier to access
the other EJBs(Session ,Entity)means other part of the
system to reduce the networkflow.It provides the one point
of view to the client.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / royal
This is the design pattern of Distrubuted applications.
Problem:
==========
If Remote client want to communicate with multiple bussiness
Components then it has to use multiple network and remote calls to interact with these multiple bussines components
that means more N/w calls will be there bwtween client
and B.componets.
Solution:
===============
So to avoide this problem we have to go for Session facade
Design Pattern.
Session facade is a dummy Business Object resides at
server side recieve calls from Client and to pass the
Bussiness componets of served side locally.
| Is This Answer Correct ? | 1 Yes | 0 No |
Can we use catch statement for checked exceptions?
Can we overload the constructors?
Why can't we use static class instead of singleton?
What is default specifier ??? Use of default specifier ???
what is polymorhism what is inheritance? what is Abstract n Interface? what if two interfaces have same method and a concrete class is implementing both the interfaces. Will there be a compilation error? What are mutable and immutable classes? How can u make a class mutable? when will u use dem ...explain with example? what is overriding and overloading? what is garbage collection? what is Thread? how do dey communicate? what are the different ways of implementing ? have u used any messaging technologies? what is synchronization? what are some additions in java 1.5? what are generics? whst is advanced for loop? what is finally block? can u have a try in finally? yes!! can u have a finally in finally? how do you write junits? when is a object eligible for garbage collection?explain? a = null and b has ref to a will b be eligible to be garbage collected? sql questions like diff joins? how do dey work? exception handling? what is marker interface? what is the need??
Can a class have 2 constructors?
How do you declare an array in java?
What are the important features of Java 9 release?
Difference between java and javascript
What is preflight request?
What is methods in java?
Hi Friends, can u give code to convert ArrayList to HashMap and HashMap to ArrayList.