Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8910
| From | Tom Anderson <twic@urchin.earth.li> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Ubunto |
| Date | 2011-10-17 15:08 +0100 |
| Organization | Stack Usenet News Service |
| Message-ID | <alpine.DEB.2.00.1110171448080.10855@urchin.earth.li> (permalink) |
| References | (2 earlier) <unpj975lsksrev5fibuepke9ar85vit9ia@4ax.com> <j7dagn$bgh$4@localhost.localdomain> <alpine.DEB.2.00.1110162344190.27716@urchin.earth.li> <j7fssv$19j$2@localhost.localdomain> <4e9b8cd8$0$282$14726298@news.sunsite.dk> |
[Multipart message — attachments visible in raw view] - view raw
On Sun, 16 Oct 2011, Arne Vajhøj wrote: > On 10/16/2011 8:29 PM, Martin Gregorie wrote: >> On Mon, 17 Oct 2011 00:31:05 +0100, Tom Anderson wrote: >>> 2. None of the above includes Derby, which is included in the Sun >>> releases. That's a package simply called derby. >> >> True. Due to a PostgreSQL fixation I keep meaning to use it but haven't >> yet. > > I don't think Derby and PostgreSQL are alternatives. > > You could use Derby for your development incl. unit test because it is > practically no install/config and PostgreSQL for your QA and production > for the reliability and performance. I'd almost say it was the other way round. PostgreSQL is pretty easy to install - as root (paraphrasing what i actually just did): yum install postgresql-server # will prompt to confirm sudo -u postgres initdb # possibly edit pg_hba.conf service postgresql start sudo -u postgres createuser -P -S developer # will prompt for a password sudo -u postgres createdb -O developer development pg_hba.conf is the file which defines access methods, and access control. With every package i have ever installed, it is created in a state which allows the normal console user to get access to the database. However, the details vary: IIRC, on OS X (with MacPorts), it is set up to use peer authentication for unix domain sockets (which is secure), and MD5 password authentication for TCP/IP sockets (which is fairly secure). However, a default install on Fedora 15 has no authentication on either kind of socket; that said, TCP/IP sockets are only opened on the loopback interface, so this is not that bad. An old installation on Fedora came with only unix domain sockets by default, and no TCP/IP. So, that file may need some tweaking. So, not nearly as easy as installing Derby (which with a Sun JDK involves precisely zero steps), but not at all difficult. Suitable for a development machine. Whereas i think the great strength of Derby is in production - if and only if you are distributing code to run on desktop machines. There, the less you need to install, the better, and the fact that Derby comes in the JDK makes it a bit of a slam-dunk. It's not a particularly great database, but you can't argue with the ease of installation. tom -- If this is paradise, i wish i had a lawnmower.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Ubunto Roedy Green <see_website@mindprod.com.invalid> - 2011-10-13 10:44 -0700
Re: Ubunto Robert Klemme <shortcutter@googlemail.com> - 2011-10-13 22:27 +0200
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-14 01:08 +0000
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-14 14:21 +0100
Re: Ubunto B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-14 17:00 -0400
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-14 22:20 +0000
Re: Ubunto B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-15 01:16 -0400
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-15 12:21 +0000
Re: Ubunto B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-15 15:42 -0400
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-16 00:23 +0000
Re: Ubuntu Roedy Green <see_website@mindprod.com.invalid> - 2011-10-15 13:01 -0700
Re: Ubuntu Arne Vajhøj <arne@vajhoej.dk> - 2011-10-15 16:49 -0400
Re: Ubuntu Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-16 00:57 +0000
Re: Ubuntu Tom Anderson <twic@urchin.earth.li> - 2011-10-17 00:51 +0100
Re: Ubuntu Arne Vajhøj <arne@vajhoej.dk> - 2011-10-16 22:12 -0400
Re: Ubuntu Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-17 21:21 +0000
Re: Ubuntu blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-18 14:50 +0000
Re: Ubuntu Lew <lewbloch@gmail.com> - 2011-10-18 08:59 -0700
Re: Ubuntu Robert Klemme <shortcutter@googlemail.com> - 2011-10-18 18:19 +0200
Re: Ubuntu blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-18 17:43 +0000
Re: Ubuntu Robert Klemme <shortcutter@googlemail.com> - 2011-10-18 22:18 +0200
Re: Ubuntu blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-19 13:26 +0000
Re: Ubuntu Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-19 00:18 +0000
Re: Ubuntu blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-19 13:27 +0000
Re: Ubuntu Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-19 19:39 +0000
Re: Ubuntu blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-20 14:15 +0000
Re: Ubuntu David Lamb <dalamb@cs.queensu.ca> - 2011-10-20 12:24 -0400
Re: Ubuntu Tom Anderson <twic@urchin.earth.li> - 2011-10-20 20:53 +0100
Re: Ubuntu blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-21 16:24 +0000
Re: Ubuntu Tom Anderson <twic@urchin.earth.li> - 2011-10-22 20:38 +0100
Re: Ubuntu blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-25 07:03 +0000
Re: Ubuntu Eight of Seventeen <eights17@gmail.com> - 2011-10-25 23:23 -0700
Re: Ubuntu blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-21 16:24 +0000
Java 7 javadocs (was Re: Ubuntu) blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-10-20 14:16 +0000
Re: Java 7 javadocs (was Re: Ubuntu) David Lamb <dalamb@cs.queensu.ca> - 2011-10-20 12:27 -0400
Re: Ubuntu Tom Anderson <twic@urchin.earth.li> - 2011-10-20 20:53 +0100
Re: Ubuntu Eight of Seventeen <eights17@gmail.com> - 2011-10-20 17:05 -0700
Re: Ubuntu Tom Anderson <twic@urchin.earth.li> - 2011-10-17 00:32 +0100
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-15 15:06 +0100
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-15 15:59 +0000
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-15 17:15 +0100
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-15 16:48 +0000
Re: Ubunto B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-15 15:45 -0400
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-16 00:17 +0000
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-16 23:40 +0100
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-16 23:50 +0000
Re: Ubunto B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-15 15:46 -0400
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-16 23:44 +0100
Re: Ubunto B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-16 20:41 -0400
Re: Ubunto Lew <lewbloch@gmail.com> - 2011-10-16 17:48 -0700
Re: Ubunto B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-16 20:59 -0400
Re: Ubunto Stanimir Stamenkov <s7an10@netscape.net> - 2011-10-16 11:39 +0300
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-16 11:22 +0000
Re: Ubunto Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-10-16 10:58 -0300
Re: Ubunto Dancing Fingers <batymahn@gmail.com> - 2011-10-21 01:51 -0700
Re: Ubunto Arne Vajhøj <arne@vajhoej.dk> - 2011-10-13 22:54 -0400
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-14 14:20 +0100
Re: Ubunto Roedy Green <see_website@mindprod.com.invalid> - 2011-10-15 13:04 -0700
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-16 01:03 +0000
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-17 00:31 +0100
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-17 00:29 +0000
Re: Ubunto Arne Vajhøj <arne@vajhoej.dk> - 2011-10-16 22:03 -0400
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-17 15:08 +0100
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-17 21:29 +0000
Re: Ubunto Tom Anderson <twic@urchin.earth.li> - 2011-10-17 16:47 +0100
Re: Ubunto B1ll Gat3s <wm.g4t3s@m1cr0s0f7.c0m> - 2011-10-16 20:55 -0400
Re: Ubunto Martin Gregorie <martin@address-in-sig.invalid> - 2011-10-17 21:37 +0000
Re: Ubunto Arne Vajhøj <arne@vajhoej.dk> - 2011-10-16 22:14 -0400
csiph-web