Re: Develop a simple database in Java tutorial?
From: Adam Guillot (adam.guillot_at_orange.fr)
Date: 06/28/04
- Next message: Robert A.M. van Lopik: "Re: connecting to an oracle db using the thick (oci) driver"
- Previous message: Thomas Kellerer: "Re: Un-Verbose Messages"
- In reply to: swosh: "Re: Develop a simple database in Java tutorial?"
- Next in thread: Roedy Green: "Re: Develop a simple database in Java tutorial?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Jun 2004 11:15:15 +0200
swosh wrote:
> Am Sat, 26 Jun 2004 21:29:40 GMT schrieb Christophe Vanfleteren:
>
>> swosh wrote:
>>
>>> To be more precise: I know how to use a database, I used SQL for some
>>> time and I read a theoretical book about database management systems.
>>> The problem with this books is that it's well very theoritical - it
>>> talks a lot about relational algebra, index structures, b-trees,
>>> transaction management and so on, but without any practical examples. I
>>> wish I could find some explained example e.g. how the data is actually
>>> stored in a table, how a simple indexing technique looks like or how to
>>> parse simple SQL statements. And above all how all this works together.
>>
>> Look at HSQLDB (hsqldb.sf.net). It is an opensource database written in
>> Java. You might learn a few things from looking at its code.
>
> Well I initially posted this article, after trying to understand the
> source code of tinySQL, but it didn't work due to my limited knowledge of
> Java. I just started learning Java a few weeks ago and finished reading
> The Java Programming Language by Arnold/Gosling/Holmes and The JFC Swing
> Tutorial by Walrath/Campione books. So I intended to try out all the
> knowledge I gained, by programming a simple contact manager. Sure I could
> have done the storage of the addresses in a flat file or access them
> through JDBC on the MySQL server that is running on my PC. But I intended
> to improve my basic Java skills, by doing something a bit more
> complicated. A few years ago I saw a book in the library which was about
> how to access and create dBase files with Pascal. So I hoped to find
> something similar for Java too. In an article on the JavaWorld homepage, I
> read about the book called Java Database Programming by Brian Jepson.
> Chapter 6 is called: "Inside the tinySQL Database Management System".
> According to JavaWorld, the book is written poorly and confusing and this
> chapter contains just tens of pages of source code (which can be obtained
> for free) but with only little explanatory text. So I'm trying to find
> something with more explanations, although I doubt that a tutorial similar
> to the Building an Application tutorial on the New to Java homepage of Sun
> exists.
its up to you to store your data. you can use XML
- Next message: Robert A.M. van Lopik: "Re: connecting to an oracle db using the thick (oci) driver"
- Previous message: Thomas Kellerer: "Re: Un-Verbose Messages"
- In reply to: swosh: "Re: Develop a simple database in Java tutorial?"
- Next in thread: Roedy Green: "Re: Develop a simple database in Java tutorial?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|