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!

Choose Stateless session bean with JDBC or Entity beans - Design choice

707797Jul 23 2011 — edited Jul 25 2011
Hi,

I need to design application using EJB.

Scenario is - I need to access data from database & show the results to the client. These data are considered to be entities.

I need design consideration whether to choose Stateless session bean with DAO pattern to fetch data in Value Objects (VO) to present to the client

OR

Use entity beans for data modelling.

I read from the below article to use SSB with JDBC instead of entity beans if the volumetrics (huge volume of requests) is high.

I do have huge volumetrics requirements & we have done class modelling which have large number of classes which are good candidates for entity beans.


http://www.java-tips.org/java-ee-tips/enterprise-java-beans/how-to-decide-when-to-use-entity-bean-or-simple-jdb.html

Please suggest.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2011
Added on Jul 23 2011
2 comments
239 views