my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes Call Entity Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Call Entity Beans" Watch "Call Entity Beans" New topic
Author

Call Entity Beans

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
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

Joined: Dec 08, 2001
Posts: 160
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Call Entity Beans
 
Similar Threads
JNDI Lookup
confused about primary key
Entity Beans must use CMP?
Default Transaction Type in EJB-jar.xml
BMT with Entity beans