• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

some ejb problems

sam he
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. When you call ejbHome.findAll() which returns a collection with a size of n, followed by looping through the collection and calling ejbObject.getXXX() on each remote object, how many total database calls do you make in the case of a BMP entity bean? And an optomized CMP 2.0 entity bean?
2. What is the default entity bean concurrency strategy for WebLogic 6.1? How about 5.1?
3. When more than one users access the same database record at the same time through a ReadOnly entity bean, how many bean instances are created by WebLogic 6.1? How about a ReadWrite entity bean?
4. In a BMP entity bean, how do I minimize the calls to ejbLoad() and ejbStore()?
5. Is it possible to achieve a true Singleton in an application server environment? What is the best approach if you want to do so?
6 .How to do when i want to the EJB supporting remote interface and local interface.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic