This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes how to load multiple drivers in a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to load multiple drivers in a servlet" Watch "how to load multiple drivers in a servlet" New topic
Author

how to load multiple drivers in a servlet

suresh dontamsetti
Greenhorn

Joined: Nov 01, 2004
Posts: 2
hi,
This is Suresh.
i want to know exactly how to develop the code for connecting to multiple databases from a servlet or some other code.
is that possible to code it from a servlet, if so how to do it?

waiting for a reply.

with regards
Suresh
Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
You need to use Data Access Object Pattern
Use a separate class for doing this stuff
and dont include that code in Servlet

Just call that class from it


SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to load multiple drivers in a servlet
 
Similar Threads
How to redirect to a new page using JSP?
how to find a requesting comming from a servlet or jsp?
connection pooling
help me in writing a unit test case for the given servlet
how to read barcode code 39 type from scanner?