Java Blog
Java 16 and 17
Java 11
Java 10
Java 9
- Java 9 New Features
- Java 9 Modules Introduction
- Creating a Module
- Java 9 Module Internals
- Java 9 ofnullable Stream Improvements
- Java 9 Stream API Iterate Method Example
- Java 9 Stream Dropwhile With Examples
- Java 9 Stream takeWhile With Examples
- Java 9 Private Interface Methods
- JShell in Java 9
- Collection Factory Methods in Java 9
Java 8 New Features
- Overview of new features in Java 8
- Java 8 Optional
- Java 8 Parallel Streams
- Java 8 Lambda Expressions Explained
- Java 8 LocalDate Explained
- Java 8 LocalTime Class Explained
- Java 8 LocalDateTime Class
- Java 8 Stream API
- Java 8 Method Reference Operator Example
- Java 8 Default Methods in Interface Explained
- Java 8 Functional Interface
- Java 8 Static Interface Methods
- putIfAbsent and getOrDefault Methods explained
- Java 8 For-each
- Java 8 Comparator Changes
- Java 8 SplitIterator
- Java 8 Collection Removeif Method
- Java 8 Iterator foreachremaning Method
Java 8 Examples
- Java 8 Function Interface Example
- Java 8 IntFunction
- Java 8 DoubleFunction Example
- Java 8 BiFunction Example
- Java 8 ToIntFunction
- Java 8 DoubleToLongFunction Example
- Java 8 DoubleToIntFunction Example
- Java 8 Supplier Interface Example
- Java 8 IntSupplier Interface Example
- Java 8 DoubleSupplier Example
- Java 8 BooleanSupplierExample
- Java 8 Predicate Example
- Java 8 BiPredicate Example
- Java 8 LongPredicate Interface Example
- Java 8 IntPredicateExample
- Java 8 Consumer Interface Example
- Java 8 IntConsumer Interface
- Java 8 LongConsumer Example
- Java 8 DoubleConsumer Example
- Java 8 UnaryOperator Example
- Java 8 DoubleUnaryOperator
- Java 8 Binary Operator Example
- Java 8 IntBinaryOperator
- Java 8 Stream API Distinct Example
- Java 8 Stream API allMatch Example
- Java 8 Stream API Map Operation Example
- Stream API filter example
- Java 8 Stream API anyMatch Example
- Java 8 Map Compute Method Examples
Java How-tos
- How to add days to a Date in Java
- How to read a file on the Classpath in Java
- How to create a new file on the file system
- How to remove whitespaces from a String
- How to check if a Date is before or after another Date
- How to add a number of days to a Date
- How to sort a list in descending order
- How to find the number of years between two Dates
- How to find the day of the week represented by a date
- How to count the number of vowels and consonants in a String
- How to find the number of digits in a String
- How to obtain a list of files in a folder
- How to sort a List of Objects using a Comparator
- How to find the largest number in an array
- How to check if a number id even or odd
- How to convert a Java List to an Array
- How to reverse a set or List
- How to calculate the sum of numbers in an array
- How to check if an input character is a vowel
- How to create a List without using list.add
- How to find if two lists are exactly the same
- How to Reverse a Sentence via Java
- How to Sort a List via Java
- How to check if a file exists at the specified path
- How to check if a number is a prime number
- How to check if a String has digits in Java
- How to check if a String is a substring of another String
- How to convert a String to lowercase
- How to create a directory in Java
- How to create a new file in Java
- How to delete a file in Java
- How to delete a folder in Java
- How to find the count of each character in a String
- How to find the free space in a drive in Java
- How to find the total space in a drive in Java
- How to make a file read only in Java
- How to read a CSV file in Java
- How to remove a character from a String in Java
- How to rename a file in Java
- How to replace a String with another String
- How to split a String via Java
- How to convert a String to uppercase
- How to convert a String to a Date
- How to shuffle the elements in a list
- How to convert a List to a Set
- How to find the maximum and minimum number in a list
- How to print the current Date and Time
- How to add two numbers in Java
- How to read input from the user in Java
- How to remove duplicate elements in a list
- How to check if a String has only Alphabets
- How to convert an array to a List
- How to find the factorial of a Number
- How to find the largest number in an Array
- How to find the number of days between two dates
- How to find the number of words in a sentence
- How to replace the character in a string with another character
- How to reverse a String in Java
- Write to a file in Java
- How are Java Strings Immutable
Java Interview Questions
- Java Inheritance Interview Questions
- Difference between local, instance and static variables in Java
- Difference between Comparator and Comparable
- Difference between Module and Package
- What is the difference between iterator and splititerator
- Iterator v/s Enumeration
- Java Treeset v/s Hashset
- Compile-time Polymorphism v/s Runtime Polymorphism
- Why is Java Platform-independent
- ArrayList v/s LinkedList
- Checked vs Unchecked Exceptions
- String vs StringBuffer vs StringBuilder
- Difference between break and continue
- Difference between JDK, JRE, and JVM
- Method Overloading vs Method Overridding
- Difference between abstract class and interface
- Difference between set and list in Java
- Object Oriented Principles n Java
Java Language Features
- Java Queue Interface Explained
- Constructors in inheritance
- Java Method Overloading Explained
- Java varargs explained
- Java Try With Explained
- Java Callable Explained
- Java final Keyword
- Java protected Keyword
- Java Super Keyword Explained
- Java Arrays Explained
- Java if-else
- Java Autoboxing Explained
- Java Nested Classes Explained
- NullPointerException Explained
- Java Constructors Explained
- Java Enumerations Explained
- Java Interfaces Explained
- Java Classes and Objects Explained
- Java Iterators Explained
- Java Path and Classpath Explained
- Java Prefix and Postfix Notation Explained
- public static void main explained
- Java Loops Examples
- Java This Keyword Explained
- What is a marker interface in Java
- Exception Handling Keywords Explained
- Java Access Specifiers
- Singleton Class
- Static Keyword Explained
- System.out.println Explained
- What is the final keyword in Java
- Java Exception Handling Explained
Jackson
Spring and Spring Boot
- Spring Boot Maven Plugin Explained
- How to create a JAR file from a Spring Boot Application using Maven
- How to use logging in Spring Boot
- How to use Flyway with SpringBoot
- How to create a SpringBoot Thymeleaf application
- How to create a SpringBoot REST Service with XML output
- How to create a Hello World SpringBoot Application
- SpringBoot Annotations Explained
- Spring Bean Scopes
- How Spring Works
- SpringBoot Starter Dependencies
- Spring Annotation Configuration Example
- Spring Initializr Explained
- Spring Java Configuration Example
- Spring XML Configuration Example
- Spring Framework What and Why
- Spring Modules Explained
- Spring Exception Handling
- Spring REST Client Using RestTemplate
- Spring ExceptionHandler annotation explained
- Spring RequestMapping,GetMapping, PostMapping Annotations
- Important Spring MVC Annotations
- How to Create a Spring REST Application
- Controller vs RestController in Spring
- How to create a HelloWorld Spring MVC Application
- How to create a SpringBoot REST Service and test it via Postman
- SpringBoot JPA Example
- SpringBoot What and Why
Jax-rs and REST
- What is REST API
- JSON Syntax and Benefits
- Jax-rs Exception Handling
- Jax-rs v/s Spring Rest
- Important Jax-rs annotations explained
- How to create a REST Service in Java using JAX-RS
- How to create a JAX-RS Jersey Client
Maven, Tomcat and Eclipse
- How to setup Tomcat in Eclipse
- Maven Clean Install Command Explained
- How to create a Maven Wen Project using Archetype Selection
- Maven Wrapper
- Tomcat Maven Plugin
- How to Deploy an Application in Tomcat in Eclipse
- How to create a Maven web project in Eclipse
- How to add Maven Dependencies via Eclipse
- How to create a basic Java Project in Eclipse
- How to create a Maven Project in Eclipse
Docker
Git and GitHub
- Git Branch and Fork Explained
- Git Commands CheatSheet
- How to Create a Remote Repository in GitHub
- Some Git Terminologies
- Git and Github Differences Explained
- Git Merge, Rebase, and Squash
- How to Create a Local Repository in Git
JPA, Hibernate and JDBC
- JPA Interfaces Explained
- How to create a Standalone JPA Application
- Introduction to JPA
- Hibernate List Mapping
- Hibernate Collection Mapping
- JPA Hibernate Inheritance Mapping Strategies
- Hibernate HQL Syntax
- Automatic Dirty Checking in Hibernate
- How Hibernate SessionFactory Works
- Hibernate Association Mappings
- Hibernate Interfaces Explained
- Hibernate Caching Explained
- Hibernate Persistence Life Cycle
- Hibernate Save v/s saveorUpdate
- How to query a table via JDBC
- JPA vs Hibernate
- Statement vs PreparedStatement
- What is Hibernate Criteria API
- Difference Between save and persist in Hibernate
- JDBC vs Hibernate
- Update vs Merge in Hibiernate
- Difference between Get and Load in Hibernate
Unit Testing
Swagger
Python
- How to setup Pydev with Eclipse
- How to create a Python Program in Eclipse
- Python While Loop
- Python Function Arguments Explained
- Python Functions Part 1
- Reading User Input in Python
- Python Directory
- Python Tuples
- Python Lists and List Operations
- Python String Operations
- Python numeric and String Variables