Java

ExecutorService, AutoCloseable, and Try-With-Resources In Java

This post demonstrates how to use try-with with ExecutorService in Java.

Read More...

Java

How To Validate XML String against XSD Without Writing To A File

This post shows how to validate XML string data against XSD files in Java. Most of the time, we work directly with XML files instead of string format. We point

Read More...

Java, Software Development

Java 8 Convert Stream Values to Map Entries Examples

This post demonstrates how to convert a stream of objects to a Map object using Collectors.toMap(…) methods.

Read More...

Java, Software Development, Spring

Spring MVC – How To Test For View Name

This post briefly demonstrates how to test for a view name in Spring MVC.

Read More...

Java, Java Tutorial, Software Development

Chapter 1: Introduction to Java as Language and Platform

When we say “Java,” we refer to the Oracle technology with two aspects – Java as a programming language and Java as a platform. Java as a programming language allows

Read More...

Java, Java Tutorial, Software Development

Chapter 4: Oracle JDK8 on Windows 10: Installation

This post demonstrates how to install Oracle JDK8 on Windows 10. Download JDK8 From Oracle First, go to www.google.com and search for “Java JDK 8”. Then, click the link that

Read More...

Java, Java Tutorial, Software Development

Chapter 5: Java Classes – The Blueprints And Building Blocks

In How To Write Your First Java Program, we installed an IDE and wrote a basic Java program. We also learned about the essential components of that program’s Java source

Read More...

Java, Java Tutorial, Software Development

Chapter 6: Java Object And Its Properties And Behaviors

We write codes that create Java objects from Java classes. These can have properties and behaviors. Properties are data with names; while, behaviors are the actions an object can perform

Read More...

Java, Java Tutorial, Software Development

Chapter 7: Java Classes And Access Modifiers – Review

Java classes and their variables and methods can use access modifiers – private, public, protected, and package-level (no keyword). These access modifiers set the classes’ visibility, constructors, and instance or

Read More...

Java, Java Tutorial, Software Development

Chapter 8: Java Primitives in The OOP World

Java primitives are predefined basic data types that exist in the Java programming language. We do not need to create them as we would with our custom Java classes. What

Read More...