Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basics

 
Rajib Sarma
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic