Java Tutorial

JavaPapers is a Java tutorial and blog passionately published by Joe. JavaPapers has completed seven years and served millions of views to the Java community. It is one of the most popular Java blog with a vibrant community support. Articles and tutorials published are of Java, Android, design patterns, web services, Spring framework, Servlets and Jsp technologies.

JavaPapers stands out from the crowd by providing in-depth tutorials at the same time keeping it simple. It helps to refresh your Java knowledge, keep updated with latest Java news, prepare for Java interviews, and Java certifications. Welcome!

Recent Tutorials

Spring 4.x Features

Spring 4.0 was released in December 2013 and developers are migrating to it gradually. New Java projects are recommended to adopt it directly. It was one of the major version release for Spring framework. Major features on Spring 4 is the complete support for Java SE 8 and Groovy. Following are the Spring 4.x features […]
This tutorial was added to Spring.

Android SearchView Action Bar Tutorial

This Android tutorial is to learn about using a SearchView in action bar of an Android app. There are two main things that I will handle in this tutorial. Incorporating a Search component in the Android action bar is a common use which we come quite often. This example Android application accompanying this tutorial can […]
This tutorial was added to Android.

Java Integer Cache

This Java article is to introduce and discuss about Integer Cache. This is a feature introduced in Java 5 to save memory and improve the performance. Let us first have a look at a sample code which uses Integers and showcases the Integer Cache behavior. From there lets study how and why it is implemented. […]
This tutorial was added to Java.

Android Location Tracker with Google Maps

This Android tutorial will walk you through to create a location tracker using Android location API and Google maps services. This deals mainly with two areas, using the location API to continuously get the user location and then showing that lat-long position in the Google maps. Refer the Android location using fused provider tutorial to […]
This tutorial was added to Android.

Java JSON Conversion Tutorial

This is a beginner level tutorial on using the Jackson JSON API to convert between Java objects and JSON data. We have been seeing a RESTful services tutorial series in the recent past. I will be using JSON conversion in RESTful services in the coming weeks. This JSON tutorial is to help started with it. […]
This tutorial was added to Java.

Beautiful Android Login Screen Design Tutorial

Aesthetics is critical in mobile world. Beautiful functional design is key to success of a mobile application. In this Android tutorial, let us work on designing a clean and lovable login screen for an Android app. This is a repeated task and every Android developer will come have across this, if not sooner. In this […]
This tutorial was added to Android.

Android SMS App Tutorial

In this Android tutorial, I will walk you through to create an Android SMS application. We will be using a BroadcaseReceiver to receive the SMS message and notify the user. To send SMS we will use the SmsManager class of the telephony package. We have already seen about sending and receiving SMS in separate tutorials. […]
This tutorial was added to Android.

Intercept JAX-RS Request with Jersey ContainerRequestFilter

In this RESTful services tutorial series, we will see about how to intercept a request in JAX-RS restful web service. JAX-RS specification is the Java API for RESTful web services and Jersey is its reference implementation. In the previous tutorial we saw about doing authentication in REST with plain servlet filters. In this tutorial lets […]
This tutorial was added to Web Service.

RESTful Services HTTP basic Authentication

In this RESTful services tutorial, we will see about how to do HTTP basic authentication. There are many ways to implement authentication in RESTful web services. HTTP basic authentication is the first step in learning security. In this tutorial, I have not used any Jersey specific interceptors and we will see about them in future […]
This tutorial was added to Web Service.

RESTful Services CRUD with Java JAX-RS Jersey

REST stands for Representational State Transfer and  it’s an architecture style for for creating network based applications. In my previous tutorial, we saw about a creating a hello world application on RESTful web services using Java JAX-RS in Jersey. JAX-RS is the Java API specification and Jersey is its reference implementation. This tutorial is a […]
This tutorial was added to Web Service.

↑ Go to top