Forums Register Login

Entity Beans

+Pie Number of slices to send: Send
Hai All!
Can anybody explain what are parameters that need to be considered while going for an entity bean based solution...Also help me regarding how multiple instances of entity beans handled by j2ee container..

TIA
Rgds
Manohar
+Pie Number of slices to send: Send
That's kind of a broad question. I think you'd probably get a better answer at the bookstore.
The J2EE container tracks entity beans by their primary keys. Each bean is uniquely defined by its primary key. A lot of people think that this is a database primary key - and it often is - but EJB's aren't actually limited to just being stored in databases. Because the number of items being fronted by EJBs can potentially be very large, the container normally uses a technique similar to the way virtual memory is paged. Frequently/recently used beans are cached in memory and as they get crowded out, they are either written back to persistent storage (CMPs automatically, BMPs via ejbStore()) or, if the container is smart enough to detect unchanged beans, simply discarded.
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 448 times.
Similar Threads
Writing test case without database operations
need ejbpostcreate method for each create method in the bean
Entity Beans
Why bean managed transaction is not allowed with entity beans
CMP vs BMP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:50:44.