Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What are the performant way to connect to a database?  RSS feed

 
Dana Ucaed
Ranch Hand
Posts: 328
6
Netbeans IDE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I begun to write a web application and I had problem understanding JPA, how to work with JPA.

Can you recommended me a tutorial regarding JPA and JSF?

I begun to read specification JSF and I understand a little.

Thanks


 
Tim Moores
Saloon Keeper
Posts: 3769
78
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A web application should generally use a connection pool for connecting to a DB. Many servlet containers have one built in, e.g. Tomcat has http://tomcat.apache.org/tomcat-8.5-doc/jndi-datasource-examples-howto.html
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!