Hi,
Probably, I was not very clear on the distribution prospective.I am assuming, that multiple machines are collaborating across the network to solve my business problem.The business problem/logic includes Session Bean and Entity Beans.
Session Bean is an extended client view in the Application Server.Entity Beans usually represent business data in the DB, as Business Objects in the middle-tier.
Considering, many Application Servers and many Databases, which takes care of my EJB Business application, probably the Session Bean would be involved in a lesser degree of distribution (and travel across the network!) as compared to Entity Beans.
In general, Session Beans would be responsible to synchronize the data with the Client, whereas the Entity Beans would need to synchronize the data, with the DB tier, using two-phase commits.
In that case, can we say --
Session Beans can improve application performance, since it requires less distribution as compared to Entity Beans?
Hope this does make some sense!!
Regards,
Sandeep
- Sun Certified Programmer for Java 2 Platform Scored 93 per cent
- Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java Scored 56 out of 59
- IBM Enterprise Connectivity with J2EE Scored 72 per cent
- Enterprise Development on the Oracle Internet Platform Scored 44 out of 56
[This message has been edited by Desai Sandeep (edited May 10, 2001).]