Best of Java — February 2024
- 1
- 2
freeCodeCamp·2y
Java Project – How to Build a Simple Parking Lot Management System
This tutorial provides a step-by-step guide on how to build a simple parking lot management system using Java. It covers the project setup, requirements, Java classes, application workflow, implementation of various functionalities, testing, and future scope.
- 3
InfoQ·2y
How Netflix Really Uses Java
Netflix discusses their use of Java, including their journey from Java 8 to Java 17, the benefits of upgrading, and their adoption of Spring Boot. They also explore the use of virtual threads, the DGS framework for GraphQL, and the evolution of their architecture. Overall, it highlights the importance of staying up-to-date with technology and the value of performance improvements.
- 4
- 5
Community Picks·2y
Kotlin & Modern Java: The 17 Differences
This post explores 17 differences between Kotlin and modern Java, including functional programming, null safety, observability, syntax, checked exceptions, coroutines support, data classes, type inference, extension functions, smart casts, constructors, ternary operator, primitive types, string templates, operator overloading, wildcard types vs. declaration-site variance, and cross-platform and multiplatform development.
- 6
- 7
- 8
- 9
Community Picks·2y
Comparison of Heap and Stack Memory in Java
This post explains the difference between stack and heap memory in Java, how stack memory works, and how heap memory works. It also provides examples for better understanding, common errors related to stack and heap memory, and tips for avoiding those errors.
- 10
- 11
Community Picks·2y
Understanding Reference Types in Java: Classes, Interfaces, and Arrays Explained
Understanding reference types in Java is crucial for memory management and working with complex data structures. Reference types include classes, interfaces, and arrays, and they store references to objects rather than values. The key differences between primitive and reference types are their storage, mutability, comparison, and ability to be null. Reference variables can point to the same object, and changes through references impact the objects themselves. Mastering reference types is essential for writing robust Java code.
- 12
Community Picks·2y
Learning Spring Boot in 2023, worthy or junky?
Spring Boot is a popular Java framework that offers numerous advantages for modern software development projects and provides a lot of work opportunities. It is mature, easy to learn, versatile, backed by a large community, and well-suited for developing microservices and cloud-native applications. Learning Spring Boot in 2023 will make you a more marketable developer and help you in developing faster, maintainable, and secure applications.
- 13
- 14
Community Picks·2y
Polymorphism in Java - Different Types of Polymorphism
Polymorphism in Java allows objects of different classes to respond to the same method invocation, promoting code flexibility and reusability. It can be achieved through compile-time polymorphism (method overloading) and runtime polymorphism (method overriding). Polymorphism offers advantages such as extensibility, abstraction, code reuse, loose coupling, and enhanced flexibility.
- 15
Cerbos·2y
Unlocking the secrets of choosing the best authorization framework for your Java application
This post explores the evolving landscape of authorization and its relevance in software development. It compares RBAC, ABAC, and PBAC and discusses three popular authorization frameworks for Java applications. It also covers the role of authorization in microservices and the challenges it presents. Finally, it mentions emerging authorization technologies and emphasizes the importance of staying updated on security trends.
- 16
Community Picks·2y
What is Java used for?
Java is a popular programming language used for a wide range of applications including enterprise-level software development, web development, mobile application development, desktop applications, big data processing, scientific and research applications, game development, and embedded systems and IoT.
- 17
- 18
- 19
- 20
JetBrains·2y
The IntelliJ IDEA Blog
Learn Java best practices, such as writing clear and maintainable code, using switch expressions, avoiding empty catch blocks, choosing collections over arrays, embracing immutability, favoring composition over inheritance, streamlining functional interfaces with lambdas, using enhanced for loops or streams, safeguarding resources with try-with-resources statements, and untangling deeply nested code.
- 21
- 22
Community Picks·2y
ArrayList in Java
ArrayList in Java is a dynamic array data structure that allows for the storage of any number of elements, adding elements dynamically as needed. It differs from traditional arrays by providing the flexibility to resize itself. Users can declare an ArrayList, add elements to it, access and modify elements, and remove elements. ArrayLists can be sorted and searched, but do not provide sorting functionality by default. They also have other useful methods and are considered a flexible and efficient resizable array implementation for Java.
- 23
Community Picks·2y
Understanding Variable Types in Java : Member, Class, and Local Variables
This post explains the differences between member variables, local variables, and class variables in Java. Member variables are attributes of a class, local variables have limited scope within a block of code, and class variables are shared among all instances of a class. Understanding these variable types is important for effective programming in Java.
- 24
- 25