Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
Description
While PostConstruct for stateless beans does not run in a transaction or security context, stateful beans are different. From section 5.1.4.1 "Semantics of the Life Cycle Callback Methods for Stateful Session Beans" of the ejb3-edr2 spec:
"The PostConstruct method is invoked in the transaction context and security contexts of the first business method on the bean."