File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Basics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Basics" Watch "Basics" New topic


Rajib Sarma
Ranch Hand

Joined: Apr 29, 2002
Posts: 34
In the EJB book "Mastering EJB 2.0 - Ed Roman", I found the following in page 363 -
If we are using a Remote client such as Applets, standard application etc. to access an Entity EJB directly, and if we invoke a finder method, it will affect the performance as the client need to traverse the network to get the data from the entity EJB. If, on the other hand, we invoke a query on a Session bean, it returns the result to the client in the form of Serialized Java Objects and the client does not need to traverse the network to access the data.
I couldnot understand it properly. Can anyone please explain it to me?
Also please explain the difference between a Remote and a Local client.
- Rajib

*** Rajib Prasad Sarma ***<br />==========================
I agree. Here's the link:
subject: Basics
jQuery in Action, 3rd edition