wood burning stoves 2.0*
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
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: 15952
    
  19

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


Customer surveys are for companies who didn't pay proper attention to begin with.
 
wood burning stoves
 
subject: How to establish JDBC Connection in JSF 2.0 using Oracle Database ?
 
Similar Threads
Sockets
Help in connecting to oracle10 database using struts
problem in connecting to oracle through jdbc
connecting to oracle db problem
Struts 2 -Eclipse