*
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
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 />==========================
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Basics
 
Similar Threads
choosing between home business methods and finders
EjbCommand pattern
EJB Lookup problem from same server instance
opinion: Data Transfer Objects: pattern or anti-pattern (EJB3)
Altering DB interface