Yes, you can use a Servlet then include the connection statement inside the init() method.

Victor Munoz
 
 

Jesús Pérez Sánchez wrote:

Hi!
 

   The solution may be a Object Factory that provide a method which instance connections objects.
   This method must have instanced objects of connection. (Attributes) . And it return a reference of them.

  Sorry, my english is ver bad.

    bye.

Javier Tome Vecchione wrote:

Hi! I know how to use the JDBC Drivers for ODBC Connections, and I´m allready using it but, I want to create an only database connection instead of one for each user who hits the site. Is there a way to do this?. Can I make work a object and let it working in the server waiting for requests?. How do I do this?. Thank you very much!!! Javier

Reply via email to