In a CMP the ejbStore() gets called on everything, This is the default behavior for WebLogic. The link at the bottom takes you to their docs on all of this.
 
In the deployment descriptor :
 
... snip
(environmentProperties
  maxBeansInFreePool                   1000
  maxBeansInCache                       1000
  isModifiedMethodName                 isModified
... snip
 
 
In the bean class, the method :
 
... snip
    public boolean isModified()
    {
        System.out.println("isModified()");
        return false;
    }
... snip
 
 
 
Result :
 
The maxBeansInFreePool and maxBeansInCache are both a 1000 as expected at runtime (instead of the default 100).
But, my isModified() is not called nor is there any deployment problems that would be expected (??) if it didn't find the method when it was 'digging' around my classes during deployment. No exceptions on the server during runtime either.
 
See link below.........Small furry animals have been sacrificed, still no help. ;-)
 
Thanks,
Scott Bence
 

Reply via email to