Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to make ejb more effective?

843829Dec 17 2002 — edited Dec 17 2002
Recently I am involve in develop an web application using ejb (with oracle db & JBoss as the container) but I found the page loading relatively slow.

I uses entity bean to connect to db, session bean to call the entity bean (for the methods) and use case/business logic object to access the session bean, then servlet to dispatch neccessary task to the business logic:

JSP -> servlet -> use case -> EJB (session) -> EJB (Entity) -> Oracle

I think the problem laid on the Entity -> Oracle. The way I implement is every entity bean will "relate" to one table in the database. But when I wish to get data from more than one table, the performance will get slow.

Anybody facing the same problem? Please kindly share your experience with me! TQ!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2003
Added on Dec 17 2002
1 comment
75 views