The comments for the ejbCreate method of the AbstractStatelessSessionBean class mentions that loading the bean factory in the setSessionContext method can not be done because resource manager access is not permitted there. Table 3 in section 7.8.2 of the EJB 2.0 spec would lead me to believe that the same holds for the ejbCreate method. The reason I mention this is that we are thinking of creating our own implementation of the property configurer that uses a database instead of a property file. It appears that loadBeanFactory also causes the beans to be created and would ultimately result is invoking our database backed property configurer, violating, assuming my interpretation, the spec since this is all taking place in the ejbCreate method. Is my perception correct?
Announcement Announcement Module
No announcement yet.
loadBeanFactory called from ejbCreate Page Title Module
Move Remove Collapse