Java 8 Tutorials

A series of Java 8 tips and examples, hope you like it. FAQs Some common asked questions. Java 8 forEach examples Java 8 Convert List to Map Java 8 Lambda : Comparator example Java 8 method references, double colon (::) operator Java 8 Streams filter examples Java 8 Streams map() examples 1. Functional Interface Java …

Read more

Spring Boot Tutorials

Spring Boot makes it quick and easy to create a Spring based applications. *Spring Boot 4 minimum supported versions: Spring Framework 7.0.7 Java 17 (up to Java 26) Jakarta EE 11 (jakarta.*) Maven 3.6.3 or later Gradle 7.6.4 or later, and 8.x Spring Boot 4 supports the following embedded servlet containers: Tomcat 11.0, Servlet 6.1 …

Read more

Java Date Time Tutorials

A collection of Java date and time examples. 1. Java Date Time APIs In old days, we use the following classic Date and Calendar APIs to represent and manipulate date. java.util.Date – date and time, print with default time-zone. java.util.Calendar – date and time, more methods to manipulate date. java.text.SimpleDateFormat – formatting (date -> text), …

Read more

Quartz Scheduler Tutorial

Quartz, is a open source job scheduling framework, that let you scheduler a task to run on a predefine date and time. Happy learning Quartz 🙂 1. Quick Start Hello world to Quartz scheduler frameworks. Quartz 1.6 hello world example The old and popular Quartz 1.6.3, legacy system may still using this. Quartz 2 hello …

Read more

Quartz 2 scheduler tutorial

Quartz, enterprise scheduler job framework, to help Java application to scheduler a job/task to run at a specified date and time. This tutorial show you how to develop a scheduler job using latest Quartz library 2.1.5. Note Quartz 2 involves significant API changed, read this for older Quartz 1.6.3 example. 1. Download Quartz You can …

Read more

Google App Engine Tutorial

Google App Engine, a cloud computing platform for hosting web application in existing Google infrastructure, it’s easy to scale, manage and free to use up to a predefined consumed resources, and it supports Java. For additional charged, please refer to this GAE billing . In this series of tutorials, we will show you a list …

Read more

How to use mkyong tutorial

Recently, received many emails for mkyong.com tutorials, about how to deploy the project to Tomcat, build the project with Maven, and also how to import it into Eclipse IDE. Actually, almost all the mkyong.com tutorials are developed in Eclipse IDE (3.6 or 3.7), build with Maven (version 2 or 3) and deploy to Tomcat. At …

Read more

JSF 2.0 Tutorial

JSF 2.0 tutorial with full example, including JSF’s navigation, form tags, facelets tags, composite components, converter, validator, integrate with other frameworks like Spring, Hibernate and etc

jQuery Tutorial

jQuery tutorial with full example, including jQuery selectors, DOM traversing, common practice, event handling (form, browser, mouse ,keyboard), animations effects and Ajax stuff

TestNG Tutorial

TestNG tutorial with full example, introduce the TestNG basic usage, annotation support, and test case for expected exception test, ignore test, time test, suite test, parameterized test, dependency test and etc