Archive for February, 2007

Create your own forum

So this morning I experimented with JForum. It is an open-source forum which can be easily configured and set up and also looks quite good. It took me about half an hour to set it up and get it going.You can configure various property files to suit your needs (to change names, logos, etc.). The simple setup provides you with the option to just unpack the zip file into a server’s deploy directory and then start it up by going to the deployed URL. From there you can set the properties from a UI.

You can also choose between five different databases. I tested it with PostgreSQL as it was already running on my machine, but you can also use MySQL. All you need to do is create the database and then run the two provided scripts to set up the tables and insert the data required to begin with.

Too easy! Your own no mess no fuss forum.

Welcome!

Welcome to my blog!As you will notice from the title of this blog, I will dedicate this blog mainly to all things Java (my favorite programming language). From time to time I will also post entries and tutorials on more general programming topics.

Concerning the title of my blog - java.lang.AssertionError. The Java API documentation describes this class as:

                     [An exception] Thrown to indicate that an assertion has failed.

In programming, as well as in life, we make assumptions. You assume that something is going to happen or work in the way you expect it to. But this is not always the case (or rather it very seldom is). This is where assertions are used in programming. It can be used during testing to validate your expectations, which can be very usefull, before the product is shipped off. But how is this different from normal testing? This and other technical and programming questions will be discussed in this blog, so you’ll just have to wait and see…Watch this space!

In the mean time, have a look at the Java Programming with Assertions tutorial if you are interested in learning more about assertions.