Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / Java

Java

Java

Great Reads

by Jitendra_Jain04
IBM WebSphere Application Server V8.5 Liberty profile is a flexible and dynamic server profile of WAS which enables the WAS server to deploy only required custom features instead of deploying a big set of available JEE components.
by Rion Williams
Here are some "secret" productivity tips for Visual Studio 2017
by Prilvesh K
(Wildcard entry)Android Text to speech synthesis with Listview arrays with toast
by Matteo Prosperi
In this article, we investigate how DateTime issues are avoided.

Latest Articles

by Jitendra_Jain04
IBM WebSphere Application Server V8.5 Liberty profile is a flexible and dynamic server profile of WAS which enables the WAS server to deploy only required custom features instead of deploying a big set of available JEE components.
by Rion Williams
Here are some "secret" productivity tips for Visual Studio 2017
by Prilvesh K
(Wildcard entry)Android Text to speech synthesis with Listview arrays with toast
by Matteo Prosperi
In this article, we investigate how DateTime issues are avoided.

All Articles

Sort by Score

Java 

by Rion Williams
Here are some "secret" productivity tips for Visual Studio 2017
by Matteo Prosperi
In this article, we investigate how DateTime issues are avoided.
by morzel
This is the fifth post in my little "Out of Boredom" series dedicated to hobby projects with Arduino.
by Bobby Lough
Listed here are 13 steps to make TDD actually work
by Lee P Richardson
A list of 24 Resharper tips
by Trần_Tuấn_Anh
Master the this Keyword in Java is a comprehensive guide designed to help you fully understand and effectively use the this keyword in your Java programming. Explore its various applications, from referencing instance variables to calling constructors and improving code readability.
by Trần_Tuấn_Anh
String concatenation is a fundamental operation in Java programming. Whether you’re building complex logic, formatting output, or generating dynamic content, knowing the best methods to concatenate strings efficiently can make a significant difference in performance and readability.
by David Truxall
A .NET developer's journey into Java
by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
by rtybase
There is one ambiguous moment in the Java documentation of the compute() method from the ConcurrentHashMap class.
by Keyhole Software
A library that would give a human-readable file size if I were to give it a file length.
by Florian Lopes
This post explains how to restrict access to an area, based on active Spring profile.
by Arpit Mandliya
CodeProjectReal life example: A very simple example is using phone charger.
by Andy Point
Integrating Facebook Login to Android Application. Now a days almost every web and mobile app provides an option to Login with Facebook. This is because most of the people have a facebook account and facebook has provide an easy to integrate SDK to add Facebook Login to your mobile app.
by Andy Point
Today Almost all web and mobile apps come with Google and Facebook Login, This is a really useful feature for both the app developer and the user, since almost everybody tend to have a google/gmail and facebook account and moreover while logging in with google you don’t need to remember your UserId
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.
by James A. Brannan
In this tutorial, we explore creating, reading, updating, listing, and deleting objects and buckets stored in S3 storage using the AWS Java SDK 2.0 to access Amazon’s Simple Storage Service (S3).
by Andrey Moskvichev
This is an efficient way to make button color change on Android
by Bikash Shaw
An Introduction to Bitronix JTA Transaction Manager with MySQL
by sayem.bd
This article is the first part of a series of article which will try to explain the basics of design patterns
by sayem.bd
This article is the second part of a series of articles which will try to explain the basics of design patterns.
by Right Handed Monkey
How to programmatically register system broadcast receiver at runtime in Android
by Andy Point
Android CardView Tutorial We have already discussed about RecyclerView in the following tutorial Listing Items using RecyclerView and shown a recyclerview example in android studio. Today we will discuss about CardView in Android SDK which was introduced with the android material design through the
by Right Handed Monkey
Android Database Example and Tutorial (thread safe version)
by Andy Point
Android Download Manager Tutorial: How to download files using Download Manager from the Internet
by Val Okafor
In this blog post, I will show you how to create Android drawing app. This blog post is part one of a two part tutorial series where I will show you how to create simple but delightful Android drawing app.
by Val Okafor
In this blog post, I will show you how to create Android drawing app. This blog post is part one of a two part tutorial series where I will show you how to create simple but delightful Android drawing app.
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.
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
by Andy Point
Android Flash Light Application Tutorial Using Camera2 API
by Andy Point
In this horizontal listview Android example, we will discuss how to create a horizontal listview using RecyclerView.
by Val Okafor
This blog post stems from my recent experience building my soon to be released Invoicing app. I waited until the last minute to integrate PDF hoping that there is a magical boolean I can set to true and voila, my deeply nested view will be converted to PDF.
by Austin Rasmussen
The Android ListActivity makes it simple to display a list of items in your application.
by Austin Rasmussen
Continued from: Android Lists: ListActivity and ListView I.
by hexgear
I this post I will describe how I put together the live wallpaper.
by Andy Point
Android Material Design: Working with Floating Label EditText
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.
by hexgear
In this article, I will share how to parse JSON using JSON-Java in Android, however the snippet is not limited to Android only.
by Andy Point
In this post, we will discuss how to use picasso in Android studio to download images over network by creating a Picasso Android app.
by Andy Point
In this Android Spinner Tutorial, we will learn how to make an Android spinner which will allow us to select an item from a drop down menu in Android.
by Val Okafor
In this post, I will cover the fundamentals of Android SQLite from a beginners perspective. In the next post I will provide a similar introduction to Content Provider and in the last part of the series I will show how to use Android SQLite and Content Provider to build a Note taking app.
by Val Okafor
Android SQLite for beginners
by hjgode
Android: ipPrint4 Print Label/Receipts to IP Printer
by kb-boxer
Sometimes, less syntactic noise is a good feeling for a programmer. I am not doing a language war here. I am just trying to vote for delegates in Java.
by Bikash Shaw
Apache Commons EqualsBuilder and HashCodeBuilder
by Isaac RF
ASO – App Store Optimization for Beginners
by Andrei Ion Rînea
Avoid comparing strings with == in Java
by Rion Williams
How to avoid Kotlin minefields in Apache Beam
by James A. Brannan
Exploring AWS KMS to encrypt and decrypt data via the AWS Java 2 SDK
by James A. Brannan
Exploring the AWS Key Management System (KMS) to encrypt and decrypt data via the AWS Java 2 SDK
by Member 11794279
Better Java Hot Code Replace at no cost
by Andrei Ion Rînea
Beware of primitive wrappers in Java
by Seb Carss
How to break dependencies to test code in Java: Irritating Parameter
by Andriy Buday
Builder GoF Design patter with Java. Build your laptop example.
by Lewis Benge
Building Glassware with the Xamarin Android and Google's GDK
by Keyhole Software
How to build Vagrant Boxes with VeeWee on TravisCI
by Trần_Tuấn_Anh
In Java, constructors are fundamental in creating and initializing objects. However, when it comes to ensuring thread safety during object creation, you might wonder if constructors can be synchronized.
by Trần_Tuấn_Anh
In Java, method overriding is a fundamental concept that allows a subclass to provide a specific implementation of a method already defined in its superclass. However, when it comes to private and static methods, the rules are different.
by AshwinRayaprolu
How to capture picture on Webpage with Java Backend
by Grzegorz @ tidyjava.com
Clojure language introduction for Java (and similar languages) programmers
by ladv02
"Minimum Scalar product" solution in Java.
by ladv02
Store credit solution in Java
by ludovicianul
The most used tools for Java projects.
by TheCannyCoder
Reductions and Short-Circuiting Operations
by TheCannyCoder
Provided Collectors and a Java 8 Streams demonstration
by Afzaal Ahmad Zeeshan
In this article, I cover the most widely faced problems in Xamarin installation and setup for Android application development.
by Keyhole Software
Component based Java frameworks.
by Arpit Mandliya
CodeProjectComposite design patten allows you to have a tree structure and ask each node in the tree structure to perform a task.You can take real life example of a organization.It have general managers and under general managers, there can be managers and  under managers there can be developer
by Trần_Tuấn_Anh
This post discusses the importance of consistency and reliability in message broker systems, looking at acknowledgments, retries, replication, and consensus protocols to handle message delivery and data consistency.
by ludovicianul
Constructors do not get better with age
by Kelum W. Ganegoda
Code to convert/format numeric value to alpha value in M3.
by hoonzis
This is a short post describing how to implement a simple tool to manage CORBA Naming Service.
by Rajeesh.C.V
Android development - Aquarium Live wallpaper
by Val Okafor
Today, I am beginning a four part Android tutorial series where I will provide step by step guide on how to create and publish your first Android app.
by Val Okafor
How to create and publish your first Android app
by Val Okafor
CodeProject This post is part 3 of a three part Android development tutorial series where I provide a walk-through on how to create and publish your first Android app.
by Cindy Potvin
How to create logs in Android applications
by Keyhole Software
How to create your own Java annotations
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.
by loki2302
Depend explicitly, require explicitly, but only require what you really need.
by Matt Stine
Deploying Grails with Groovy
by Andrey Moskvichev
In this article, I'll show you how to detect incoming and outgoing phone calls on the Android platform.
by Arpit Mandliya
Difference between Comparator and Comparable in java
by Divya Ulasala
Examining the differences between java.util.Random, java.security.SecureRandom, and java.util.concurrent.ThreadLocalRandom to generate random numbers
by morzel
Differences in Java and C# - protected
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.
by Keyhole Software
Don't just randomize, truly randomize
by Serge Desmedt
2D Drawing in Android
by mrcellux
Duck typing in Java
by Trần_Tuấn_Anh
Dynamic proxy is a powerful concept in Java and Spring that allows for the creation of proxy objects at runtime rather than compile-time.
by Ali BaderEddin
Implementing a three dimensional array dynamically in C, C++, C# and Java
by Mukit, Ataul
Eccentricity in programming languages
by Issam Lahlali
Emulate the internal keyword in Java
by Minh Danh Nguyen (ToughDev)
Create custom nanorc file for JSP in nano to enhance syntax highlighting and readability, along with basic autocomplete
by Andrei Ion Rînea
A useful feature added in Java 1.5 (also known as J2SE 5.0, 2004) is the enum. This post makes a comparison of Java and .NET enums.
by Trần_Tuấn_Anh
Coding in Java can be a rewarding experience, especially when you follow best practices and leverage the language's full potential. In this article, we'll explore several tips that can enhance your Java programming skills, backed by examples, demos, and results.
by mrcellux
Exception smells
by Issam Lahlali
Many Java static analysis tools exist right there, each one focus on a specific area and has its advantages, we can enumerate: Pmd which is a static rule-set based Java source code analyzer that identifies potential problems like: Possible bugs—Empty try/catch/finally/switch blocks.
by ladv02
Facebook Hacker Cup: "Double squares" solution in Java
by ladv02
"Studious Student" solution in Java.
by rtybase
A short article showing how not to RSA
by rtybase
An use case for ConcurrentHashMap
by Debopam Pal
This example shows how to fill the values in a bean from a HashMap using Reflection.
by Bobby Lough
Find middle of a Linked List in one pass/loop (Pseudo code/Java/JavaScript)
by mrcellux
Find the first spaghetti
by TheCannyCoder
Finite sequence generators in Java 8
by TheCannyCoder
Finite Sequence Generators in Java 8 – Part 2
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
by Val Okafor
This post is a step by step tutorial on how to implement Firebase Authentication in Android.
by Val Okafor
A complete, step by step tutorial on working with Firebase Realtime Database in Android
by Minh Danh Nguyen (ToughDev)
How to fix PDF Export Issues while using a Scriptcase Grid app
by 10xlearner
A post on how to format CPP, C, JavaScript and other stuff
by Cindy Potvin
How to format dates with Java in Android applications
by Dev Leader
Creating a tabbed Android User Interface.
by Grzegorz @ tidyjava.com
Are you using frameworks the right way? Are you using frameworks for business purposes or the other way around? Are your business classes dependent on frameworks?
by Keyhole Software
The String State anti-pattern is the use of a Java String to represent the state of an object.
by Bobby Lough
An coding exercise using Java 8 trying to do the same summation loop multiple ways
by mrcellux
FluentJdbc is a functional, fluent API to execute most common SQL operations an application needs as a single statement.
by Vlad Neculai Vizitiu
Games as a service
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
by Debopam Pal
How to get detailed IP address information of any Java client
by Gjermund Bjaanes
Get list of folders in Java
by TheDhruv
How to get started with ForkJoinPool - Map and Reduce of Java
by ashish__shukla
What is Python? Python is a general purpose,interpreted and high-level programming language.It is object-oriented and dynamically typed programming language.Dynamically typed means that variables are not required to be declared before using them.Instead you directly assign value to a variable.
by Keyhole Software
This is part 2 of how to get started with Spring Batch
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.
by Andy Point
Google Maps Nearby Places API Hello Guys. Hope all of you are doing well. In this tutorial, we will learn how to add the markers on nearby places in Google Maps API using Retrofit . We will name this App as Google Maps Nearby Places API.
by Andy Point
Google Maps Search Nearby In this post we will learn how to find nearby places in Google Maps. We will first see how to get current location of user and then will add marker on nearby places like Restaurants, Hospitals, Schools etc. You can see demo of this post (Google Maps Search Nearby) in above
by Sam Varadarajan
Java concatenation
by Andy Feng
This article introduces how to use Selenium WebDriver to simulate browser operations such as load a page, manipulate DOM, extract data and provides ready-to-go sample code in Java and C#.
by Keyhole Software
Gradle: Do we need another build tool?
by TechMyTalk
How to build RESTful web services using the Grails framework.
by Trần_Tuấn_Anh
In modern Java applications, handling concurrent tasks efficiently is crucial for performance and responsiveness. CompletableFuture, introduced in Java 8, provides a powerful and flexible way to manage asynchronous operations.
by Ryan Peden
How JavaScript arrays work under the hood
by Pragmateek
This article will give you more concrete information, mainly source code, if you need to implement a web API binding in Java.
by Pragmateek
This article describes the general principles, without diving too deeply into technical details that would be specific to a given platform.
by IAmJoshChang
How to center text in Libgdx
by Bhargav Kaneria
How to check if a string has all unique characters
by Divya Ulasala
Convert Instant to LocalDateTime/LocalDate/LocalTime
by IAmJoshChang
How to create a default skin to use in Scene2D for Libgdx
by Val Okafor
This post is part one of two part blog posts where I will provide a step by step tutorial on how to create an Android Notepad App. These two posts are the completion of my post on Android SQLite and Content Provider. If  you have not read those two posts, you may want to do […]
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.
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.
by Mohamed M. Shaheen
JBoss ejb3 session bean standalone client
by Bhargav Kaneria
How to find the largest of 3 numbers
by Afzaal Ahmad Zeeshan
I was compiling a few things I would recommend to every beginner in computer programming. Here it is.
by Cindy Potvin
How to get started with Android development - Basic structure
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.
by Cindy Potvin
How to get started with Android development: Layout managers
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.
by Edward Legaspi
Setup Seam3-security in JBoss 7
by Cindy Potvin
How to show a Toast for a specific duration in Android
by Duc Huy Nguyen
Wrap a C# library for use in Java, a folktale about an idiot coding at midnight.
by Trần_Tuấn_Anh
Creating a custom Comparator function in Java allows you to define the rules for sorting or comparing objects based on specific criteria. This article will guide you through the steps of writing a custom Comparator
by XPG Live
How to initialize a game on Android with XPG
by XPG Live
This is a continuation of the How To series. The first post is here.
by loki2302
The smaller an interface is, the better it is.
by Keyhole Software
Introducing Cucumber for Java + STANDARD Values
by Lee P Richardson
If you've ever wanted the same type of functionality for Xamarin Android either for consistency or ease of cross platform code sharing, now you can with EasyLayout.Droid.
by Keyhole Software
This is part 1 of how to get started with Spring Batch
by Right Handed Monkey
Introducing the WorxForUs Open Source Database & Network Helper for Android
by thoughts-on-coding
A short introduction into the modern build system gradle
by Ali Ozgur
Introduction to Android development: TouchCalculator
by Madhur Kapoor
One of the quickest way to get your code up and running in Azure is to use Azure Functions which makes use of the serverless architecture. When we say serverless, it means that we don’t have to worry about the provisioning and maintaining of virtual machines or servers.
by Cindy Potvin
How to save data in your Android application
by Chris Boss
Is Object Oriented Programming Overrated?
by hjgode
iTextSharp ported to Compact Framework
by hoonzis
Description of how to add some additional functions - create new company, edit company's details
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.
by Marek Piechut
How to do J2EE JDBC based authentication with JPA Entities in Glassfish
by Marek Piechut
WatchService allows us to listen to changes in a directory without any pooling.
by Bobby Lough
Java 8 streams and the drastic impact with loops
by Keyhole Software
Java and the sweet science
by a1mimo
Java for beginners
by Divya Ulasala
HashMap computeIfAbsent() in Java 8
by Mohamed Taman
Explanation and exploring the code on how to traverse collections with streams, creating streams from collections and arrays, aggregating stream values
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
by In28Minutes
Learn important Java topics with Questions and Answers format with a lot of code examples. Build up knowledge in a conversational approach.
by Sam Varadarajan
Java stored procedures
by James A. Brannan
How to convert a List of Strings to a List of Integers using the MapReduce programming paradigm
by Trần_Tuấn_Anh
Thread pools in Java provide a mechanism to manage and reuse a set of threads for executing tasks, thereby improving the performance and resource management of multi-threaded applications.
by Martin Thwaites
Java/Firefox SSL Certs -> Apache -> RTFM!!!
by Ivan Korhner
Java: A Memory Leak Caused by Dynamic Creation of log4j Loggers
by Ivan Korhner
Java: ASCII Art Generator in Java - Part 2
by John Atten
This post is a re-examination of some topics I discuss in an older post.
by John Atten
Checked exceptions in Java.
by Ivan Korhner
How to detect Java deadlocks programmatically
by Ivan Korhner
Java: Java Multithreading Made Easy - Expensive Object Pool
by Sam Varadarajan
Java: What's up with "Impl" in class names?
by AshwinRayaprolu
JavaScript RSA Encryption and Java Decryption
by Keyhole Software
A couple of examples of the kinds of components that can be used to quickly bring up a user interface
by Val Okafor
Learn Android Dependency injection with Dagger 2
by Val Okafor
In this tutorial, I will share a practical example of Model View Presenter (MVP) pattern in Android development. MVP is a design pattern and when it comes to Android development some of the examples available online are heavy on theories.
by Issam Lahlali
In this first part the goal is to discover the creational patterns used by JBoss.
by Issam Lahlali
Structural design patterns are design patterns that ease the design by identifying a simple way to realize relationships between entities
by Afzaal Ahmad Zeeshan
In this article I will give you a complete overview of SQLite databases in Android and how to consume them using Xamarin APIs.
by li9705
Can we write programs in Android with other languages? The answer is yes.
by loki2302
Liskov substitution principle (LSP)
by Grzegorz @ tidyjava.com
Tidy guide on how to create a Living Documentation in your (not only) Java projects.
by Marek Piechut
Log4j logger.error(Object) trap
by Sacha Barber
How to get the 'create job' to work end-end
by Keyhole Software
We often model interconnected data by cramming it in and out of table structures. Why don’t we simply model interconnected data as … interconnected data?
by Rion Williams
How to merge smarter with Semantic Merge.
by Trần_Tuấn_Anh
In Java, the main() method serves as the entry point for program execution. It's a well-known fact that it has a specific signature: public static void main(String[] args). This raises a question many developers ponder: Can the main() method be overloaded?
by Trần_Tuấn_Anh
Iterators are an essential part of collections in Java, enabling you to traverse through data structures. Two primary types of iterators are fail-safe and fail-fast. Understanding their differences is crucial for writing robust code.
by Trần_Tuấn_Anh
In the world of Java and Spring framework development, transaction management is crucial for ensuring data consistency and integrity. One fundamental aspect of transaction management is transaction propagation.
by Trần_Tuấn_Anh
SQL Injection (SQLi) is a serious security vulnerability that allows attackers to execute arbitrary SQL code on a database. This can lead to unauthorized access, data breaches, and even complete system compromise.
by Trần_Tuấn_Anh
Uploading files to Amazon S3 is a common task in modern web applications, especially when dealing with large-scale data storage.
by Trần_Tuấn_Anh
Optimistic locking is a widely-used strategy for handling concurrent access to data in a database. This technique is especially useful when dealing with high-performance applications where multiple transactions are expected to operate on the same data concurrently.
by Trần_Tuấn_Anh
The Producer-Consumer problem is a classic synchronization issue in computer science. It involves two types of processes: producers and consumers. Producers generate data and put it into a shared buffer, while consumers take data from this buffer.
by Shameel
Part 3 of this multi-part article series discusses the actual migration process: Schema and data migration, ETL/ELT, Reporting & OLAP, Scheduling and Applications & Services migration.. The post Migrating your SQL Server Workloads to PostgreSQL – Part 3 appeared first on The Developer Space..
by hoonzis
This post discusses the different possibilities to mock the behavior of Calendar class in Java, in order to unit test the business methods which depend on this class. Three solutions are proposed.
by Bobby Lough
More Java 8 goodies
by Sipra Ray
Mouse Hover Action using selenium WebDriver
by li9705
Multi-Language Programming : Entity Object Inheritance and Function Overloading
by Keyhole Software
My move from ColdFusion to Java development
by Afzaal Ahmad Zeeshan
Here is my review of official Kotlin shift for Android
by Andrei Ion Rînea
Numeric literals in Java 7 and C#
by Right Handed Monkey
Obscured shared preferences for Android
by Member 11794279
Here are some open source Android libraries every programmer should know.
by loki2302
Classes should be easy to extend and alter without changing their code.
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.
by Kevin Mack
So, I know I've been out of pocket the past two weeks, and that includes all social medias. Honestly I just started a new job, and my wife did as well. So in my family, we do life events in batches. But I didn't want to stay out of pocket
by Andrei Ion Rînea
Overriding and Overloading in Java and .NET – Differences, Changes and Gotchas
by TheCannyCoder
Parallel Streams and Spliterators
by Steve Naidamast
Author’s Notes:  This article is written for experienced developers using the C# language and the Monogame Framework.
by AshwinRayaprolu
PDF Generation Using Templates and OpenOffice and Itext in Java
by harleydk
How to perform SOAP request with advanced headers in Informatica Powercenter designer
by Member 11794279
Persist your data, ActiveAndroid and Parse
by Andrei Ion Rînea
How to prepare the development environment for Java - Windows and Ubuntu
by Johannes Hinkov
Price comparison script with Wordpress and the REST API.
by Pradiptab2
How to print PDF silently in Servoy
by Keyhole Software
How to process Java annotations using Reflection
by Arpit Mandliya
CodeProjectProxy design pattern allows you to create a wrapper class over real object.Wrapper class which is proxy,controls access to real object so in turn you can add extra functionalities to real object without changing real object's code.As described by GoF:"Provide a surrogate or placehold
by rtybase
Why "i = i++" expression returns different results in C++ and Java/.NET?
by Dave Ceddia
Decided to try out a new library? Maybe wrote a new component? Or maybe this is the first React app you’ve worked with, and things just aren’t working. (Or really, any JavaScript library: Angular 1 or 2, Backbone, Ember, heck, even jQuery)The screen is blank.Or it loaded half-way, but nothing is
by Trần_Tuấn_Anh
In this article, we look at how Readiness and Liveness Probes and Readiness Probes in Kubernetes.
by Seb Carss
Reasons to use interfaces over extension when testing
by Trần_Tuấn_Anh
Java Database Connectivity (JDBC) drivers are a critical component for Java developers, enabling seamless interaction between Java applications and databases. Choosing the right type of JDBC driver can significantly impact the performance, portability, and security of your applications.
by Trần_Tuấn_Anh
Understanding the differences between JPA (Java Persistence API) and Hibernate is crucial for developers working with Java persistence technologies.
by Trần_Tuấn_Anh
In the Spring framework, managing multiple bean definitions of the same type can often be challenging. When multiple beans of the same type exist, Spring needs a way to determine which one to inject by default. This is where the @Primary annotation comes into play.
by Keyhole Software
Remove The Fluff With Google Guava
by James A. Brannan
In this tutorial, we create a simple Rest application using POST.
by Cindy Potvin
This is the third post in my series about saving data in Android.
by Roman Nazarenko
An overview of how well Scala integrates into modern Java EE environment
by Keyhole Software
Scaling Spring Batch - step partitioning
by rtybase
Scope of variables in Java, nulling and why this might be important.
by matthewproctor
How to send and IM with UCWA
by Mark Vinod Sinnathamby
How to serialize Java objects to XML and back
by Shun Huang
How to set up Visual Studio Code for Scala development on WSL
by Edison Heng
A simple notepad for Android
by Edison Heng
Synchronizing between Android and desktop
by Andrei Ion Rînea
Simulating C# ref parameter in Java
by loki2302
Every class should have only one responsibility.
by AshwinRayaprolu
Includes sample code that can connect to the GoogleTalk server and get a list of all your friends
by mrcellux
Sneaky Exceptions
by Divya Ulasala
DRY principle in software development
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.
by Trần_Tuấn_Anh
Testing is a crucial aspect of software development. In the context of Spring Boot applications, Spring Boot Test provides a powerful framework to test various aspects of your application.
by Trần_Tuấn_Anh
Caching is a performance optimization technique that stores the results of expensive operations, reducing response time and system load. Spring Boot provides a convenient and powerful caching abstraction.
by Trần_Tuấn_Anh
Managing configuration in modern distributed systems can be challenging. As applications scale and evolve, maintaining a centralized and consistent configuration across multiple environments is critical.
by Roman Nazarenko
A deep introduction into Spring Context's refresh process internals from every-day use perspective
by Roman Nazarenko
Spring Context Internals: Bean sources
by skprasadu
In this blog, we will test a Spring Integration flow which checks for a list of files, applies a splitter to separate each file, and starts downloading them into a local location.
by Zac Gery
In the world of enterprise development, interacting with a database can become a daily occurrence.
by Andriy Buday
State
by Afzaal Ahmad Zeeshan
This post attempts to describe the general difference between overloading and overriding in Object-oriented programming languages.
by Cindy Potvin
This is the last post in my series about saving data in your Android application.
by alex turner
Blue Sky Thinking In JavaJava does not allow strong interactions with the memory manager other than via extensions (like JVMTI).
by Arpit Mandliya
Template method design pattern in Java.
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.
by Sohel_Rana
Explanation of TDD. How can you introduce TDD in your team?
by ludovicianul
How to implement a generic DAO pattern to avoid code duplication and preserve type safety at the same time.
by Keyhole Software
The journey from Java EE to SPA
by Issam Lahlali
To understand OSGi concepts we will try to follow the puzzle approach, the idea is to begin with the trivial part of this technology, and search for other parts related to the found ones.
by Serge Desmedt
Threading in Android
by Grzegorz @ tidyjava.com
List of practices to work effectively on Spring applications. This part focuses on effective handling of configuration properties.
by Grzegorz @ tidyjava.com
List of practices to work effectively on Spring applications. This part focuses on starting a new Spring project.
by Trần_Tuấn_Anh
Transactional management is a core aspect of working with databases in Java, particularly when using Spring Framework. Understanding the different types of propagation is crucial for ensuring data consistency and proper transaction management.
by loki2302
One of the most important things about Java is their "as is" approach to "everything is an object" concept.
by arjunaraneta
Tools for Programming Java (Part 1) – Java IDE (Integrated Development Programming) Software Tools
by Trần_Tuấn_Anh
Understanding the differences between HashSet and TreeSet is crucial for optimizing your Java programs. Both are part of the Java Collection Framework, but they serve different purposes and store data differently.
by Val Okafor
Top Android App Review Sites
by Serge Desmedt
Touch handling in Android.
by Alexander Gutev
This post begins with a description of the State Management Problemand various solutions to it offered by today's programming languages. The final section details the solution provided by version 0.8 of the Tridash programming language.
by Alexander Gutev
Another Programming Language?. CodeProjectI recently released version 0.4, the first version that is remotely usable, of Tridash, a programming language I've been working on...
by Codeman the Barbarian
Trouble with Adapters
by Sandeep Mewara
Issues faced while setting up Kafka on Windows OS and how I resolved it
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.
by Trần_Tuấn_Anh
Functional interfaces are a core concept in Java, particularly in the context of functional programming. But what exactly are they, and why should you care about them?
by Jin Vincent Necesario
JavaScript Map object collection
by Trần_Tuấn_Anh
In Java Streams, operators are crucial for manipulating and processing data. They are classified into two main types: Terminal Operators and Intermediate Operators. Understanding the distinction between these operators is essential for effective stream processing.
by Trần_Tuấn_Anh
In Java, two common runtime issues related to class loading are ClassNotFoundException and NoClassDefFoundError. These exceptions can be confusing for developers, especially when diagnosing and fixing classpath issues.
by Trần_Tuấn_Anh
When diving into Java programming, understanding the distinction between errors and exceptions is crucial. This knowledge not only helps you handle runtime issues more effectively but also enables you to write more robust and maintainable code.
by Edison Heng
I am going to show how to perform undo algorithm on your Java Swing application.
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.
by Madhur Kapoor
How to use camera in Android application
by Keyhole Software
Encapsulation approach to bring data sources and implementations closer together, allowing reflection-like behavior in a format that mere mortals can read.
by alex turner
A very fast Sin function for Java
by Vidyasagar Machupalli
WatBot: An Android ChatBot powered by IBM Watson
by Marek Piechut
Web Services in Ruby, Python and Java
by Trần_Tuấn_Anh
In Java, method overloading and method overriding are two essential concepts that often create confusion among developers. This article will break down these concepts, provide clear examples, demonstrate code in action, and explain the differences between them.
by Trần_Tuấn_Anh
Lambda functions are a powerful feature introduced in Java 8 that revolutionize how you write and manage code. They allow for more concise and readable code, especially when dealing with functional interfaces.
by Trần_Tuấn_Anh
In Java, a shutdown hook is a feature that allows you to perform cleanup operations before your application terminates. This can be particularly useful for releasing resources, saving state, or ensuring that certain tasks are completed properly before the program exits.
by Trần_Tuấn_Anh
In the world of concurrent programming, ensuring data consistency and thread safety is crucial. Java provides a special class known as Atomic to help developers manage these aspects efficiently. But what exactly is an atomic variable in Java, and how does it differ from a regular primitive type?
by Trần_Tuấn_Anh
Understanding synchronization in Java is crucial for developing multi-threaded applications. One of the powerful synchronization tools available in Java is the CyclicBarrier. This article delves into what a CyclicBarrier is, how it works, and provides practical examples and demo results.
by Trần_Tuấn_Anh
In this article, we'll explore the core component of the Spring MVC framework: DispatcherServlet. By the end, you'll have a clear understanding of what DispatcherServlet is, how it works, and how to configure it in your Spring applications.
by Trần_Tuấn_Anh
Exception propagation is a fundamental concept in Java programming that determines how exceptions are handled and passed through different levels of a program. This mechanism is crucial for ensuring that errors are managed effectively and that your code remains robust and maintainable.
by Trần_Tuấn_Anh
The Fork/Join Framework is an essential tool in Java for optimizing parallel processing tasks. It is designed to take full advantage of multi-core processors by breaking down large tasks into smaller subtasks, executing them in parallel, and then combining the results.
by Trần_Tuấn_Anh
Java provides various synchronization mechanisms to handle concurrent access to shared resources. Among them, locks play a crucial role in ensuring that multiple threads can work together without causing data inconsistency.
by Trần_Tuấn_Anh
In Java, data serialization plays a critical role in persisting object states and transmitting objects across networks. However, not every field in a class is meant to be serialized. This is where the transient keyword comes into play.
by Trần_Tuấn_Anh
In Java, resource management is a crucial aspect of writing efficient and error-free code. Two common approaches to handling resources and exceptions are the traditional try-catch-finally block and the more modern try-with-resource statement.
by Trần_Tuấn_Anh
Virtual threads represent a significant advancement in Java's concurrency model, designed to simplify and enhance the way we handle multi-threading. This article delves into the core concepts of virtual threads, providing examples, demos, and results to illustrate their practical applications.
by Gerd Wagner
Difference between a JavaScript object and a UML/Java object
by Zac Gery
When to flex or stand firm in programming
by Trần_Tuấn_Anh
In the Java programming language, the wait(), notify(), and notifyAll() methods are fundamental for inter-thread communication. These methods play a crucial role in multi-threaded applications where threads need to coordinate their activities. But which class do these methods belong to?
by mbarsott
Every time a security problem emerges, an army of bright minds try to find a clever fix. Fortunately, collaboration among these solution finders have also increased exponentially.
by Benktesh Sharma
A demo to show reading resources in the remote server using SMB protocol
by S Ravi Kumar (TechieRathore)
How to implement show hide passeword using effects in Xamarin.Forms
by marcusts
A Smart Platform for a Challenging Era Most mobile device owners are passionate about their phones. They’re either a high-tech Android type or an aesthetic iPhone type. And they agree about very little when it comes to their metallic soul-mates.
by Isaac RF
Introduction to Youtube Data API v3 on Android