This article explains the Java programming language, create a few small programs, discuss Java design principles and describes a few common solutions to commons problems. It also contains "Cheat Sheets" with examples for standard tasks during programming.
This article contains lots of exercises. The solutions for these exercises are available under http://www.vogella.de/code.html .
This article does not cover the installation of the Java Development Kit (JDK).
Browse Document View Document (complete)This article gives an overview of Java and JVM related podcasts. Currently the list is short but I hope to grow it over time.
Browse Document View Document (complete)This article describes how to use the Logging API in Java programs. It includes an example for creating a HTML logger.
Browse Document View Document (complete)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.
Browse Document View Document (complete)This article gives a introduction into the Java Preference API which is available since Java 1.4. The Java Preferences API provides a systematic way to handle user and system preference and configuration data, e.g. to save user settings, remember the last value of a field etc. Information saves with the Java Preference API is stored on the local machine of the user and is available to be re-used in the program, e.g. after a restart of the program.
This Java Preferences API is not indented to save application data.
The Java Preference API removes the burden from the individual programmer to write code to save configuration values on the different platforms his program may be running.
Browse Document View Document (complete)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.
Browse Document View Document (complete)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.
Browse Document View Document (complete)This article explains the API for using Calendar, Date and Time in Java and how to format the output of a date.
Browse Document View Document (complete)This article describes the general concept of dependency injection. It gives then pointer how dependency injection can be used in Java.
Browse Document View Document (complete)This article give an introduction to XML and its usage with Java. The Java Streaming API for XML (Stax), JAXB 2 and the Java XPath library are explained and demonstrated.
This article is based on Java 6.0.
Browse Document View Document (complete)This article explains how to read and create RSS feeds with Java.
This article uses the Stax XML writer which is part of Java 6.0. Eclipse is used as the Java IDE.
Browse Document View Document (complete)This article explains unit testing with JUnit 4.x.
Browse Document View Document (complete)This article explains testing with the Easymock framework within Eclipse.
Browse Document View Document (complete)This article will describe the usage of the Findbugs plugin for Eclipse. Article is based on Eclipse 3.6 (Helios).
Browse Document View Document (complete)This article will describe the usage of the Checkstyle plugins for Eclipse.
Browse Document View Document (complete)This article demonstrate how to create PDF files with Java and the iText library. The creation of sections, standard text, lists and tables is demonstrated.
Browse Document View Document (complete)This article describes the usage of the Spring JDBC Template in a standalone application.
Browse Document View Document (complete)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.
Browse Document View Document (complete)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.
Browse Document View Document (complete)This article demonstrate how to create and how to read Excel files with the Java Excel API. Please note that this Java Excel API is hosted and developed on sourceforge and therefore not part of the standard Java distribution.
Browse Document View Document (complete)This article describes the usage of the Java library JFreeChart.
As example we create a pie chart.
Browse Document View Document (complete)This article 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).
Browse Document View Document (complete)This article describes how to use Java JDBC to connect to MySQL and perform SQL queries, database inserts and deletes.
Browse Document View Document (complete)Design Patterns are best practices how to solve common know problems. Since the publication of the book "Design Patterns" from the so-called Gang-of-Four (GOF) this topic did increase in popularity. This article will try to summarize same of these patterns and describes its application from the Java perspective.
Browse Document View Document (complete)This article describes the Design Pattern "Singleton" and its usage in the programming language Java.
Browse Document View Document (complete)This article describes the Design Pattern "Observer" and its usage in the programming language Java.
Browse Document View Document (complete)The articles describes how to use available services to perform geocoding. Geocoding means that you find the geocoordinates (latitude, longitude) for an address.
Currently this article describes the geocoding service from Yahoo.
Browse Document View Document (complete)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).
Browse Document View Document (complete)This article describes how to download the source code of OpenJDK and how to compile it. The platform which is used in Ubuntu.
Browse Document View Document (complete)This article describes how to use Apache Hadoop.
Browse Document View Document (complete)