Java Tutorials and Insights

Read the latest Java tutorials, insights, and posts from top Java experts. Become a better Java developer today, for free.

GET STARTED

Java tutorials, posts, and more

Design Patterns: Decorator Pattern

Intro to the object oriented design pattern called Decorator Pattern.
Design Patterns: Decorator Pattern

Make a break and continue if you return

Why you should have only one return in your method.

Android: Kotlin Vs Java by Example (Part 1, Simple Hello world)

Overview of using kotlin to develop android application by example and comparison with java
Android: Kotlin Vs Java by Example (Part 1, Simple Hello world)

Java Algorithm Code Challenge: The Sum of N Integers

A java challenge that incorporates for loops and user input via the Scanner class.
Java Algorithm Code Challenge: The Sum of N Integers

Android kotlin: How to (part 1 Class differences)

* * * ![](https://cdn-images-1.medium.com/max/800/1*L-T2nl9_CPbxc4JlWw_BKQ.png) So recently Google decided to support Kotlin as a secondary language in developing android apps. Though a lot of peopl...

Real-time Notifications: Build a Firebase App-to-App Notification System

Make an app-to-app notification using Firebase without implementing a server backend.
Real-time Notifications: Build a Firebase App-to-App Notification System

Java 8 Method Reference: How to Use it

Time to understand Java 8 method reference and how to actually use it. We'll use easy examples to learn more about this topic.
Java 8 Method Reference: How to Use it

Setup & Configure Jenkins for Your Team

Nowadays continuous integration is an important part of the agile software development life-cycle. Here's a quick-start guide for setting up and configuring Jenkins on a Unix system.
Setup & Configure Jenkins for Your Team

How to build a symbol solver for Java, in Clojure

Want to build solutions incrementally? Learn to build a symbol solver for Java, in Clojure!

Java Tips & Tricks: Disabling Content Caching with Spring

Ever tried checking your developed web application by pressing the back button of your browser and wondered why your web app doesn't redirect you to your after-logged-in-page? You can easily solve this problem with a little Java Trick! Learn how to disable content caching with Spring.

String Concatenation in JAVA

Let's say you have 1000 numbers and you want to concatenate all of them to a String. The Naive approach is using a concatenate operator (+)........
String Concatenation in JAVA

Design Patterns: Observer Pattern

Quick introduction to the Observer Design pattern for Object Oriented Design :-)
Design Patterns: Observer Pattern

How to give variables short and clear names

**Introduction** One of the most ingenious work of Google was to do the code review strictly. Every line of code is required to pass two checks before publishing it. 1. Make sure the code works w...
How to give variables short and clear names

Enums in Java – Exploring the Basics

Explore the basics of Enum by creating a traffic light application and restricting the input to one of the three colors: red, green, and yellow
Enums in Java – Exploring the Basics

Hybrid Cryptography: Off-The-Record Framework

Learn how to use OTR framework to enhance information privacy.
Hybrid Cryptography: Off-The-Record Framework

The JSR 203 file attribute API

Get quick guidelines on using the JSR 203 file attribute API. Though seldomly used, it is however much more powerful than java.io.File. Come and try it yourself!

Android UI Tutorial: Layouts and Animations

This tutorial is aimed at the procedure of using layouts to present animations. The goal is to give you an impression of how it feels like to build a UI for Android from start to end.
Android UI Tutorial: Layouts and Animations

Beginner's Guide to Android's Transition Framework

This article will introduce you to Android's Transition Framework and how to make simple animations with it.
Beginner's Guide to Android's Transition Framework

Java Tips & Tricks: Building OSGi WABs with Gradle

You might spend a few hours researching different ideas on how to build OSGi WABs (OSGi-fied WAR archive for deployment web applications in OSGi containers). Here’s the solution that works for the author so far.

Validating Models and User Inputs in Java

This Java tutorial will teach you how to create model validations in Java.
Validating Models and User Inputs in Java

Get curated posts in your inbox

Read more posts to become a better developer

YOU MAY ALSO BE INTERESTED IN

Share ideas
with an editor
built for developers

LEARN MORE