Duration
1 day
Target Audience
Beginner – target trainee/audience for those RPG, no exposure to Java or no experience in using Eclipse, Maven and Git Repository for Java development at all so that they can comprehend and effectively absorb the training.
Learning Outcomes
After successfully completing this training, the participant should be able to
- Install and configure OpenJDK 11 and Eclipse IDE for Java development
- Understand what Maven is and how to use it to manage your Java project
- Understand what Maven Central repository is and what is the use of it
- Create a Maven project for your Java project
- Understand what Maven Dependency is and how to add it to your Java project
- Understand what Maven Module and Bill of Material (BOM) is and what is the use of it
- Understand what Git repository is and what is the use of it
- Checkout and pull source from Git repository using Eclipse IDE
- Run and Debug Java console application in Eclipse
- Compile and build a Java runtime library using Maven
- Run Java console application from command line
Section 1
- Install OpenJDK 11 on Windows
- Install Eclipse IDE on Windows
- Configure Eclipse to use OpenJDK 11 as the default Java runtime environment
- Configure Eclipse to use EditorConfig Plugin
- Configure Eclipse to use Google Java Formatter Plugin
Section 2
- Introduction to Maven
- Create a Maven project
- Create a Java main entry class
- Setting Java version in Maven project
- Introduction to Java standard project structure
- Using Eclipse Content Assist and Quick Fix
Section 3
- Run your Java console application in Eclipse
- Debug your Java console application in Eclipse
- Introduction to Maven Dependency and Maven Central repository
- Add a dependency to your Java project
- Java standard naming conventions
Section 4
- Compile and build a Java runtime library with Maven
- Run Java console application file from command line
- Introduction to Maven Module
- Create Maven project with Multiple Modules
- 30 minutes Hands-on Assignment
- Introduction to Maven Module and Bill of Materials (BOM)
- Introduction to Git Repository
- Clone a Maven project from GitHub
- Import a Maven project into Eclipse
Section 5
Introducing Data Types and Operators
- Why data Types Are Important
- Java’s Primitive Types
- The Boolean Type
- Literals
- A Close Look at Variables
- The Scope and Lifetime of Variables
- Operators
- Arithmetic Operators
- Relational and Logical Operators
- The Assignment Operator
- Shorthand Assignments
- Type Conversion in Assignments
- Casting Incompatible Types
- Operator Precedence
- Expressions
Section 6
Introducing Classes, Objects, and Methods
- Class Fundamentals
- How Objects Are Created
- Reference Variables and Assignment
- Methods
- Returning from a Method
- Returning a Value
- Constructors
- Parameterized Constructors
- Adding a Constructor to the Vehicle Class
- The new Operator Revisited
- Garbage Collection
- The this keyword
Programme scope, delivery arrangements and suitability are confirmed during enquiry.