Programming

The life and death of applets

The Life and Death of Java Applets

Remember Java applets? Applets are graphical programs that older Java programmers in the office used to develop Java applications that ran in browser pages.
In case you missed it, Java applets are dead. I take a short look at the life and death of Java applets.

Continue reading →
Finalizers in Java Programming

About Java Finalizers

Java finalizers are methods that are supposed to free resources after objects have been marked as unreachable. Java finalizers have been deprecated and flagged for removal, so don’t use them.
In this article I expand more on the problems with finalizers, and alternatives for your code.

Continue reading →
Java lambdas

Local Variable Syntax For Lambda Parameters

We look at local variable syntax for lambda parameters in this article. This is an enhancement available in JDK 11. The local variable syntax for lambda parameters allows us to use the var reserved type name when declaring the formal parameters of implicitly typed lambda expressions.

Continue reading →
Local variable type inference: detective with the label "compiler" using a magnifying glass to inspect a red block labeled "local variable"

Local Variable Type Inference

Local variable type inference in java is a way to extend the type inference mechanism to local variable declarations with initializers. This was a preview language feature in JDK 10, and is now permanent.

Continue reading →

Java Text Blocks

Text blocks were a preview language feature in JDK 13 and JDK 14. A Java text block is a multi-line string literal that doesn’t need us to use escape sequences. It makes our life much easier.

Continue reading →
Project Lombok - image of chillis

Project Lombok

Project Lombok is a 3rd party library that defines a number of annotations and associated annotation processors. This can lead to faster coding for domain classes, with less code to maintain.

Continue reading →
Java records - image of old-fashioned record player

Java Records (Part 2)

In this article we continue our examination of Java records. Remember that Java records were introduced in Java 14. Let’s look at the features and restrictions of Java records.

Continue reading →

Your Java tip is on its way!

Check that incusdata.com is an approved sender, so that your Java tips don’t land up in the spam folder.

Our privacy policy means your data is safe. You can unsubscribe from these tips at any time.

Thank You

We're Excited!

Thank you for completing the form. We're excited that you have chosen to contact us about training. We will process the information as soon as we can, and we will do our best to contact you within 1 working day. (Please note that our offices are closed over weekends and public holidays.)

Don't Worry

Our privacy policy ensures your data is safe: Incus Data does not sell or otherwise distribute email addresses. We will not divulge your personal information to anyone unless specifically authorised by you.

If you need any further information, please contact us on tel: (27) 12-666-2020 or email info@incusdata.com

How can we help you?

Let us contact you about your training requirements. Just fill in a few details, and we’ll get right back to you.