English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

First, it is not a good practice to do database calls directly from your servlet code. You should have some layer of abstraction, perhaps a layer of domain objects and business classes, and perhaps a layer of data access objects, between your servlet/JSP and direct access to the database.

If you don't your code becomes very brittle (hard- to- change-without- breaking) very fast.

Now to actually answer your question:

You need to download and install the Oracle JDBC (Java DataBase Connectivity) driver[1] appropiate for your version of the Oracle database.

Then you should find a good JDBC book (here is a suggestion from Oracle[2]) or a good JDBC tutorial on the web (or perhaps in the Oracle driver download, if they have one). I like this one[3]. Others may have other suggestions.

2006-07-25 12:57:34 · answer #1 · answered by BalRog 5 · 1 0

this is a puzzling to respond to question, i'm going to easily share my perspectives. Java has been around for say greater advantageous than 15 years. that's platform self sustaining and gadget self sustaining. I mean there at the instant are not any regulations at this sort of gadget it could bypass on, something from extensive servers to cellular telephones. that supplies us a extensive sort of purposes working presently on all those structures. So regardless of if Java have been to get replaced by using some language, it may take yet another few years to replace each and every app. So the destiny in question isn't close to than 10 years. i'm asserting this as a least obtainable estimate as I even have considered purposes that have been written in previous due 80's nonetheless working around. that's a multitude to maintain such legacy structures, yet then no person is definitely keen on changing them. back, i don't make technologies so something new could already be on its way, in simple terms ingredient is i haven't considered it yet

2017-01-03 05:01:44 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers