Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to establish JDBC Connection in JSF 2.0 using Oracle Database ?

 
rajarshi roy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to establish JDBC Connection in JSF 2.0 using Oracle Database ?

Till now I have been using JSP,and I used the method given below to establish JDBC connection.The database is the same,the application server is different,it is Tomcat 6.0 and it runs JSF 2.0 properly.But the same method does not work.Am I missing some configuration here?



 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using an advanced system like JSF, you really shouldn't be using basic JDBC connection management. It's like coupling a toy train engine to a set of commuter railway cars. You should consider using a Connection Pool, instead.

Also, "it does not work" doesn't really tell us anything. http://www.coderanch.com/how-to/java/TellTheDetails
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic