wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Number of EJB Instances returned from findBy method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Number of EJB Instances returned from findBy method" Watch "Number of EJB Instances returned from findBy method" New topic
Author

Number of EJB Instances returned from findBy method

Devadoss Poornachari
Greenhorn

Joined: Apr 15, 2003
Posts: 2
I have a query regarding the number of instances that will be created in the Application Server.

The scenario is like this,

1. My CMP bean has a findByName method, which returns a collection
2. Instance pool of my server is something like 15
3. The database has more than 20000 records that satisfy the findByName query condition

When I execute findByName(), how many instances will be there in the Application Server
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Have you already read this thread?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
 
subject: Number of EJB Instances returned from findBy method
 
Similar Threads
needs help for EJBQL query
Can't make a finder work with jboss-ql
WSAD EJB
need help in EJB QL with upper and like
JBoss CMP FindBy name in JAWS