DEV Community

Java

More than just a cup of coffee, Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Understanding Serialization and Deserialization: Methods, Examples, and Best Practices

Understanding Serialization and Deserialization: Methods, Examples, and Best Practices

Comments
3 min read
Building Your First Spring Boot App: A Complete Guide to MVC Architecture and REST Controllers

Building Your First Spring Boot App: A Complete Guide to MVC Architecture and REST Controllers

1
Comments
3 min read
The Ultimate Guide to Designing a Database That Works (Seriously, We Mean It)

The Ultimate Guide to Designing a Database That Works (Seriously, We Mean It)

1
Comments
6 min read
Using Method and Variable Handles in Java for Runtime Object Access and Manipulation

Using Method and Variable Handles in Java for Runtime Object Access and Manipulation

Comments
3 min read
Item 61: Dê preferência aos tipos primitivos em vez dos tipos primitivos empacotados

Item 61: Dê preferência aos tipos primitivos em vez dos tipos primitivos empacotados

Comments
3 min read
Item 60: Evite o float e o double caso sejam necessárias respostas exatas

Item 60: Evite o float e o double caso sejam necessárias respostas exatas

Comments
2 min read
💡Solving LeetCode 34: Find First and Last Position of Element in a Sorted Array

💡Solving LeetCode 34: Find First and Last Position of Element in a Sorted Array

Comments
3 min read
Case Study: The Weighted Nine Tails Problem

Case Study: The Weighted Nine Tails Problem

Comments
4 min read
🤖 Solving LeetCode Problem 744: Find the Smallest Letter Greater Than Target

🤖 Solving LeetCode Problem 744: Find the Smallest Letter Greater Than Target

Comments
3 min read
Best Practices for Mapping in Spring Boot

Best Practices for Mapping in Spring Boot

7
Comments
4 min read
🔍 Understanding Hashing in Java: Exploring HashMap, HashSet, and hashCode() 🚀

🔍 Understanding Hashing in Java: Exploring HashMap, HashSet, and hashCode() 🚀

12
Comments 2
4 min read
The WeightedGraph Class

The WeightedGraph Class

Comments
8 min read
Mastering Spring Security: A Comedy of Errors (and Authentication)

Mastering Spring Security: A Comedy of Errors (and Authentication)

2
Comments 1
4 min read
SQL, in each group modify the null value of a specified column as its neighboring value #eg43

SQL, in each group modify the null value of a specified column as its neighboring value #eg43

7
Comments
1 min read
Introduction to Arrays in Java

Introduction to Arrays in Java

Comments
4 min read
Discover Exciting Updates in Spring Boot 3: Performance, Security, and More

Discover Exciting Updates in Spring Boot 3: Performance, Security, and More

Comments
2 min read
Understanding Memory Leaks in Java: Common Causes and How to Detect Them

Understanding Memory Leaks in Java: Common Causes and How to Detect Them

5
Comments 2
3 min read
How to create a immutable class in java? explain with example

How to create a immutable class in java? explain with example

2
Comments 2
1 min read
Wednesday Links - Edition 2024-09-04

Wednesday Links - Edition 2024-09-04

Comments
1 min read
Problemas da herança múltipla

Problemas da herança múltipla

Comments
1 min read
Um exemplo mais prático de um método padrão

Um exemplo mais prático de um método padrão

Comments
2 min read
Considerações finais sobre os pacotes e interfaces

Considerações finais sobre os pacotes e interfaces

Comments
1 min read
Use métodos static em uma interface

Use métodos static em uma interface

Comments
1 min read
Mastering the Craft of Naming for Better Software 🚀

Mastering the Craft of Naming for Better Software 🚀

Comments
1 min read
Exploring Freecine APK: A Comprehensive Guide for Developers

Exploring Freecine APK: A Comprehensive Guide for Developers

Comments
2 min read
API Gateway: The Practical Playbook

API Gateway: The Practical Playbook

3
Comments
5 min read
Road Map to Become a Hero in Java

Road Map to Become a Hero in Java

1
Comments
2 min read
A Guide to Splitting Strings in JavaScript by Regex

A Guide to Splitting Strings in JavaScript by Regex

Comments
3 min read
Abstraction and Encapsulation

Abstraction and Encapsulation

Comments
1 min read
Transforming Data Linkage: An In-Depth Look at IntaLink

Transforming Data Linkage: An In-Depth Look at IntaLink

1
Comments
3 min read
Lambda function with GraalVM Native Image - Part 1 Introduction to GraalVM and its native image capabilities

Lambda function with GraalVM Native Image - Part 1 Introduction to GraalVM and its native image capabilities

7
Comments
4 min read
Simplify BDD Testing for Distributed Java Applications with Testkube

Simplify BDD Testing for Distributed Java Applications with Testkube

Comments
5 min read
HL7 (Health Level Seven)

HL7 (Health Level Seven)

Comments
5 min read
Interface vs. Abstract Class – When to Use Which?

Interface vs. Abstract Class – When to Use Which?

Comments
2 min read
Getting packages to work when writing Java programs from scratch

Getting packages to work when writing Java programs from scratch

Comments
1 min read
Understanding the Scope of Pattern Variables in Java

Understanding the Scope of Pattern Variables in Java

Comments
2 min read
Building a Spring Boot Consumer Application with Amazon SQS: Setup Infrastructure Using Cloud Development Kit (CDK)

Building a Spring Boot Consumer Application with Amazon SQS: Setup Infrastructure Using Cloud Development Kit (CDK)

11
Comments
5 min read
Mastering Java: A Comprehensive Collection of Free Programming Resources

Mastering Java: A Comprehensive Collection of Free Programming Resources

Comments
3 min read
DNS and How It Works

DNS and How It Works

8
Comments
5 min read
Understanding Garbage Collection in Java: Essential for Interview Preparation

Understanding Garbage Collection in Java: Essential for Interview Preparation

5
Comments
3 min read
Navigating JVM Memory: Key Concepts for Your Java Interview

Navigating JVM Memory: Key Concepts for Your Java Interview

6
Comments
4 min read
Find the Duplicate Elements in an Array/List

Find the Duplicate Elements in an Array/List

8
Comments
1 min read
macOS Shell: Include all jar files in Java -cp argument

macOS Shell: Include all jar files in Java -cp argument

Comments
1 min read
Building an Orders Processing Service with ChatGPT (contribute 70–80% efforts) and Finished in 2 Days

Building an Orders Processing Service with ChatGPT (contribute 70–80% efforts) and Finished in 2 Days

3
Comments 1
4 min read
Spring AI: Bridging the Gap Between Java and AI

Spring AI: Bridging the Gap Between Java and AI

Comments
4 min read
UnsupportedDataTypeException: Migrating from javax.mail to jakarta.mail

UnsupportedDataTypeException: Migrating from javax.mail to jakarta.mail

Comments
1 min read
Unveiling the Inner Workings of Spring AOP

Unveiling the Inner Workings of Spring AOP

Comments
6 min read
Data Structure cheat sheet

Data Structure cheat sheet

Comments
1 min read
Java logical interview question | Sum a list but ignore any duplicates codewars java solution

Java logical interview question | Sum a list but ignore any duplicates codewars java solution

5
Comments
1 min read
D - Dependency Inversion Principle(DIP)

D - Dependency Inversion Principle(DIP)

27
Comments
12 min read
Understanding Runtimes: From C to Modern Languages

Understanding Runtimes: From C to Modern Languages

3
Comments
4 min read
Variáveis em interfaces e extensão

Variáveis em interfaces e extensão

1
Comments
1 min read
Effective Logging for Function

Effective Logging for Function

5
Comments
5 min read
Word Search II

Word Search II

Comments
3 min read
Why I Believe Lombok Should Be Discarded from Java Projects

Why I Believe Lombok Should Be Discarded from Java Projects

Comments
7 min read
Enhancing Performance with Static Analysis, Image Initialization and Heap Snapshotting

Enhancing Performance with Static Analysis, Image Initialization and Heap Snapshotting

Comments
6 min read
Advanced Query Techniques in Spring Data JPA

Advanced Query Techniques in Spring Data JPA

5
Comments
6 min read
Don’t use if-else blocks anymore! Use Strategy and Factory Pattern Together

Don’t use if-else blocks anymore! Use Strategy and Factory Pattern Together

124
Comments 45
3 min read
Methods for Overloading the main() Method in Java: Can It Be Done?

Methods for Overloading the main() Method in Java: Can It Be Done?

Comments
2 min read
Mastering the final Keyword in Java: Constants, Immutability, and More

Mastering the final Keyword in Java: Constants, Immutability, and More

7
Comments 3
3 min read
loading...