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.
Java XML Validation: How to Validate an XML Document against an XSD

Java XML Validation: How to Validate an XML Document against an XSD

Comments
3 min read
How computers represent integers: Two's complement notation

How computers represent integers: Two's complement notation

Comments
5 min read
🤔 What is the Difference Between a JAR and a WAR file? 📦

🤔 What is the Difference Between a JAR and a WAR file? 📦

26
Comments 1
1 min read
Upstream is June 7: Hear from maintainers of log4j and other top projects

Upstream is June 7: Hear from maintainers of log4j and other top projects

2
Comments
2 min read
Understanding Hashing in Java: Exploring HashMap and HashSet

Understanding Hashing in Java: Exploring HashMap and HashSet

7
Comments 2
5 min read
Software Design Principles: Single Level of Abstraction

Software Design Principles: Single Level of Abstraction

6
Comments
5 min read
java.io.FileNotFoundException: on Visual Studio Code maven project.

java.io.FileNotFoundException: on Visual Studio Code maven project.

1
Comments 1
1 min read
Lire rapidement ou extraire du texte à partir d'un PDF en Java

Lire rapidement ou extraire du texte à partir d'un PDF en Java

1
Comments
4 min read
Understanding Selection sort in Java

Understanding Selection sort in Java

2
Comments 1
4 min read
Simplificando Binary Search 🔎

Simplificando Binary Search 🔎

2
Comments
6 min read
Push data to Google Sheets from your Java app

Push data to Google Sheets from your Java app

5
Comments
3 min read
Handling Exceptions in Java: The "Throw Early, Catch Late" Principle

Handling Exceptions in Java: The "Throw Early, Catch Late" Principle

1
Comments
3 min read
JustABugInAPost

JustABugInAPost

Comments
1 min read
Pillars of Spring Security: A Pre-Authentication component in a complex scenario.

Pillars of Spring Security: A Pre-Authentication component in a complex scenario.

4
Comments
3 min read
Java Virtual Threads vs Kotlin Coroutines

Java Virtual Threads vs Kotlin Coroutines

5
Comments 1
3 min read
Injectable Factory Method with Spring Boot

Injectable Factory Method with Spring Boot

3
Comments
1 min read
Arabic Text Rendering Issues in JavaFX

Arabic Text Rendering Issues in JavaFX

6
Comments
2 min read
The Fastest Way to Build an Android QR Code Scanner using Java

The Fastest Way to Build an Android QR Code Scanner using Java

19
Comments
6 min read
How to convert a Java pojo class to Record fastly

How to convert a Java pojo class to Record fastly

3
Comments
3 min read
Understanding Security Vulnerabilities: A First Step in Preventing Attacks

Understanding Security Vulnerabilities: A First Step in Preventing Attacks

10
Comments
8 min read
Explain Typecasting in Java?

Explain Typecasting in Java?

Comments
2 min read
Automating Jar File Creation and Release Artifact Uploads with GitHub Actions

Automating Jar File Creation and Release Artifact Uploads with GitHub Actions

2
Comments
2 min read
🙌 API marketplace & Open Innovation w/ UNC students 🎓

🙌 API marketplace & Open Innovation w/ UNC students 🎓

Comments 5
1 min read
How to solve the producer-consumer problem in Java — vivid example (multithreading)

How to solve the producer-consumer problem in Java — vivid example (multithreading)

6
Comments
13 min read
Testando Kafka no Spring Boot com Test-containers

Testando Kafka no Spring Boot com Test-containers

13
Comments 1
4 min read
Using JDK21 Preview Features and/or incubator classes

Using JDK21 Preview Features and/or incubator classes

3
Comments
5 min read
Dependency and dependency injection

Dependency and dependency injection

Comments
4 min read
Spring REST working with enums

Spring REST working with enums

20
Comments 1
7 min read
Lib HttpClient Utils: Uma biblioteca Java para simplificar requisições HTTP

Lib HttpClient Utils: Uma biblioteca Java para simplificar requisições HTTP

1
Comments
3 min read
Managing AI-powered Java App With API Management

Managing AI-powered Java App With API Management

32
Comments 3
8 min read
Spring Boot Basics: Crafting Your First Application

Spring Boot Basics: Crafting Your First Application

3
Comments
5 min read
Spring Framework for Everyone

Spring Framework for Everyone

Comments
4 min read
Best Practices for Java Application Development: Performance, Scalability, and Maintainability

Best Practices for Java Application Development: Performance, Scalability, and Maintainability

1
Comments 2
3 min read
Embracing Controversy: Discovering the Hidden Benefits of Java’s “Flawed” Features 🚀☕

Embracing Controversy: Discovering the Hidden Benefits of Java’s “Flawed” Features 🚀☕

1
Comments
4 min read
SOLID Principles in a Nutshell

SOLID Principles in a Nutshell

6
Comments 1
6 min read
Java-based console app as HTTP client

Java-based console app as HTTP client

1
Comments
2 min read
Kotlin Decoded | Part 2  - all about variables in Kotlin + visibility modifiers and data types

Kotlin Decoded | Part 2  - all about variables in Kotlin + visibility modifiers and data types

Comments
7 min read
Clarifying the Java-JavaScript Conundrum: A Letter to Recruiters and Hiring Managers

Clarifying the Java-JavaScript Conundrum: A Letter to Recruiters and Hiring Managers

13
Comments 8
2 min read
Everything Bad in Java is Good for You

Everything Bad in Java is Good for You

51
Comments 25
7 min read
SQL Query in Spring Boot

SQL Query in Spring Boot

Comments
1 min read
[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 1

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 1

3
Comments
1 min read
SnakeYaml 2.0: Solving the unsafe deserialization vulnerability

SnakeYaml 2.0: Solving the unsafe deserialization vulnerability

3
Comments
5 min read
Understanding basics of HashMaps in Java

Understanding basics of HashMaps in Java

6
Comments
3 min read
Circular ⭕ dependency exceptions in Spring❗

Circular ⭕ dependency exceptions in Spring❗

5
Comments
1 min read
How to perform JavaBeans Validation

How to perform JavaBeans Validation

4
Comments
7 min read
How to prevent XPath injection attacks

How to prevent XPath injection attacks

4
Comments
8 min read
The SecurityManager is getting removed in Java: What that means for you

The SecurityManager is getting removed in Java: What that means for you

1
Comments
10 min read
Fixing half a million security vulnerabilities

Fixing half a million security vulnerabilities

1
Comments
7 min read
Know The JPA Persistence.xml File

Know The JPA Persistence.xml File

1
Comments
3 min read
Retrieving and Displaying Videos from Android Device in Android Studio using Java: Step-by-Step Tutorial

Retrieving and Displaying Videos from Android Device in Android Studio using Java: Step-by-Step Tutorial

Comments
2 min read
Implementing File Sharing in Android Studio using Java for Latest Android Versions: Step-by-Step Tutorial

Implementing File Sharing in Android Studio using Java for Latest Android Versions: Step-by-Step Tutorial

Comments
2 min read
Kotlin Decoded | Part 1 - main() & semicolon

Kotlin Decoded | Part 1 - main() & semicolon

2
Comments
4 min read
Java GC Pressure In Action

Java GC Pressure In Action

1
Comments 1
7 min read
Avoiding Pitfalls: Unraveling Lombok and JPA Integration 🌟

Avoiding Pitfalls: Unraveling Lombok and JPA Integration 🌟

1
Comments
3 min read
Spring Security: Configuring UserDetailsService (Part 1)

Spring Security: Configuring UserDetailsService (Part 1)

1
Comments
4 min read
How to Print PDF Files in Java?

How to Print PDF Files in Java?

1
Comments
5 min read
Retrieving and Displaying PDF Files in Android Studio using Java: Step-by-Step Guide

Retrieving and Displaying PDF Files in Android Studio using Java: Step-by-Step Guide

2
Comments
2 min read
How @Autowired works in Spring - A detailed guide

How @Autowired works in Spring - A detailed guide

1
Comments
3 min read
Openjob: best distributed task scheduling framework

Openjob: best distributed task scheduling framework

2
Comments
3 min read
What are i++ or ++i or i-- or --i in programming language?? Why you should use them?

What are i++ or ++i or i-- or --i in programming language?? Why you should use them?

4
Comments 2
1 min read
loading...