Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
Structural Search in IntelliJ IDEA 2018.3
IntelliJ IDEA 2018.3 delivers an updated and streamlined Structural Search & Replace dialog. To learn all the things you can do with it and how it will make your life easier, check this video out!
#ide #intelliJ #tools
https://www.youtube.com/watch?v=YeGPO-UHTbs&feature=youtu.be
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
The Performance Diagnostic Methodology (PDM) is a structured approach in order to find the root cause of Java performance problems.
Instead of start tuning the JVM and see if it helps, a more structured approach can help you exclude some possible causes and point you in the right direction in order to solve the issue appropriately. Part 1.
#java #performance #middle #senior
https://dzone.com/articles/how-to-solve-your-java-performance-problems-part-1
You have different choices when it comes to implementing the communication of your microservices. In this article, you will see how Apache Kafka improves upon the historical HTTP REST API/message queuing architectures used in microservices and how it further extends their capabilities and aims to solve their problems.
#kafka #microservices #architecture #middle #senior
https://dzone.com/articles/how-kafka-solves-common-microservice-communication
Amazing hands on coding session demonstrating best practices, patterns and anti-patterns with Lambdas and Streams by Victor Rentea, which includes:
Bloated Lambdas, A Happy Predicate, Stream Wrecks, How to Kill The Biggest Bug, Monads, Passing-a-block, The Loan Pattern, and 5 Ways to Implement Type-Specific Logic.
#java #functional #patterns #junior #middle #senior
https://www.youtube.com/watch?v=YnzisJh-ZNI
Load balancing is one of the core concepts required for building reliable distributed systems.
However, there is a lot of confusion on what it really is and most of the related information is not up-to-date. Take a look at this article to get a great overview about all the related concepts!
#architecture #middle #senior
https://blog.envoyproxy.io/introduction-to-modern-network-load-balancing-and-proxying-a57f6ff80236
Java 11 was released some time ago, although the majority of developers stay on Java 8. In this post you will find some OptaPlanner benchmark tests that aim to show the improvements in Parallel GC and G1 garbage collection algorithms in Java 11. Can you bet what the results are?
#java
https://dzone.com/articles/whats-wrong-with-small-objects-in-java
Every programmer agrees naming classes is highly important for code readability. Proper naming decreases the time needed to understand the code base. The aim of this article is to put in one place answers for the most popular questions around Java class name conventions and community standards. It covers technical Java language restrictions, common conventions, and popular class naming best practices.
#java #junior #middle
http://dolszewski.com/java/java-class-naming-ultimate-guideline/
Unit Testing with JUnit - Tutorial
This tutorial explains unit testing with JUnit 4.x and JUnit5. It also covers the creation of JUnit tests. Running them automatically helps to identify software regressions introduced by changes in the source code. Having a high test coverage of your code allows you to continue developing features without having to perform lots of manual tests. If you want to learn more, this article is a very good choice. Unit testing is always necessary.
#java #testing #junior #middle
https://www.vogella.com/tutorials/JUnit/article.html
21 Best IntelliJ Plugins for 2019
Like other IDEs or CMSs before it, IntelliJ has quickly become more than an IDE. With its vast plugin marketplace, IntelliJ has turned into a full-fledged platform for all Java related coding.
Check these great plugins that can improve your productivity!
#ide #intelliJ
https://blog.codota.com/21-best-intellij-plugins-for-2019-100-free/
Maven Tutorial
Maven is a powerful build tool for Java software projects. Maven is developed in Java and is thus historically used more for Java projects. In this article, you can understand how it works. Accordingly, in this tutorial, you can learn the core concepts of Maven in a well-structured way.
#maven #build #java #junior #middle
http://tutorials.jenkov.com/maven/maven-tutorial.html
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
Log Management Refcard
In complex distributed systems a Centralized Log Management is invaluable especially when you need to find the root cause of an issue.
In this refacard you will get valuable information on how to build an efficient pipeline for collecting, processing and storing logs, e.g. how modern Log Management solutions work.
#logging #java #junior #middle #senior
https://dzone.com/refcardz/log-management
Microservices for Java Developers: Performance and Load Testing
These days numerous frameworks and libraries make it is pretty easy to get from literally nothing to a full-fledged running application or service in a matter of hours. However, the decisions which frameworks make on your behalf (often called “sensitive defaults”) are far from being optimal (or even sufficient) in the context of the specific application or service.
In this tutorial you will get a great overview about performance and load testing, focusing on the tools to help you with achieving your goals and also highlight the typical areas of the application to tune.
#performance #testing #microservices #architecture #tools #middle #senior
https://www.javacodegeeks.com/2019/02/microservices-for-java-developers-performance-and-load-testing.html
Enum Tricks: Featured Enum Instead of Switch
Switch/case is the common control structure across programming languages and is considered more readable than a series of if/else.
However it enforces different consumers to implement specific logic without reusing it. See how you can encapsulate this logic inside an enum instead.
#java #junior #middle
https://dzone.com/articles/enum-tricks-featured-enum-instead-of-switch
Java Magazine March/April 2019
The latest issue of Java Magazine by Oracle is now available!
Take a deep dive into the newly emerging lightweight frameworks such as Micronaut, Javalin and Helidon which can be game changers considering the raising popularity of cloud and cloud-native technologies.
#java #magazine #news
http://www.javamagazine.mozaicreader.com/MarchApril2019
10 Deadly Mistakes to Avoid When Learning Java
We all learn by mistakes, but you’ll be surprised how many common lapses there are in mastering this skill. If you’re determined to learn Java, here are few useful thoughts for you and some secrets shared of successful Java learning.
#java #junior
https://dzone.com/articles/10-deadly-mistakes-to-avoid-when-learning-java
A Magic Around Spring Boot Externalized Configuration
There are some features that make Spring Boot really powerful, and one of them is an externalized configuration. Spring Boot allows you to configure your application in many ways. You have 17 levels of loading configuration properties into application.
See how you can make use of it in practice to make your application configurations more flexible and clear.
#java #spring #springboot #junior #middle #senior
https://piotrminkowski.wordpress.com/2019/03/11/a-magic-around-spring-boot-externalized-configuration/