Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

entity bean instances taking up too much memory

  Asked By: Ibthaj    Date: Apr 14    Category: Java    Views: 1030
  

I'm studying for an exam on EJB, and I'm reading that
'each entity bean has an underlying table in a
relational database, and each instance of the bean
corresponds to a row in that table.'

Wouldn't that mean that, if, for example, you had
500000 rows in your database, you would have 500000
instances of the bean in memory? Wouldn't that be
expensive in terms of RAM usage?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on entity bean instances taking up too much memory Or get search suggestion and latest updates.




Tagged: