|
INTERVIEW QUESTIONS
J2EE
EJB
DETAILS
Question: What is the use of using session facade design pattern in EJB'S?
Answer: There are many uses, important one is to reduce network traffic I you are calling many EJB from your Servlet then this is not advised, because it has to make many network trips, so what you do you call a Stateless session bean and this in turn calls other EJB, since they are in same container there is less network calls other thing you can do now is you can convert them to LOCAL EJB which has not network calls. This increases your server bandwidthJ. Problem solver this is good for a highly available system.
|
|
|
Category |
EJB Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6750 users |
Added on |
7/14/2011 |
Views |
70625 |
Rate it! |
|
|
Question:
What is the use of using session facade design pattern in EJB'S?
Answer:
There are many uses, important one is to reduce network traffic I you are calling many EJB from your Servlet then this is not advised, because it has to make many network trips, so what you do you call a Stateless session bean and this in turn calls other EJB, since they are in same container there is less network calls other thing you can do now is you can convert them to LOCAL EJB which has not network calls. This increases your server bandwidthJ. Problem solver this is good for a highly available system. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is meant by Serialization and Externalization? Serialization is a Marker interface,so what is the use of WriteObject() anf ReadObject(), Where it is actually used? Give me some real time examples?
|
View Answer
|
|
Already we have http session in servlets. so why we use session beans ejb?
|
View Answer
|
|
What is the difference between EJB and RMI
|
View Answer
|
|
Without using entity beans can we do database transactions?
|
View Answer
|
|
Can we use session beans & entity beans in single application?
|
View Answer
|
|
What is the difference between EJB and J2EE ?
|
View Answer
|
|
Is stateful session beans are scalable?
|
View Answer
|
|
Which are features in EJB 2.0 ? and which are features in EJB 3.0?
|
View Answer
|
|
What happens when an interface extends another interface?
|
View Answer
|
|
Who makes the EJBObject class?
|
View Answer
|
|
Why don't stateful session beans have a pool?
|
View Answer
|
|
Does each stateless session bean have its own EJBObject?
|
View Answer
|
|
How do I know what the develper named the bean?
|
View Answer
|
|
What is IIOP ?
|
View Answer
|
|
I have 2 session beans sb1 & sb2. In session bean 2 there is a bussiness exception occurs. If I don't want to rollback the transaction in sb1 which declartive transaction attribute I have to use in both beans?
|
View Answer
|
|
How to invoke servlet from ejb components?
|
View Answer
|
|
How Non Java Client access EJB.
|
View Answer
|
|
What is the difference between normal Java object and EJB?
|
View Answer
|
|
What is the difference between JavaBean and EJB?
|
View Answer
|
|
What is EJB?
|
View Answer
|