File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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