Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
When things are simple, they are easier to understand, easier to extend and easier to modify. They are better. Simplicity is the ultimate compliment you can give to an architecture or a framework. In this article, you are going to look at how four different frameworks- Spring Boot, Javalin, Vert.x and Micronaut; approach this quest for simplicity.
#jvm #java #frameworks #microservices #micronaut #springboot #middle #senior
https://www.e4developer.com/2018/07/08/the-quest-for-simplicity-in-java-microservices
Java 10 gave us, container lovers, a more refined and elegant way of handling our applications in Docker. But what do we still need to know? Check this broad explanation with examples of how older JDKs determine ergonomics inside a container to avoid the annoying out of memory conditions.
#jvm #java #containers #docker #middle
https://medium.com/domain-tech/running-jvm-inside-a-container-what-you-need-to-know-aac6fa6c12c8
Docker is the defacto standard solution to containerize applications/microservices. If you run Java application into it you need to be aware of a few gotchas and tricks. In the following post you will explore what the pitfalls are and how to write a generic Dockerfile, which will only ship what your application needs!
#docker #jvm #java #containers
https://dzone.com/articles/jvm-advent-calendar-docker-and-the-jvm
Java (JVM) Memory Model – Memory Management in Java
Understanding JVM Memory Model, Java Memory Management is very important if you want to understand the working of Java Garbage Collection.
If you want to learn more about memory management in Java and the different parts of JVM Memory here is one very good tutorial for you! You can also find it helpful for understanding JVM memory and garbage collection process.
#java #jvm #jmm #middle #senior
https://www.journaldev.com/2856/java-jvm-memory-model-memory-management-in-java
Memory Footprint of the JVM
The JVM can be a complex beast. Thankfully, much of that complexity is under the hood, and we as application developers and deployers often don’t have to worry about it too much. With the rise of container-based deployment strategies, one area of complexity that needs some attention is the JVM’s memory footprint. In this post you can see the two kinds of memory, the differences between them, native memory areas, JVM sizing and what does this all mean for Spring, so be sure to check it out!
#jvm #performance #memory #spring #middle #senior
https://spring.io/blog/2019/03/11/memory-footprint-of-the-jvm
Java Garbage Collection Basics
Here in this article, you can learn the basics you need to know about automatic garbage collection in Java. In just two steps - Marking and Deleting - you will learn the process of deallocating memory handled automatically by the garbage collector.
#java #jc #jvm #junuor
https://dzone.com/articles/java-garbage-collection-2
Excursions into Deduplication
For many workloads strings can be the most significant contributor to memory footprint.
When are Strings deduplicated? How can you find out whether they are of any benefit in your application? How much does it cost in terms of CPU?
This article will guide you how to easily find the answers to the questions above.
#java #jvm #middle #senior
https://www.javaspecialists.eu/archive/Issue270.html
Immutable Collections In Java – Not Now, Not Ever
In JDK terminology, immutable and unmodifiable have shifted over the last few years. At first, the term immutable was used for the collections returned by Java 9’s collection factory methods. But will a method that prints all elements in an immutable collection always have the same output? Yes? No? What’s An Immutable Collection? Is immutability a feature? Can Unmodifiable And Immutable Collections Be Retrofitted? Find out now!
#java #jvm #jdk #architecture #middle
https://blog.codefx.org/java/immutable-collections-in-java/