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 |
Is Java a dying language?
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??
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)
Is class forname reflection?
When should the method invokelater() be used?
What does this() represent, and how is it used in Java?
What is io stream in java?
Can a class have 2 constructors?
What is private static class in java?
Why we use static and synchronized in method for single thread model example: public static synchronized add(){}
What is the life cycle of Thread ?
12 Answers HCL, Varnar Softech,
Difference between string, string builder, and string buffer?