Java Tutorials

Introduction

XML

Testing and Code Quality Tools

Special Topics

Libraries and Tools

Performance and concurrency

Design Patterns

Divers


Introduction to Java Programming      [Top]

This tutorial explains the Java programming language. It also contains "Cheat Sheets" with examples for standard tasks during programming. This article does not cover the installation of the Java Development Kit (JDK).

Read Tutorial


Java IO (Input Output) (Files)      [Top]

This tutorial explains how to read and write files via Java.

Read Tutorial


Java Terminology      [Top]

This article explains the most common Java terminology.

Read Tutorial


Java Logging API - Tutorial      [Top]

This article describes how to use the Logging API in Java programs. It includes an example for creating a HTML logger.

Read Tutorial


Java Preferences API - Tutorial      [Top]

This article gives a introduction into the Java Preference API to save key/value pairs for an application.

Read Tutorial


Java Regex Tutorial      [Top]

This article gives an overview of the usage of regular expressions in general and describes the usage of regular expressions with Java. It also provides several Java regular expression examples.

Read Tutorial


Java Date, Calendar and Time API - Tutorial      [Top]

This article explains the API for using Calendar, Date and Time in Java and how to format the output of a date.

Read Tutorial


Java and XML - Tutorial      [Top]

This article give an introduction into to XML and its usage with Java. The Java Streaming API for XML (Stax) and the Java XPath library are explained and demonstrated.

Read Tutorial


RSS feeds with Java - Tutorial      [Top]

This tutorial explains how to read and create RSS feeds with Java. It uses the Stax XML writer which is part of Java 6.0. Eclipse is used as the Java IDE.

Read Tutorial


JAXB Tutorial      [Top]

This tutorial give an introduction to Java Architecture for XML Binding (JAXB). This tutorial is based on Java 6.0. This article is based on Java 6.0.

Read Tutorial


JUnit - Tutorial      [Top]

This tutorial explains unit testing with JUnit 4.x. It explains the creation of JUnit tests and how to run them in Eclipse or via own code.

Read Tutorial


Testing with EasyMock - Tutorial      [Top]

This article explains testing with the EasyMock framework within Eclipse. It is based on EasyMock 3.0 but should also work on later versions.

Read Tutorial


FindBugs in Eclipse - Tutorial      [Top]

This article will describe the usage of the Findbugs plugin for Eclipse. Article is based on Eclipse 3.6 (Helios).

Read Tutorial


Checkstyle in Eclipse      [Top]

This article will describe the usage of the Checkstyle plugins for Eclipse.

Read Tutorial


Dependency Injection in Java      [Top]

This article describes the concept of dependency injection from a Java perspective.

Read Tutorial


How to compile OpenJDK on Ubuntu      [Top]

This article describes how to download the source code of OpenJDK and how to compile it. The platform which is used in Ubuntu.

Read Tutorial


Java Serialization      [Top]

This tutorial explains how to use Java Serialization and De-Serialization

Read Tutorial


Creating PDF with Java and iText - Tutorial      [Top]

This article demonstrate how to create PDF files with Java and the iText library. In this tutorial iText version 5.0.x is used

Read Tutorial


The Spring Jdbc Template for database access - Tutorial      [Top]

This article describes the usage of the Spring JDBC Template in a standalone application.

Read Tutorial


Dependency Injection with the Spring Framework - Tutorial      [Top]

This article describes how to use dependency injection with the Spring Framework. It first describes dependency injection as a general principle, gives then an overview of Spring and explains then the configuration of Spring with annotations and with XML.

Read Tutorial


Quick getting started guide for Apache Lucene - Tutorial      [Top]

Apache Lucene provide a full featured search engine which can be easily integrated into own Java implementations. This article explains how to run pre-delivered Lucene Examples and gives a short explaination of the used objects.

Read Tutorial


Excel and Java - Read and Write Excel with Java      [Top]

This article demonstrate how to create and how to read Excel files with the Java Excel API.

Read Tutorial


JFreeChart - Tutorial      [Top]

This article describes the usage of the Java library JFreeChart. As example we create a pie chart.

Read Tutorial


JPA 2.0 with EclipseLink - Tutorial      [Top]

This tutorial explains how to use EclipseLink, the reference implementation for the Java Persistence API (JPA). The usage of EclipseLink is demonstrated for stand-aloneJava applications (outside the Java EE environment). The EclipseLink 2.3.X implementation was used for this tutorial.

Read Tutorial


MySQL and Java JDBC - Tutorial      [Top]

This article describes how to use Java JDBC to connect to MySQL and perform SQL queries, database inserts and deletes.

Read Tutorial


Java Concurrency / Multithreading - Tutorial      [Top]

This article describes how to do concurrent programming with Java. It covers the concepts of parallel programming, immutability, threads, the executor framework (thread pools), futures, callables and the fork-join framework.

Read Tutorial


Java Performance - Memory and Runtime Analysis - Tutorial      [Top]

This article will be a collection of Java performance measurement pointer. It describes how memory works in general and how Java use the heap and the stack. The article describes how to set the available memory for Java. It discusses then how to get the runtime and the memory consumption of a Java application.

Read Tutorial


Design Patterns in Java      [Top]

Design Patterns are best practices how to solve common know problems. This article will give an overview of best practices in object-orientated programming and has pointers to some design-pattern tutorials.

Read Tutorial


Design Patterns in Java - Singleton      [Top]

This article describes the Design Pattern "Singleton" and its usage in the programming language Java.

Read Tutorial


Observer Design Pattern in Java      [Top]

This article describes the Design Pattern "Observer" and its usage in the programming language Java.

Read Tutorial


Java and SAP - Java Connector (JCo) Tutorial      [Top]

This article demonstrate how to connect Java to SAP using the SAP Java Connector (JCo). It is based on SAP JCo 3.0.4 and Java 1.6. The development environment is Eclipse 3.6 (Helios).

Read Tutorial