• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call Entity Beans

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can an Entity Bean calls another entity bean? Or entity beans must be called by an application client or a session bean?
 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An Enity Bean can call another entity bean. Usually the entity beans are called from the session beans where the business logic will be in session bean. When you call from client, it is preferred to call thru the session bean to many Entity beans which are local to the container so that the expensive cleint calls could eb reduced.
Thanks
Sri
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic