How to start an EJB Singleton's @PostConstruct method without a transaction in JBoss EAP 6
Issue
-
Do @Singletons always start up in a transaction, I have found that @Singletons always seem to have a transaction context when their @PostConstruct methods are invoked which causes grief for our application later on.
-
Is there a means of ensuring a Singleton starts without a transaction context?
-
@Singleton @TransactionAttribute not honored when it is on a super class that the @Singleton bean extends
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
