I am working on my graduation project proposal.
I talked about this with a friend of mine who works in the IT industry.
He said that access to database by EJB entity bean can be very slow, and JDBC performs much better. He says that's why his company does not use EJB at all, they use JDBC to access database. And he also mentioned that they selected JDBC because it supports multithread better and that there will be some multithread problems if we use EJB entity bean.
He said we have a pet store demo application from java.sun.com, which I think most of you know.
So he said that I can run the original pet store demo application, test its performance, record the data, and then change that version of the application by replacing the EJB stuffs there, and run the latter, test its performance, record the data, and then I can make a good comparison between the 2 versions and may get a conclusion such as "EJB entity bean access of database is slower than JDBC".
What do you people think? Is this feasible? And is it optimistic that I'll get anything from such a comparison?
If your answer is yes, I'll start to work on it. At this moment, I think it's interesting.
Thanks a lot.
I talked about this with a friend of mine who works in the IT industry.
He said that access to database by EJB entity bean can be very slow, and JDBC performs much better. He says that's why his company does not use EJB at all, they use JDBC to access database. And he also mentioned that they selected JDBC because it supports multithread better and that there will be some multithread problems if we use EJB entity bean.
He said we have a pet store demo application from java.sun.com, which I think most of you know.
So he said that I can run the original pet store demo application, test its performance, record the data, and then change that version of the application by replacing the EJB stuffs there, and run the latter, test its performance, record the data, and then I can make a good comparison between the 2 versions and may get a conclusion such as "EJB entity bean access of database is slower than JDBC".
What do you people think? Is this feasible? And is it optimistic that I'll get anything from such a comparison?
If your answer is yes, I'll start to work on it. At this moment, I think it's interesting.
Thanks a lot.