jQuery in Action, 3rd edition
The moose likes JSF and the fly likes How to establish JDBC Connection in JSF 2.0 using Oracle Database ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to establish JDBC Connection in JSF 2.0 using Oracle Database ?" Watch "How to establish JDBC Connection in JSF 2.0 using Oracle Database ?" New topic
Author

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

rajarshi roy
Greenhorn

Joined: Feb 14, 2010
Posts: 21
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

Joined: Jun 25, 2001
Posts: 17149
    
  27

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


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to establish JDBC Connection in JSF 2.0 using Oracle Database ?
 
It's not a secret anymore!