Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Kevin Nathan Newsgroups: comp.lang.java.databases Subject: Local database library Date: Tue, 1 Oct 2013 13:52:30 -0700 Lines: 27 Message-ID: <20131001135230.66af12f9@efreet.linux> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: individual.net 8qrBTBVrLJxUnxxNhR3JDQAqGg9a4OSfPC7TsZXtY27nnnzo18 Cancel-Lock: sha1:Cu+cEJ0b23+7LzX2Vky6X8tXsRM= X-Newsreader: Claws Mail 3.9.0 (GTK+ 2.24.18; i586-suse-linux-gnu) X-Face: %/gp4MCQT=`#JS##?-]V9ksid6OSR@(wbF"bK6wSLO$u,%(N@X~bVhAD+\A_[gRhx*T6=fq "N_5H8.v[&;q0iw!s_wuL05B0xg#OYUkbn#@&U_]fL%o==~2sphc?*L+bicO!POJLG#p'N.]J0/p_w Z^(.kOB%Ob914-V>?GI; Xref: csiph.com comp.lang.java.databases:616 I'm a Java newbie, but have been programming for many years. I'm converting an existing application from C++ to Java. In an effort to clean it up a bit, I would like to build a local library of database access routines because right now everyone does their own connecting and SQL writing, with way too much duplication. However, being new to Java, I am not sure how that should be structured in source files. So, my question is: Does anyone know of a good tutorial on how to build a library of routines in Java? I'm coming up short in my web searching, probably because I haven't found the right incantations to use (and not yet knowledgeable enough in Java to know what I need). I am a little bit rushed and "learning on the fly" so there is not much time to dig through many tutorials, although I sure wish I could. I don't like this "brute-force" method everyone has used so far, but it's the easiest way to make progess. I just don't want to have to redo everything once we are up and running. Thanks for any help you can provide! :-) -- Kevin Nathan (Arizona, USA) Linux is not a destination, it's a journey -- enjoy the trip! Linux 3.7.10-1.16-desktop 13:41pm up 12 days 23:53, 14 users, load average: 0.33, 0.37, 0.42