Java Tutorial

JavaPapers is a java tutorial site passionately maintained by Joe. Tutorials written are of Java, Servlets, Jsp, Spring framework, Android and design patterns. JavaPapers stands out from the crowd by providing in-depth tutorial on each topic at the same time keeping it simple. This helps to refresh your Java knowledge, keep updated with latest Java news, prepare for Java interview, and Java certifications. Welcome!

Recent Tutorials

Java Garbage Collection Monitoring and Analysis

19/10/2014
In this Java garbage collection tutorial series let us look about the tools available for garbage collection monitoring and analysis. Then use a tool and monitor an example Java application for garbage collection process. If you are a beginner it is better for you to go through this series of tutorials. You can start with […]
This tutorial was added to Java.

Android Get Address with Street Name, City for Location with Geocoding

16/10/2014
In this Android tutorial, I will walk you through how to find the address based on the mobile location. We have got GPS or network provider in the Android device and we can use that to get the current location in terms of latitude and longitude. Using the latitude and longitude we can get the […]
This tutorial was added to Android.

Types of Java Garbage Collectors

12/10/2014
In this tutorial we will go through the various type of Java garbage collectors available. Garbage collection is an automatic process in Java which relieves the programmer of object memory allocation and de-allocation chores. This is the third part in the garbage collection tutorial series. In the previous part 2 we saw about how garbage […]
This tutorial was added to Java.

How Java Garbage Collection Works?

12/10/2014
This tutorial is to understand the basics of Java garbage collection and how it works. This is the second part in the garbage collection tutorial series. Hope you have read  introduction to Java garbage collection, which is the first part. Java garbage collection is an automatic process to manage the runtime memory used by programs. […]
This tutorial was added to Java.

Java Garbage Collection Introduction

12/10/2014
In Java, allocation and de-allocation of memory space for objects are done by the garbage collection process in an automated way by the JVM. Unlike C language the developers need not write code for garbage collection in Java. This is one among the many features that made Java popular and helps programmers write better Java […]
This tutorial was added to Java.

Getting Started With Hibernate

08/10/2014
This Hibernate tutorial is part of the “Hibernate Introduction” series.  This will help to setup a simple Java project that uses Hibernate ORM and a database to demonstrate insertion of a record. Consider it as a “Hello World” program for Hibernate. Following are the steps, Setup the Hibernate development environment by referring this previous tutorial. […]
This tutorial was added to Hibernate.

Hibernate Configuration And SessionFactory Instantiation

08/10/2014
This Hiberate tutorial is part of the Hiberate introduction series. We will see how to configure the Hiberate options and instantiate SessionFactory. Hibernate provides different options to create a SessionFactory instance; SessionFactory is used for creating multiple lightweight instances of Session object, which in turn enables database operations. We need not worry about the performance […]
This tutorial was added to Hibernate.

Hibernate Development Environment with Eclipse and Maven

08/10/2014
This tutorial is part of the Hibernate introduction series. This is to help setup and getting started with Hibernate. Needless to say, we need JDK. Our choice of IDE is Eclipse, build tool is Maven. You can do with Netbeans or any other editor. ANT or any other build tool is also fine. Tools used […]
This tutorial was added to Hibernate.

Java SynchronousQueue

05/10/2014
This Java tutorial is to learn about the concurrent collection SynchronousQueue. It is an implementation of BlockingQueue. Among all Java concurrent collections, SynchronousQueue is different. Capacity of a synchrounous queue is always zero. It is because in SynchronousQueue an insert will wait for a remove operation by another thread and vice versa. put() call to […]
This tutorial was added to Java.

Java PriorityBlockingQueue

05/10/2014
Java PriorityBlockingQueue is a concurrent collection and an implementation of BlockingQueue. PriorityBlockingQueue is an unbounded collection. Ordering of elements in the PriorityBlockingQueue is done same as in PriorityQueue. We should see PriorityBlockingQueue as a PriorityQueue with added operations for blocking retrieval. All the rules of PriorityQueue applies here like elements are ordered based on their […]
This tutorial was added to Java.

↑ Go to top