Re: Develop a simple database in Java tutorial?

From: Adam Guillot (adam.guillot_at_orange.fr)
Date: 06/28/04


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



Relevant Pages

  • Re: newbie question: the steps of a making a ping service
    ... >> I want to store a list of web addresses in a flat file, and then, once ... >> into an array, then loop though that array and open the pages. ... >> cron, but I think doing this in Java would be more portable, and I ... >> So I'm asking what are the steps involved in making this script? ...
    (comp.lang.java)
  • Re: newbie question: the steps of a making a ping service
    ... > I want to store a list of web addresses in a flat file, and then, once ... > into an array, then loop though that array and open the pages. ... > cron, but I think doing this in Java would be more portable, and I ... > So I'm asking what are the steps involved in making this script? ...
    (comp.lang.java)
  • RE: Mapping
    ... what we have already developed in Java from a BizTalk perspective? ... I would handle this using the value mapping functoid. ... > changes to CAL you only need to update the helper class and not the map. ... >> an existing schema to a client's positional flat file format. ...
    (microsoft.public.biztalk.general)
  • Re: database failure so code reverts to flat file?
    ... > flat file." ... > I suspect the answer is no. I'm tempted to rewrite all my code in ... And private methods. ... Use ticks (or Java) ...
    (comp.lang.php)
  • Re: newbie question: the steps of a making a ping service
    ... >> I want to store a list of web addresses in a flat file, and then, once ... >> cron, but I think doing this in Java would be more portable, and I ... >> need to use this service from several servers. ... >> So I'm asking what are the steps involved in making this script? ...
    (comp.lang.java)