Click here to Skip to main content
15,881,204 members
Everything / Programming Languages / Java

Java

Java

Great Reads

by ridoy
A brief explanation of application development for Android Wear, helpful for every beginner and intermediate android developer.
by raddevus
Steps for building a device you can add to your existing garage door, which implements an atmega328, bluetooth (hc-05) and relay module which will allow you to open your garage door from any paired Android device.
by Arthur V. Ratz
In this article, we will discuss about the advanced Android application development based on the example of creating a responsive Airport schedule simulator application.
by Afzaal Ahmad Zeeshan
This post attempts to describe the general difference between overloading and overriding in Object-oriented programming languages.

Latest Articles

by Oliver Li 2024
Java Code Change Impact Analysis
by Yochai Timmer
A way to avoid JNI's reflection oriented programming. Wrapping Java with C++
by JudyL_MD
Code sample for passing encrypted compressed data between Windows and Android
by Han Bo Sun
This is a more in-depth tutorial on integrating Lucene search and index engine in Java applications.

All Articles

Sort by Score

Java 

4 Sep 2015 by Afzaal Ahmad Zeeshan
This post attempts to describe the general difference between overloading and overriding in Object-oriented programming languages.
26 Oct 2020 by Matteo Prosperi
In this article, we investigate how DateTime issues are avoided.
24 Aug 2016 by Isaac RF
To create visually engaging apps, displaying images is a must. Learn to display Bitmaps Efficiently on your Android apps, without giving away performance. The post Displaying Bitmaps Efficiently on Android apps appeared first on Isaac RF.
7 Apr 2017 by Rion Williams
Here are some "secret" productivity tips for Visual Studio 2017
3 Jan 2019 by Ryan Peden
How JavaScript arrays work under the hood
19 Apr 2011 by Austin Rasmussen
Continued from: Android Lists: ListActivity and ListView I.
18 Oct 2012 by Serge Desmedt
Touch handling in Android.
28 Jun 2013 by Zac Gery
In the world of enterprise development, interacting with a database can become a daily occurrence.
19 Feb 2015 by Right Handed Monkey
This post explains how to use the WorxForUs Network framework to have an Android app that works robustly even in areas that have poor network connectivity.
7 Oct 2015 by Val Okafor
This post is a step by step tutorial on how to add data persistence to the Android Notepad app we create in the last post.   You are highly encouraged to read the last posts to get the most out of this tutorial especially if you are new to Android development. 
12 Feb 2016 by arjunaraneta
Tools for Programming Java (Part 1) – Java IDE (Integrated Development Programming) Software Tools
7 Apr 2016 by Grzegorz @ tidyjava.com
Beginner guide to using the power of Dependency Inversion with examples in Java. Covers dependency injection, using abstractions and adapter pattern.
2 Jun 2011 by AshwinRayaprolu
Includes sample code that can connect to the GoogleTalk server and get a list of all your friends
4 Aug 2014 by Vidyasagar Machupalli
“Premature optimization is the root of all evil.” ― Donald Ervin Knuth, Art of Computer Programming, Volume 1: Fundamental Algorithms Optimization is a term which is familiar to any developer.
11 Feb 2015 by mrcellux
Find the first spaghetti
17 Mar 2015 by Ivan Korhner
Java: A Memory Leak Caused by Dynamic Creation of log4j Loggers
15 May 2015 by Val Okafor
You are ready to build your first Android app,  well good luck and welcome  aboard an exciting journey. My first Android app took me a year to build because of the complexities of porting a legacy desktop application to mobile app and dealing with constantly changing business requirements.
14 Apr 2016 by Grzegorz @ tidyjava.com
Tidy guide on how to create a Living Documentation in your (not only) Java projects.
25 Apr 2016 by Grzegorz @ tidyjava.com
List of practices to work effectively on Spring applications. This part focuses on starting a new Spring project.
30 Nov 2016 by Vidyasagar Machupalli
WatBot: An Android ChatBot powered by IBM Watson
16 Sep 2009 by Mohamed M. Shaheen
JBoss ejb3 session bean standalone client
21 Jul 2011 by David Truxall
A .NET developer's journey into Java
13 Apr 2012 by li9705
Can we write programs in Android with other languages? The answer is yes.
21 Dec 2017 by rtybase
An use case for ConcurrentHashMap
29 Jan 2013 by ludovicianul
The most used tools for Java projects.
25 Mar 2013 by Arpit Mandliya
Template method design pattern in Java.
4 Jul 2013 by TechMyTalk
How to build RESTful web services using the Grails framework.
14 Aug 2014 by TheCannyCoder
Reductions and Short-Circuiting Operations
31 Aug 2014 by TheCannyCoder
Parallel Streams and Spliterators
17 Sep 2014 by Keyhole Software
How to process Java annotations using Reflection
1 Feb 2015 by Gjermund Bjaanes
Get list of folders in Java
9 Feb 2015 by Ivan Korhner
How to detect Java deadlocks programmatically
1 Aug 2015 by Seb Carss
Reasons to use interfaces over extension when testing
4 Nov 2015 by Val Okafor
This blog post is part two of my Android Drawing App tutorials. It is strongly encouraged that you finish part one of this tutorial before proceeding with this one.
20 Apr 2016 by Val Okafor
Learn Android Dependency injection with Dagger 2
28 Apr 2016 by Grzegorz @ tidyjava.com
List of practices to work effectively on Spring applications. This part focuses on effective handling of configuration properties.
17 Jul 2016 by Andy Point
Firebase Android Tutorial : Adding Registration and Login Hello Developers, this is our android firebase tutorial. In this tutorial we will create an android firebase app that will use firebase android login functionality. This post will help you get you up and running with integrating Firebase to a
17 Jul 2016 by Andy Point
Android Download Manager Tutorial: How to download files using Download Manager from the Internet
25 Sep 2017 by IAmJoshChang
How to center text in Libgdx
9 Oct 2017 by Right Handed Monkey
How to programmatically register system broadcast receiver at runtime in Android
24 Oct 2017 by Sacha Barber
How to get the 'create job' to work end-end
25 Mar 2019 by James A. Brannan
In this tutorial, we secure a simple Rest API. We begin with a simple example, progress to using a custom UserDetailsService, and finish by adding method level security.
25 Mar 2019 by James A. Brannan
In this tutorial, we create a simple Rest application using POST.
26 Mar 2019 by James A. Brannan
How to convert a List of Strings to a List of Integers using the MapReduce programming paradigm
21 Jul 2021 by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
8 Feb 2023 by Divya Ulasala
Convert Instant to LocalDateTime/LocalDate/LocalTime
12 Feb 2023 by Divya Ulasala
Examining the differences between java.util.Random, java.security.SecureRandom, and java.util.concurrent.ThreadLocalRandom to generate random numbers
31 Oct 2023 by ToughDev
Create custom nanorc file for JSP in nano to enhance syntax highlighting and readability, along with basic autocomplete
1 Apr 2013 by hoonzis
How to extend the detail page of a company by adding a list of products of the company and a drop down list box, which will allow a user to add a new product to the list of the products of the company.
19 May 2012 by hoonzis
This is a short post describing how to implement a simple tool to manage CORBA Naming Service.
6 Jan 2011 by Bikash Shaw
Apache Commons EqualsBuilder and HashCodeBuilder
8 Jun 2011 by AshwinRayaprolu
PDF Generation Using Templates and OpenOffice and Itext in Java
10 Aug 2011 by Marek Piechut
Web Services in Ruby, Python and Java
10 Aug 2011 by Marek Piechut
How to do J2EE JDBC based authentication with JPA Entities in Glassfish
10 Aug 2011 by Marek Piechut
WatchService allows us to listen to changes in a directory without any pooling.
24 Aug 2011 by pinaldave
SQL SERVER – Tips from the SQL Joes 2 Pros Development Series
17 Oct 2011 by li9705
Multi-Language Programming : Entity Object Inheritance and Function Overloading
16 Apr 2012 by Sebastian Krysmanski
This article will show some basic examples of how to call a method of a Java class from Mono for Android.
25 May 2012 by TheDhruv
How to get started with ForkJoinPool - Map and Reduce of Java
23 Jul 2012 by loki2302
Liskov substitution principle (LSP)
23 Aug 2012 by Keyhole Software
Component based Java frameworks.
23 Aug 2012 by Keyhole Software
This is part 1 of how to get started with Spring Batch
29 Nov 2012 by Serge Desmedt
2D Drawing in Android
13 Sep 2013 by Pragmateek
This article describes the general principles, without diving too deeply into technical details that would be specific to a given platform.
5 Nov 2013 by Sam Varadarajan
Java stored procedures
11 May 2014 by Debopam Pal
How to get detailed IP address information of any Java client
6 Jul 2014 by TheCannyCoder
Today we'll look at creating generators. In simple terms, a generator is a function which returns the next value in a sequence. Unlike an iterator, it generates the next value when needed, rather than returning the next item of a pre-generated collection. Some languages such as Python support
12 Jul 2014 by TheCannyCoder
Finite sequence generators in Java 8
18 Jul 2014 by TheCannyCoder
Finite Sequence Generators in Java 8 – Part 2
21 Jul 2014 by Keyhole Software
How to create your own Java annotations
22 Jul 2014 by Keyhole Software
My move from ColdFusion to Java development
25 Jul 2014 by Keyhole Software
The journey from Java EE to SPA
4 Aug 2014 by TheCannyCoder
For those who have been programming Java or C/C++ for any period of time will know one of the most annoying things is trying to debug a crash due accessing a null object.
18 Aug 2014 by Seb Carss
How to break dependencies to test code in Java: Irritating Parameter
13 Oct 2014 by Keyhole Software
Java and the sweet science
29 Nov 2014 by Mohamed Taman
Cleaner, readable, and powerful coding with lambda expressions.....In this article of the “Java SE 8 new features tour” series, we will deep dig into explanation, and exploring the code, on how to traverse the collections using lambda expression and with method references, filtering them with p
20 Jan 2015 by mrcellux
Duck typing in Java
25 Jan 2015 by Ivan Korhner
Java: Java Multithreading Made Easy - Expensive Object Pool
25 Jun 2015 by Bobby Lough
Mutation Testing is amazing. Start doing it with PIT to test your tests. The cost of poor quality is too great to ignore.
5 Jul 2015 by Andrey Moskvichev
This is an efficient way to make button color change on Android
13 Jul 2015 by Val Okafor
In app purchase is one of the main monetization options for Android apps. Android in app purchase combines what used to be the “free” version and “paid” version together.
21 Jul 2015 by Member 11794279
Better Java Hot Code Replace at no cost
4 Aug 2015 by Val Okafor
Top Android App Review Sites
19 Nov 2015 by Val Okafor
This post is a step by step tutorial on how to add data persistence to the Android Notepad app we create in the last post.   You are highly encouraged to read the last posts to get the most out of this tutorial especially if you are new to Android development.
29 Aug 2016 by Andy Point
Android Firebase Cloud Messaging Tutorial Hello Developers, We are back with a new android firebase tutorial. This time we will discuss about Firebase Cloud Messaging (FCM). We will be using Firebase to add cloud messaging in android app. What is Firebase Cloud Messaging? Firebase Cloud Messaging is
25 Sep 2017 by IAmJoshChang
How to create a default skin to use in Scene2D for Libgdx
11 Oct 2017 by Roman Nazarenko
Spring Context Internals: Bean sources
5 Dec 2019 by 10xlearner
A post on how to format CPP, C, JavaScript and other stuff
4 Jul 2020 by CodingKnight
While you don’t need to know about the details of Bytecode and JVMs to qualify as a Java programmer, such knowledge is still very beneficial.
17 Oct 2022 by Cindy Potvin
At the end of my last article, I left you hanging after describing activities, without telling you how to build a UI, so here we go.
16 Jan 2023 by Divya Ulasala
HashMap computeIfAbsent() in Java 8
6 Apr 2020 by James A. Brannan
Introduction AWS SQS Message Queues are a way to exchange messages between applications. Senders, send data objects to a queue and receivers, receive objects from a queue.
17 Jun 2019 by James A. Brannan
Exploring the AWS Key Management System (KMS) to encrypt and decrypt data via the AWS Java 2 SDK
17 Apr 2009 by Matt Stine
Deploying Grails with Groovy
4 Jan 2010 by hjgode
iTextSharp ported to Compact Framework
6 Feb 2010 by Andriy Buday
Builder GoF Design patter with Java. Build your laptop example.
5 Sep 2010 by Mark Vinod Sinnathamby
How to serialize Java objects to XML and back
6 Jan 2011 by Bikash Shaw
An Introduction to Bitronix JTA Transaction Manager with MySQL
27 May 2011 by AshwinRayaprolu
How to capture picture on Webpage with Java Backend
13 Aug 2011 by Marek Piechut
Log4j logger.error(Object) trap