Re: Good written jdbc app or not ?
From: Andree Große (user_at_example.net)
Date: 03/31/04
- Previous message: Antonio: "Re: OC4j and abnormal exit of stm.executeQuery"
- In reply to: Geiregat Jonas: "Good written jdbc app or not ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 11:21:20 +0200
Geiregat Jonas wrote:
>
> I have a class with several methods that need to use data from a db
> (jdbc). Is it a good idea to add the basic connection code in each
> method or is there a better way , my code (one small file)
> http://jonasg.ath.cx/jdbc/dbcon.java
It seems that there are a lot of problems to understand
OO and Java. So please read something about OO, MVC, JDBC,
Connection Pooling, Java Styleguides a.s.o. before you
want to continue programming. And find some information
about Client-Server-Architecture. Otherwise you will
falling down from 1 problem to the next.
A.G.
- Previous message: Antonio: "Re: OC4j and abnormal exit of stm.executeQuery"
- In reply to: Geiregat Jonas: "Good written jdbc app or not ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]