Java with SQLite embedded database

If your java desktop application needs to store data in a database between sessions then a good solution is to embed a database into your solution.  What this gives you is an application which installs the database as part of the application, builds the database tables and populates it with any initial data.  This approach avoids the need for the user to install a database separately from the application.

Let’s takes a look at how to you might go about this. Continue reading “Java with SQLite embedded database”

Advertisements
Java with SQLite embedded database

Math Formula in Java

The other day I came across an example where a formula written in a Java program could be represented in standard notation on the screen.  I thought this was brilliant.  I recall back in my Uni days using the formula editor in Microsoft Word to present formulas.   Now I don’t have a use for this in Java yet but, you never know.  However in case anyone out there does have a requirement to represent a formula written in a programming language in standard notation then maybe this will help.  Continue reading “Math Formula in Java”

Aside

Java Executables

One of the challenges when writing Desktop applications in Java has always been deployment.  The write once run code anywhere concept has always been attractive but it has been the running of the code which has traditionally been the stumbling block.

Over the years there have been many solutions developed to overcome these challenges.  Initially there was Continue reading “Java Executables”

Aside