wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Basics" Watch "Basics" New topic
Author

Basics

Rajib Sarma
Ranch Hand

Joined: Apr 29, 2002
Posts: 34
Hi,
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.
Thanks
- Rajib


*** Rajib Prasad Sarma ***<br />==========================
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Basics
 
Similar Threads
opinion: Data Transfer Objects: pattern or anti-pattern (EJB3)
EJB Lookup problem from same server instance
Altering DB interface
EjbCommand pattern
choosing between home business methods and finders