Patent ID: 7562370

Claim:
A computer-implemented method for initializing a configurable quantity of stateless session Enterprise Java Beans (EJBs) comprising the steps of: predetermining a quantity of stateless session EJBs to be created; creating a stateless session EJB; occupying the created stateless session EJB so that said stateless session EJB is not released into a pool of available stateless session EJBs, said stateless session EJB executing a blocking method with an execution completion time that is greater than a time required to create the predetermined quantity of stateless session EJBs; repeating said creating a stateless session EJB and occupying the created stateless session EJB until said predetermined quantity of stateless session EJBs have been created; and releasing the created predetermined quantity of stateless session EJBs into the pool of available stateless session EJBs after said predetermined quantity of stateless session EJBs have been created; and establishing a servlet as an EJB client, said servlet performing said predetermining a quantity of stateless session EJBs to be created, creating a stateless session EJB, occupying the created stateless session EJB, and repeating said creating a stateless session EJB and occupying the created stateless session EJB until said predetermined quantity of stateless session EJBs have been created.