Albert Attard

Albert Attard

Albert Attard is a Java passionate and technical lead at a research group. You can find him on . Over the past years Albert worked on various Java projects including traditional server/client applications, modular applications, large data handling applications and concurrent data manipulation applications to name a few. He has a BSc degree from the University of London (Homepage) and an MSc Information Security with the same university. His MSc thesis (Book) received the 2012 SearchSecurity.co.UK award (Website).

This tutorial demonstrates how to develop a Java application that connects with a database and provides a user interface and is targeted to students who studied Java, but lack experience. This tutorial assumes basic knowledge of Java and it describes everything in great detail. The main idea of this tutorial is not learn Java, but to help the viewers to gain experience in developing Java applications. During the tutorial we explore various technologies, such as Maven (Homepage). These technologies are quite popular amongst developers communities and are considered as good traits when applying for jobs.

Albert Attard
Author: Albert Attard 4 years ago

Java objects can be serialised to JSON strings and deserialised back using JsonSerializer (Article and Java Doc) and the JsonDeserializer (Article and Java Doc) respectively. These two classes simplify the translation between these two realms but add an extra layer which can be avoided. Instead of the JsonSerialiser or JsonDeserialiser we can use an instance of TypeAdapter (Java Doc) which can serialise and deserialise JSON objects efficiently as we will see in this article.

Albert Attard
Author: Albert Attard 4 years ago

Java web application require a web container, such as Tomcat (homepage), on which these can run. Installing and configure a web container on each developing machine may be time consuming. Furthermore, other developers need to manage the dependencies manually if they want to run the web application.

Albert Attard
Author: Albert Attard 4 years ago

Sorting a List (Java Doc) is a very common task and the Java Collections Framework (Guides) provides methods that perform this, such as the Collections.sort() (Java Doc)method. Unfortunately this method will not work on all instances of type List, such as CopyOnWriteArrayList (Java Doc). This article provides a neat and simple way to have of how to obtained an ordered list.

Albert Attard
Author: Albert Attard 4 years ago

Imagine you are waiting for a call from your girlfriend with whom you had an argument. She too is waiting for you to call her and apologise. In other words, both of you are waiting for the other to call. Now if no one takes the phone and calls the other, you will never talk again. This is a deadlock and in this article we will see how deadlock occurs in programming and how to prevent it.

Albert Attard
Author: Albert Attard 4 years ago

Object Oriented Programming changed the way we build programs. It enabled us to create rich objects encapsulating both scope (fields) and logic (methods). While all modern programming languages, such as Java (Homepage), support objects (and object oriented programming), many implementations make pure use of them. In this article we will see how objects can be used to our advantage and how to think in an object oriented way.

Albert Attard
Author: Albert Attard 5 years ago

Discusses the benefits that Maven brings to the table when developing software applications. It first develops a project without using Maven and the rebuilds the same project using Maven.

Albert Attard
Author: Albert Attard 5 years ago