Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
Micrometer is a dimensional-first metrics collection facade whose purpose is to allow you to time, count, and gauge your code with a vendor neutral API - like SLF4J for metrics! Take a look at how you can utilize it with Spring Boot 2.
#spring #sprinboot
https://spring.io/blog/2018/03/16/micrometer-spring-boot-2-s-new-application-metrics-collector
Great article for beginners introducing Java collections by explaining what they are, the collection hierarchy, and general benefits of using Java collections. You will examine each Collection interface including in depth explanations and examples for each.
#java #collections #junior
https://www.stackchief.com/blog/Java%20Collections%20In%20Depth
In this article you will explore most common mistakes in microservices that cause technical debt as well as suggestions of what you could be doing instead.
#architecture #microservices #middle
https://www.e4developer.com/2018/02/11/common-technical-debt-in-microservices/
In this article, you will explore some strategies for dealing with optional parameters in Java. You can take a look at the strengths and weaknesses of each approach and check the trade-offs involved with selecting one strategy over another.
#java #patterns #junior #middle
https://stackify.com/optional-parameters-java/
A good thing to know for any Java dev working with Excel spreadsheets, let's see how the Apache POI library can help you programatically read and write Excel files with little overhead.
#java #io
https://dzone.com/articles/introduction-to-apache-poi-library
In this article it is demonstrated how you can achieve instant startup for Netty, a non-blocking I/O Java networking framework. You can do this by compiling the Netty application into a native executable with GraalVM. Read more to get all the details.
#java #graalvm #netty #middle #senior
https://medium.com/graalvm/instant-netty-startup-using-graalvm-native-image-generation-ed6f14ff7692
There are two types of drivers in the world: those who try to avoid accidents by driving very carefully in extra safe cars and those who prepare to deal with them when they happen by taking out a robust insurance policy. These contrasting approaches are also found in many different fields and IT is no exception.
#architecture #junior #middle
https://devskiller.com/techblog/2018/04/04/Safe-to-fail-vs-fail-safe/
From its creation, Java has supported key concurrency
concepts such as threads and locks. This amazing Refcard will help
you working with multi-threaded programs to
understand core concurrency concepts and how to apply them.
#java #concurrency #middle
https://dzone.com/storage/assets/7862400-dzone-rc061-corejavaconcurrency.pdf
Handling checked exceptions in Java makes our programs more verbose and there are cases we do not want to catch them at all. In this article, the author will walk you through how to go about ignoring checked exceptions in Java.
#java #junior #middle
https://dzone.com/articles/ignore-exceptions-in-java
TestContainers are just awesome, they provide you a very convenient way to start up and cleanly tear down docker containers in JUnit tests. This feature is very useful for integration testing of applications against real databases and any other resource for which a docker image is available.
#java #testing #springboot #middle
http://www.java-allandsundry.com/2018/05/testcontainers-and-spring-boot.html
Three more JEPs are proposed for JKD 11!
Take a look at the proposals for Nests which will remove the workarounds with bridge methods related to nested classes, improved performance for Aarch64 architectures and the new experimental ZGC garbage collector.
#java #java11 #jep #news
https://dzone.com/articles/jeps-181-315-and-333-proposed-to-target-jdk-11
You love Kotlin's inherent support for creating DSLs? Let's take a look at a few different approaches you can take when building a domain-specific language.
#kotlin #dsl #middle
https://dzone.com/articles/kotlin-dsl-basics