How to reduce startup time of EAP 6 application which uses JPA?
Issue
Application is using JPA and references many datasources, which makes JBoss Enterprise Application Server 6 to create instances of EntityManagerFactory class on startup, which is an expensive operation. How can we defer EMFs creation to reduce startup time?
Environment
- Red Hat JBoss Enterprise Application Platform
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.