BASIC / CATATAN</>↗Basic19 Okt 2013
Summary: This tutorial is about Java Development Kit (JDK) Standard Edition installation guide. After reading and executing this tutorial you will be able to install the JDK and setting the basic configuration for running the Java compiler from the command line. You will also learn how to create, compile and run a simple Hello World […]
ZIP AND GZIP / CATATAN</>↗Zip and GZIP27 Sep 2013
In this example you are going to learn how to zip or compress a directory recursively. The zip file format allows us to compress multiple files. We use the java.util.zip.ZipOutputStream to compress the file. Each entry in the zip file is represented by the java.util.zip.ZipEntry class. To compress a directory we must first get all […]
ZIP AND GZIP / CATATAN</>↗Zip and GZIP25 Sep 2013
In the previous example we have learn how to compress a file in GZIP format. To get the file back to its original version we will now learn how to decompress the gzip file. Just like the previous example, we are also going to use the FileInputStream and FileOutputStream class to read the compressed source […]
ZIP AND GZIP / CATATAN</>↗Zip and GZIP25 Sep 2013
In this code example we will learn how to compress a file using the gzip compression. By its nature, gzip can only compress a single file, you can not use it for compressing a directory and all the files in that directory. Classes that you will be using to compress a file in gzip format […]
MAVEN / CATATAN</>↗Maven23 Sep 2013
In this post you will learn how to create a simple project, a Hello World project using Maven. If you haven’t installed Maven in your machine you can read Introduction to Apache Maven posted earlier in this blog. In this post you will see what the basic configuration for creating a maven project. Such as […]
JUNIT / CATATAN</>↗JUnit06 Sep 2013
In this post we will start to learn about JUnit Framework. JUnit is a framework for unit testing Java applications. It was developed by Kent Back and Erich Gamma to help developers to create a better applications. JUnit has become the standard tool used by developers when it comes to unit testing. Every day, when […]