Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.databases > #621

Re: Local database library

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.databases
Subject Re: Local database library
Date 2013-10-02 15:37 -0400
Organization The Wasteland
Message-ID <nospam-29AECA.15371802102013@news.aioe.org> (permalink)
References <20131001135230.66af12f9@efreet.linux>

Show all headers | View raw


In article <20131001135230.66af12f9@efreet.linux>,
 Kevin Nathan <knathan@project54.com> wrote:

> 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! :-)

If you go with NetBeans, here's more details on adding and using 
libraries:

<http://stackoverflow.com/q/1975973/230513>

NetBeans makes it easy to explore JPA, as suggested here:

<http://stackoverflow.com/q/3422516/230513>

In this example, a Customer entity and controller generated from the 
database are used to display names in a JComboBox.

<http://stackoverflow.com/q/3422516/230513>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Back to comp.lang.java.databases | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Local database library Kevin Nathan <knathan@project54.com> - 2013-10-01 13:52 -0700
  Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-01 17:38 -0400
    Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-01 15:41 -0700
      Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-01 20:53 -0400
        Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-02 10:09 -0700
          Re: Local database library Martin Gregorie <martin@address-in-sig.invalid> - 2013-10-02 19:49 +0000
            Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-04 10:48 -0700
              Re: Local database library Martin Gregorie <martin@address-in-sig.invalid> - 2013-10-05 15:43 +0000
                Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-05 11:19 -0700
          Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-02 22:05 -0400
            Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-04 10:57 -0700
              Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-04 22:00 -0400
                Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-05 11:28 -0700
                Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-05 15:15 -0400
                Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-05 12:49 -0700
  Re: Local database library "John B. Matthews" <nospam@nospam.invalid> - 2013-10-02 15:37 -0400
    Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-04 11:02 -0700
      Re: Local database library Lew <lewbloch@gmail.com> - 2013-10-04 15:56 -0700
        Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-05 12:06 -0700
          Re: Local database library Lew <lewbloch@gmail.com> - 2013-10-15 16:41 -0700
            Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-26 12:08 -0700
              Re: Local database library Martin Gregorie <martin@address-in-sig.invalid> - 2013-10-26 21:04 +0000
                Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-26 18:58 -0700
              Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-26 18:39 -0400
                Re: Local database library Kevin Nathan <knathan@project54.com> - 2013-10-26 19:04 -0700
            Re: Local database library Arne Vajhøj <arne@vajhoej.dk> - 2013-10-26 18:33 -0400

csiph-web