Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
Even though released only in 2014, Spring Boot has managed to overtake the Java serverside in less than five years. When starting a new project, a sensible question to ask is- “should I use a Spring Boot?”. This article will help you answer this question!
#spring #springboot #junior #middle
https://www.e4developer.com/2018/09/24/should-you-use-spring-boot-in-your-project/
Want to learn more about the newest source dependencies? This post introduces a new Gradle dependency management feature called “source dependencies." You will find summarized what is the usefulness to have Gradle automatically check out the source for your library from Git and build the binaries locally on your machine, rather than downloading them.
#gradle #junior #middle #senior
https://dzone.com/articles/introducing-source-dependencies-in-gradle
Good Humble Java Book Bundle from Packt publisher for very small money (from 1€ for 3 books + 2 vidoe courses up to 15€ for 15 books + videos)
Also you can find bundls of books for other topics (DevOps available now)
#java #courses #books #junior #middle #senior
https://www.humblebundle.com/books/java-by-packt-books
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
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
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
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
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
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/
One Method to Rule Them All: Map.merge()
It is a rare case to read an article explaining a single method in JDK, but this one does it pretty well, it’s about Map.merge(). This is probably the most versatile operation in the key-value universe. But it's also rather obscure and rarely used.
#java #junior #middle
https://dzone.com/articles/one-method-to-rule-them-all-mapmerge
Scrum - The Most Popular Agile Methodology (Refcard)
Scrum is a framework that allows people to productively and creatively deliver products of the highest possible value. This refcard explores the details of Scrum, including theory, values, roles, and events. It also includes a sample of a popular approach to deliver Integrated Increments in a scaled environment.
#management #scrum #junior #middle #senior
https://dzone.com/refcardz/scrum
Immutable Data Structures in Java
As part of some coding interviews, the topic of immutability sometimes comes up. There seems to be a bit of a misunderstanding on the concept of immutability, where developers often believe that having a ‘final’ reference is enough to make an object immutable. This blogpost dives a bit deeper in immutable references and immutable data structures. Take a look!
#java #immutability #kotlin #scala #junior #middle
https://www.jworks.io/immutable-data-structures-in-java/
7 Questions to Ask Yourself about Your Code
Here in this article you can find seven questions that we as developers should ask ourselves each time we commit code. Quality software depends on many factors, but developers are one of the most important ones. Bad software is too often our fault, and by asking ourselves the right questions, we can contribute to good software as well.
#junior
https://techblog.bozho.net/7-questions-to-ask-yourself-about-your-code/
A Beginner’s Guide to Java Programming Nightmares
New developers make beginner’s mistakes. A way out of these technological nightmares depends on how well you can follow your own coding processes. Here are explored some of the most common Java mistakes and their solutions with a tour of the horrors of the author’s own early code.
#java #junior #middle
https://jaxenter.com/java-programming-nightmares-156749.html
Box Old Objects to Be Autoclosable
Since Java 7 we can use try-with-resources and have any object automatically closed that implements the Autocloseable interface. But some of the classes need some wrap-up but are not Autocloseable. In this article Peter Verhas is sharing a nice tip how we can close such resources in very simple way! Check it out!
#java #junior #middle
https://javax0.wordpress.com/2019/05/22/box-old-objects-to-be-autoclosable/