Ian McCallion wrote:

> "bart.malfait" wrote:
> >
> > I'm curious to get an idea how big a project in terms of number
> > of entity EJB's practically is / can be.
> >
> > What is the maximum number of entity beans you ever encountered ?
> > More than 100 ? Which configuration (app. server, persistent storage,
> > OR-mapper, ...) ?
>
> Entity beans are considered to exist if the database record(s) that populate the
> bean exist. Therefore the number of entity beans is limited only by the number
> of records a database can handle - i.e. many millions. As to how many of those
> that can be instantiated at the same time, this is limited by the amount of
> memory in JVM(s) allocated to storing the entities. It's impossible to give a
> number but I'd say that for certain types of application (especially where the
> proportion of reads to writes is very high) it would make sense to allocate many
> megabytes of memory.

Nicely said!

---
Richard Monson-Haefel
Author of Enterprise JavaBeans, 2nd Edition  (O'Reilly 2000)
Co-Author of Java Message Service (O'Reilly 2000)
http://www.EjbNow.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to