To have this access you have to be in a transactional context OR have a client security context.
I can not find any description about this concept in the
ejb specification. in my mind, the resource manager is the sth like connection factory, then it seems no reason to disallowed the method to use it and if it can not be used it in staeless bean, then how can it access the database?
Sorry, I am new to EJB, please rectify me.