Java Tutorial Blog

JavaPapers is a Java blog and tutorials site passionately published by Joe. It has completed seven years, served millions of views and is one of the most popular Java blog in Java community. Articles and tutorials published are of Java, Android, design patterns, web services, Spring framework, Servlets and JSP technologies. JavaPapers helps to refresh your Java knowledge, keep updated with latest news, prepare for Java interviews and certifications. Welcome!

Recent Tutorials

Android Studio Git Tutorial

This tutorial is to explain how to use Git version control with Android Studio. Git is a free distributed version control system. If you are not using version control for software development, I urge you to start learning and using it. Git is a good choice from among the list of version control software like […]
Published to Android Tutorials on 01/07/2015.

Java NIO TFTP Client

In this tutorial, I will walk you through writing a TFTP client using Java NIO. This is part of the Java NIO tutorials series. This tutorial will help you understand DatagramChannel, Selector, Path, Paths and Files Java NIO classes. Trivial File Transfer Protocol (TFTP) Here I will give you a quick summary about TFTP protocol. […]
Published to Java Tutorials on 28/06/2015.

Spring SpEL Ternary Operator

This Spring tutorial is to explain the ternary operator available in Spring expression language SpEL and learn how to use it by an example Spring application. In Spring 3.0, SpEL introduced a ternary operator to code “If-Then-Else” type conditional checking in Spring expressions. Spring expression language is used to query and manipulate object graph at […]
Published to Spring Tutorials on 21/06/2015.

@Profile Annotation Improvements in Spring 4

As part of Spring 4 features, we are going to see about the updates to “@Profile Annotation” with some suitable and simple real time examples. This Spring tutorial has the following topics, Introduction to @Profile annotation Prerequisites Spring 3.1/3.2 Profiles @Profile Annotation Spring 3.1 introduced the annotation @Profile. Profile annotation is a logical grouping that […]
Published to Spring Tutorials on 21/06/2015.

Java Bloggers Meet to Celebrate 20th Java Birthday, Hosted by Oracle

This is about an event hosted by Oracle, India at Hyderabad for Java bloggers to celebrate Java’s 20th birthday. It was an exclusive event for a small group of people, less than fifteen participants and happened on 13 June, 2015, couple of days back. Event was organized by Oracle India at its office in Hyderabad. […]
Published to Java Tutorials on 15/06/2015.

Android Image Slider Tutorial

In this Android tutorial is I will walk you through to create a minimal image slider. What prompted me to write this tutorial is, when I did a recce on this topic on various tutorial sites all I found is complicated, elongated bunch of crap. Creating a image slider in an Android application is a […]
Published to Android Tutorials on 11/06/2015.

Glob with Java NIO

What is a Glob? In this Java NIO tutorial, we will go through what a glob is and how to use it with Java. This tutorial is part of the currently on going Java NIO tutorials series. What is a Glob? In programming, glob is a pattern using wildcards to specify filenames. For example, *.java […]
Published to Java Tutorials on 07/06/2015.

Android JSON Parsing Tutorial

In this Android tutorial, I will walk you through to access a web service end point, parse JSON response and display it in an Android list view. In the last Java tutorial we saw about creating a RESTful web service in Java that produces a JSON response. We will use that service to produce a […]
Published to Android Tutorials on 04/06/2015.

Java RESTful Web Services With JSON and Jersey

This tutorial is part of the ongoing web services tutorial series. We will see about creating a RESTful web service using Jersey to produce JSON response. A RESTful web service can be configured to produce different types of response like XML, JSON, html, plain text and most of the MIME types. This tutorial will walk […]
Published to Java Tutorials on 31/05/2015.

Java File Permissions – Don’t Check Permissions before Use

This tutorial is part of Java NIO tutorial series. In this tutorial, let us get introduced to Files class from java.nio.file package, it offers static methods to operate on files and directories. Let us start our Java files tutorial with permissions. How to check a file if it has a certain permission before operating on […]
Published to Java Tutorials on 25/05/2015.