Home Best practice to get EntityManagerFactory
Reply: 0

Best practice to get EntityManagerFactory

user4372 Published in September 20, 2018, 4:36 pm

What is the best approach to get EntityManagerFactory in web app(jsp/servlets)? Is this a good way When should EntityManagerFactory instance be created/opened?, or is it better to get it from JNDI, or something else?

share|improve this question

1 Answer 1

active oldest votes
up vote 57 down vote accepted
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.427325 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO