I am building a web application on Netscape Application Server. I did not use Entity Bean to model the business objects and database because I was told that Entity Beans are resource intensive and thus may have some performance issues. How exactly are entity beans resource intensive? Is there any way around this problem?
Thanks
-
EJB: Is Entity bean resource intensive? (4 messages)
- Posted by: Philip Tan
- Posted on: July 31 2000 06:50 EDT
Threaded Messages (4)
- EJB: Is Entity bean resource intensive? by Sunil Chandran on July 31 2000 16:56 EDT
- EJB: Is Entity bean resource intensive? by Philip Tan on July 31 2000 23:06 EDT
-
EJB: Is Entity bean resource intensive? by Floyd Marinescu on August 02 2000 02:31 EDT
- EJB: Is Entity bean resource intensive? by Philip Tan on August 03 2000 05:12 EDT
-
EJB: Is Entity bean resource intensive? by Floyd Marinescu on August 02 2000 02:31 EDT
- EJB: Is Entity bean resource intensive? by Philip Tan on July 31 2000 23:06 EDT
-
EJB: Is Entity bean resource intensive?[ Go to top ]
- Posted by: Sunil Chandran
- Posted on: July 31 2000 16:56 EDT
- in response to Philip Tan
Philip,
I'm not sure if there is a definite answer to your question. In certain circumstances, entity beans might prove to be resource intensive. At the same time, they also provide you with the ease of operations, while dealing with database data. If your application, does not require much of database manipulation, (viz. insert/update/delete) , perhaps, it may not be a good idea to create entity beans. It might make more sense to use JDBC result sets and servlets for applications that only need to read the data.
Sunil. -
EJB: Is Entity bean resource intensive?[ Go to top ]
- Posted by: Philip Tan
- Posted on: July 31 2000 23:06 EDT
- in response to Sunil Chandran
Sunil,
Thanks for your attention. In the J2EE framework, as of my understanding, session bean is used for business processing and application logic, while entity bean is suppose to be used to deal with database stuff, isn't it?
However, in this project, as the resources-intensive thingy issues is raised, I'm now using session bean to initiate JDBC calls for database access. Is this an acceptable solution? -
EJB: Is Entity bean resource intensive?[ Go to top ]
- Posted by: Floyd Marinescu
- Posted on: August 02 2000 14:31 EDT
- in response to Philip Tan
Philip,
Using a session bean for database access is definately an acceptable solution, however I would only recommend it for cases in which you will not be loading the same data over and over again. In this case, your app. servers ability to cache entity beans will not help, infact entity beans will probably slow you down.
read the following other threads for more info:
JDBC via session bean performance vs. queries via entity beans.
Web Application Architecture questions .
Problem with loading many entity beans..
hope this helps.
Floyd -
EJB: Is Entity bean resource intensive?[ Go to top ]
- Posted by: Philip Tan
- Posted on: August 03 2000 05:12 EDT
- in response to Floyd Marinescu
Dear all,
Assistance and comments from you guys really help a lot. Thanks!