|
INTERVIEW QUESTIONS
J2EE
EJB
DETAILS
Question: What is the difference between EJB and RMI
Answer: Both of them are java solution for distributed computing.
RMI offers remote access to an object running in another JVM and no other services.
But EJB offers far more services than RMI apart from remote method calling. EJB leverages this remote-object feature of RMI and ORB (RMI-IIOP) which can be called by any COBRA client, but also provides other services such as persistence, transaction management, security, resource management, object pooling and messaging.
|
|
|
Category |
EJB Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7559 users |
Added on |
7/14/2011 |
Views |
69575 |
Rate it! |
|
|
Question:
What is the difference between EJB and RMI
Answer:
Both of them are java solution for distributed computing.
RMI offers remote access to an object running in another JVM and no other services.
But EJB offers far more services than RMI apart from remote method calling. EJB leverages this remote-object feature of RMI and ORB (RMI-IIOP) which can be called by any COBRA client, but also provides other services such as persistence, transaction management, security, resource management, object pooling and messaging. 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 |
|
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
|
|
What is Session Bean. What are the various types of Session Bean?
|
View Answer
|
|
What is the difference between Stateful session bean and Stateless session bean?
|
View Answer
|
|
What is the life cycle of Stateful session bean?
|
View Answer
|