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


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

Re: Local database library

X-Received by 10.224.126.137 with SMTP id c9mr27070019qas.2.1380927378737; Fri, 04 Oct 2013 15:56:18 -0700 (PDT)
X-Received by 10.50.87.71 with SMTP id v7mr453646igz.11.1380927378680; Fri, 04 Oct 2013 15:56:18 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!i2no120572qav.0!news-out.google.com!9ni11444qaf.0!nntp.google.com!i2no120559qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.databases
Date Fri, 4 Oct 2013 15:56:18 -0700 (PDT)
In-Reply-To <20131004110242.1be4f5ea@efreet.linux>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.129; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
NNTP-Posting-Host 69.28.149.129
References <20131001135230.66af12f9@efreet.linux> <nospam-29AECA.15371802102013@news.aioe.org> <20131004110242.1be4f5ea@efreet.linux>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <d50f8d5a-bf95-4d95-bc93-6a53b0a16522@googlegroups.com> (permalink)
Subject Re: Local database library
From Lew <lewbloch@gmail.com>
Injection-Date Fri, 04 Oct 2013 22:56:18 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.databases:627

Show key headers only | View raw


Kevin Nathan wrote:
>>> So, my question is: Does anyone know of a good tutorial on how to
>>> build a library of routines in Java?  

The Java Tutorial.
http://docs.oracle.com/javase/tutorial/

Read about JAR files.

All a "library of routines" is is a JAR file of classes.

> Thanks for the links! That's my work for today, I guess! I don't like
> stumbling around in the dark, so I just have to take the time
> necessary to get a handle on all of this... 

Since database access in Java is a rich and extremely large area, and you apparently 
still lack information on how to build any kind of project in Java,  that is advisable.

There are pitfalls galore in writing just "a local library of database access routines". Most 
likely you'll wind up with an overblown and unmaintainable mess that people have to 
shoehorn into their logic with more effort than just using JPA or JDBC themselves.

I've done a lot of experimentation with different ways of coding database access in Java, 
and the flat-out worst was a comprehensive "local library of database access routines".

By far the easiest to code and maintain was a non-monolithic JPA approach.

But you really should know at least *something* about writing database access before 
engaging in the overweening presumption of building a "library" for others to use.

-- 
Lew

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