So called because this article puts together all the parts of a web service by hand so that when you use the available tools out there designed to make things easier and quicker you can work out what has gone wrong and how to fix it.
In an earlier post I listed my Five ways to faster learning. Now all these ideas centered around having a plan on how you are going to learn. You need to decide where you are going and how you are going to get there. All make sense?
So where are you going? Continue reading “You don’t know what you don’t know”
- Focus on what you want/need to learn now – don’t read the book from cover to cover
- Create a learning plan of what you want to achieve
- Narrow your scope and learn about that, then move on
- Learn one thing at a time
- You can learn more studying once you have some practical experience to relate to
Now the real challenge in all this is that well known saying…
If you intend to build an application designed for more than a single user then you will need to provide a means for users to authenticate themselves. Authentication is the means for a user to provide information that allows your application to identify who you are.
The application will then typically use authorisation to check which functions and information you are allowed to access. To take a look at what is involved in an authentication system lets build a simple system to get you started.
When I first started out in programming I made the same mistake as I see countless people make when starting. I wrote code for me and that worked, and that was good enough for me. As time passed and the code I produced expanded and became more ambitious so my bad habits became more ingrained. I think it is something we all do; we all go through. It is not until we encounter an issue, a reason to change, that we appreciate the error of our ways. Continue reading “Java application dynamic configuration using a properties file”
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”
In the previous post we looked at displaying information in a hierarchy using JTree.
Now all this is fine but, usually when we use a JTree it is because we want to be able to select an item, one or more. For our example let us concern ourselves with selecting a single item and displaying the detail associated with that item. Continue reading “Using JTree to select information”