Course Content
KM-01- Introduction to Java Programming
Module Code: 900102-000-00-KM-01 Credits: 2 Summary: This module introduces learners to the fundamentals of Java programming and basic computing concepts. It builds a strong foundation by covering essential topics such as how computers work, the Java environment, development tools, and core programming principles. Learners are also introduced to version control and the structure of Java programs, preparing them to begin writing, compiling, and managing simple applications.
0/13
KM-02- Principles of Programming with Java
Module Code: 900102-000-00-KM-02 NQF Level : NQF Level 4 Credits: 6 Credits This module builds the learner’s understanding of the principles of programming with the Java programming language. It covers Java program structure, variables, data types, arrays, strings, classes, conditionals, loops, algorithms, exception handling, file systems, multithreading, and the programming life cycle.
0/29
KM-03: Principles of Object-Oriented Programming with Java
his module introduces learners to the core principles and structure of Object-Oriented Programming (OOP) using Java. Learners will explore how object-oriented concepts are used to design scalable, reusable, and maintainable software applications in modern software development environments. The module covers the foundational concepts of OOP, including classes, objects, methods, inheritance, abstraction, encapsulation, polymorphism, aggregation, association, and composition. Learners will also examine the advantages of applying object-oriented principles in real-world software projects and enterprise application development. Through theoretical understanding and contextual programming examples, learners will develop the ability to analyse object-oriented structures, identify relationships between objects, and apply OOP principles to solve programming problems effectively. This module supports learner progression into intermediate and advanced Java development by building strong foundational knowledge required for application development, GUI systems, REST APIs, enterprise systems, and software engineering workflows.
0/4
KM-04- Principles of Intermediate Programming with Java
Module Code: 900102-000-00-KM-04 NQF Level: 4 Credits: 6 Curriculum Title: Java Programmer Curriculum Code: 900102-000-00-00 Module Summary This module focuses on building an understanding of the principles of intermediate programming with Java. Learners are introduced to more advanced Java concepts, including collections, generics, functional programming, concurrency, concurrent collections, and atomic operations.
0/9
KM-05- REST API and Modularization
Module Code: 900102-000-00-KM-05 NQF Level: 4 Credits: 2 Module Summary The main focus of this knowledge module is to build an understanding of the functionalities of REST API and modularization and when to use them. Learners will develop knowledge of REST API concepts, functions, features, and implementation approaches used in Java applications. The module also introduces Java modularization concepts, including module structures, dependency management, encapsulation, and modern Java features such as Local Variable Type Inference, Switch Expressions, Text Blocks, and Records. The module prepares learners to understand modern Java application development practices and modular software design.
0/5
PM-01- Getting Started with Java
Module Code: 900102-000-00-PM-01 NQF Level: 4 Credits: 3 Module Summary The main focus of this practical module is to introduce learners to the practical application of basic computer skills, Java installation and setup, Integrated Development Environments (IDEs), Java class creation, and Git commands. Learners will perform practical activities that involve setting up Java development environments, creating and running Java programs, navigating IDEs, and applying basic source code management practices using Git. The module prepares learners for practical Java software development activities in modern programming environments.
0/10
PM-02- Programming with Java
Module code: 900102-000-00-PM-02 NQF Level: 4 Credits: 8 Module Summary This module introduces learners to practical Java programming skills used in software development. Learners develop the ability to create and run Java programs, work with variables and data types, use arrays and ArrayLists, create and manage classes and objects, and apply core programming concepts such as loops, conditionals, algorithms, exception handling, and multithreading. The module also covers string manipulation, file handling, wrapper classes, and the programming lifecycle used to develop complete software solutions. By the end of the module, learners will be able to design, write, test, and troubleshoot Java applications using structured programming techniques and object-oriented programming principles.
0/44
PM-03- Object-Oriented Programming with Java
Module code: 900102-000-00-PM-03 NQF Level: 4 Credits: 4 Module Summary This practical module introduces learners to Object-Oriented Programming (OOP) using Java. Learners will apply practical Java programming skills to design classes, create objects, apply inheritance, use constructors, manage object state, and develop reusable Java applications. The module focuses on practical implementation of OOP principles including: * encapsulation, * inheritance, * polymorphism, * and abstraction. Learners will also compile, execute, and organize Java programs correctly within Java file systems and directories. The module prepares learners for real-world Java software development environments through hands-on practical activities and problem-solving scenarios.
0/2
PM-04- Intermediate Programming with Java
Module code: 900102-000-00-PM-04 NQF Level: 4 Credits: 6 Module Summary This practical module introduces learners to intermediate Java programming concepts and practical software development techniques using modern Java functionalities. Learners will apply Java collections, generics, functional programming concepts, and concurrency techniques to create efficient and scalable Java applications. The module focuses on practical implementation of: * Java collections and data structures, * generics and type safety, * functional programming using lambda expressions and streams, * and concurrent programming using synchronization and concurrent collections. Learners will develop hands-on Java applications that manage collections, process data functionally, and handle concurrent operations safely within multi-threaded environments. The module prepares learners for real-world Java software development by strengthening problem-solving abilities, improving software performance, and introducing enterprise-level programming techniques commonly used in modern Java applications.
0/8
PM-05- Getting Started with REST API and Modularization
Module code: 900102-000-00-PM-05 NQF Level: 4 Credits: 4 Module Summary This practical module introduces learners to REST API development and Java modularization using modern Java technologies and frameworks. Learners will develop practical skills in connecting Java applications to databases, creating RESTful web services, implementing CRUD operations, and deploying databases using Docker. The module focuses on practical implementation of: * JDBC database connectivity, * REST API development using Java and Spring Boot, * CRUD operations using HTTP methods, * Docker containerization, * Java modularization, * and modern Java APIs. Learners will build practical Java applications that connect to MySQL databases, manage data using REST APIs, split applications into Java modules, and apply modern Java functionalities for cleaner and more scalable code. The module prepares learners for enterprise-level Java software development environments where REST APIs, modular applications, and containerized systems are widely used in modern software engineering.
0/4
PM-06- Keystone Project with Java
Module code:900102-000-00-PM-06 NQF Level: 4 Credits: 8 Module Summary This practical module provides learners with the opportunity to complete a comprehensive Keystone Project using the Java programming language. Learners will apply all the programming knowledge and practical skills acquired throughout the qualification to design, develop, test, and execute real-world Java applications. The module focuses on practical implementation of: * core Java programming, * arrays and objects, * conditions and loops, * GUI development, * game development, * and complete Java application solutions using frameworks and environments of the learner’s choice. Learners will complete practical exercises, build an operable Java game, and develop a contextual GUI-based solution within a selected sector such as: * retail, * healthcare, * IoT, * cloud computing, * mobile development, * or network systems. The module prepares learners for real-world software development environments by strengthening problem-solving abilities, practical development experience, creativity, and application deployment skills using Java technologies and frameworks.
0/6
Java Programmer Skills Programme

3.1 Lesson Outcomes

After completing this lesson, learners will be able to:

  • Create Java modules.
  • Build service and consumer applications.
  • Split Java applications into JARs and modules.
  • Apply modern Java APIs.
  • Use collection, file, predicate, and string utility methods.

3.2 Overview

Java modularization allows developers to split applications into smaller reusable modules. Modules improve:

  • project organization,
  • maintainability,
  • scalability,
  • and application security.

Modern Java versions also introduce new APIs that simplify:

  • file handling,
  • collection management,
  • string manipulation,
  • and functional programming.

This lesson introduces learners to practical Java modularization and modern Java API usage.

Understanding modularization is important because enterprise Java systems are commonly built using modular software architecture.


Case Study / Scenario

You are a Java developer working for a South African e-commerce platform. Your manager requests the following:

  1. Create a modular application using:
  • a Service module,
  • and a Consumer module.
  1. Explore modern Java APIs for:
  • collections,
  • files,
  • strings,
  • and predicates.

The goal is to create cleaner, scalable, and modular Java applications.


PA0201 — Java Modularization

Java modules organize applications into separate reusable units.

Step 1 — Create Service Module

Directory Structure:

service/

src/service/module-info.java

src/service/com/example/service/MessageService.java

module-info.java

module com.example.service {

exports com.example.service;

}

MessageService.java

package com.example.service;

public class MessageService {

public String getMessage() {

return “Hello from Service!”;

}

}

Step 2 — Create Consumer Module

Directory Structure:

consumer/

src/consumer/module-info.java

src/consumer/com/example/consumer/ConsumerApp.java

module-info.java

module com.example.consumer {

requires com.example.service;

}

ConsumerApp.java

package com.example.consumer;

import com.example.service.MessageService;

public class ConsumerApp {

public static void main(String[] args) {

MessageService service = new MessageService();

System.out.println(service.getMessage());

}

}

Expected Output:

Hello from Service!

Step 3 — Build JARs and Run Modules

Build Service Module:

javac -d out/service

src/service/module-info.java

src/service/com/example/service/MessageService.java

jar –create –file service.jar -C out/service .

Build Consumer Module:

javac -d out/consumer –module-path service.jar

src/consumer/module-info.java

src/consumer/com/example/consumer/ConsumerApp.java

Run Modules:

java –module-path service.jar:out/consumer

–module

com.example.consumer/com.example.consumer.ConsumerApp

Practical Activity

Learners must:

  • create modules,
  • build service and consumer applications,
  • compile modular applications,
  • and execute Java modules.

PA0202 — Explore New Java API

Modern Java APIs simplify common programming tasks.


List, Set and Map — copyOf Methods

copyOf() creates unmodifiable copies of collections.

Java Example:

import java.util.List;

import java.util.Set;

import java.util.Map;

public class CollectionCopy {

public static void main(String[] args) {

List names = List.of(“Alice”, “Bob”);

List copyNames = List.copyOf(names);

Set numbers = Set.of(1,2,3);

Set copyNumbers = Set.copyOf(numbers);

Map<String, Integer> scores =

Map.of(“Alice”, 90, “Bob”, 80);

Map<String, Integer> copyScores =

Map.copyOf(scores);

System.out.println(copyNames);

System.out.println(copyNumbers);

System.out.println(copyScores);

}

}

Expected Output:

[Alice, Bob]

[1, 2, 3]

{Alice=90, Bob=80}

Practical Activity

Learners must:

  • create collection copies,
  • apply copyOf methods,
  • and display collection outputs.

Files — readString and writeString Methods

Modern Java simplifies file handling.

Java Example:

import java.nio.file.Files;

import java.nio.file.Path;

public class FileExample {

public static void main(String[] args)
throws Exception {

Path filePath = Path.of(“example.txt”);

Files.writeString(filePath, “Hello File!”);

String content = Files.readString(filePath);

System.out.println(content);

}

}

Expected Output:

Hello File!

Practical Activity

Learners must:

  • write text to files,
  • read file contents,
  • and display file output.

Predicate.not() Method

Predicate.not() reverses conditions.

Java Example:

import java.util.List;

import java.util.function.Predicate;

public class PredicateExample {

public static void main(String[] args) {

List names =
List.of(“Alice”, “”, “Bob”);

names.stream()

.filter(Predicate.not(String::isBlank))

.forEach(System.out::println);

}

}

Expected Output:

Alice

Bob

Practical Activity

Learners must:

  • apply Predicate.not(),
  • filter collections,
  • and display results.

String Utility Methods

Modern Java includes useful string utility methods.

Java Example:

public class StringUtilExample {

public static void main(String[] args) {

String text = “  Hello Java  “;

System.out.println(text.strip());

System.out.println(“abc”.repeat(3));

System.out.println(””.isBlank());

}

}

Expected Output:

Hello Java

abcabcabc

true

Practical Activity

Learners must:

  • apply strip(),
  • apply repeat(),
  • apply isBlank(),
  • and display outputs.

AK0201 — Principles and Functionalities of Java Modularization

Java Modularization Feature — Function

Modules — Organize applications
exports — Expose packages
requires — Import modules
JAR Files — Package applications
copyOf() — Create unmodifiable collections
readString() — Read file contents
writeString() — Write text to files
Predicate.not() — Reverse conditions

Practical Activity

Learners must:

  • explain modularization concepts,
  • identify Java API functions,
  • and apply modular application structures.

IAC0201 — Expected Results with Modularization in Java are Achieved

Expected Results

  • Modules compile and execute successfully.
  • Service and Consumer modules communicate correctly.
  • JAR files are created successfully.
  • Modern Java APIs function correctly.
  • File handling and collection methods work successfully.

3.5 Key Notes / Summary

  • Java modularization improves application organization.
  • Modules use:
    exports
    and
    requires
    keywords.
  • JAR files package Java applications.
  • copyOf() creates unmodifiable collections.
  • readString() and writeString() simplify file handling.
  • Predicate.not() simplifies filtering operations.
  • Modern Java APIs improve readability and development speed.
Scroll to Top