If you are tired of all these beautiful patterns and best practices and you want to write something insane - read this one. Maybe you like horror stories but in code - this may appeal to you!
#java #forfun
https://www.e4developer.com/2018/05/13/how-to-write-horrible-java/
#java #forfun
https://www.e4developer.com/2018/05/13/how-to-write-horrible-java/
E4developer
How to write horrible Java | E4developer
I feel horrible today. I am sick- my throat hurts, my head is not working as it should. Hence, I decided I will tell you how to write horrible Java code. If you are tired of all these beautiful…
Collections have seen a lot of changes in the past couple of JDKs. Let's look at how they've improved in Java 9 and Java 10 and what the new ways of creating immutable ones are.
#java #java9 #java10 #collections #junior #middle
https://dzone.com/articles/java-collections-are-evolving
#java #java9 #java10 #collections #junior #middle
https://dzone.com/articles/java-collections-are-evolving
dzone.com
Java Collections Are Evolving - DZone Java
Learn how to create factory methods for Collections as well as create immutable copies of Collections with the changes introduced in Java 9 and Java 10.
Together with the growing popularity of microservices and light-weight REST API, we are witnessing another trend in Java: the rise of Java Microframeworks. Javalin, Micronaut, Spark and many more make building REST APIs a breeze. In this article, the author looks at this exciting space and shares his opinions on their use.
#java
https://www.e4developer.com/2018/06/02/the-rise-of-java-microframeworks/
#java
https://www.e4developer.com/2018/06/02/the-rise-of-java-microframeworks/
E4developer
The rise of Java Microframeworks | E4developer
Together with the growing popularity of microservices and light-weight REST API, we are witnessing another trend in Java: the rise of Java Microframeworks. Javalin, Micronaut, Spark and many more make…
We all know that it is very hard to build that perfect endpoint that satisfies all clients needs. In this blog post it is explained how you can add GraphQL to your existing JAX-RS application, without too much effort.
#graphql #wildfly
https://www.javacodegeeks.com/2018/05/graphql-on-wildfly-swarm.html
#graphql #wildfly
https://www.javacodegeeks.com/2018/05/graphql-on-wildfly-swarm.html
Java Code Geeks
GraphQL on Wildfly swarm | Java Code Geeks - 2018
“GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing…
New releases from the last week:
Elasticsearch 6.3.0 Released
#releases
https://www.elastic.co/blog/elasticsearch-6-3-0-released
Elasticsearch 6.3.0 Released
#releases
https://www.elastic.co/blog/elasticsearch-6-3-0-released
Elastic Blog
Elasticsearch 6.3.0 Released
The return type of a method can influence your code a lot. It is a valuable piece of information for your API, makes it easier to test a functionality and should be considered adequately every time.
#java #middle
https://www.javacodegeeks.com/2018/05/void-methods-as-behavior-black-holes.html
#java #middle
https://www.javacodegeeks.com/2018/05/void-methods-as-behavior-black-holes.html
Java Code Geeks
Void methods as behavior black holes | Java Code Geeks - 2018
Interested to learn more about Void methods? Then check out our detailed article that describes whether or not void methods are considered harmful!
Are you wondering what to read to improve your knowledge of Java or become a better Java developer? In this article you can get familiar with the greatest Java books that have withstood the test of time.
#java #junior #middle
https://dzone.com/articles/10-all-time-great-books-for-java-programmers-best
#java #junior #middle
https://dzone.com/articles/10-all-time-great-books-for-java-programmers-best
dzone.com
Top 10 Books of All-Time for Java Programmers - DZone Java
Here is a list of ten books that are helpful for Java programmers, teaching cleaner code, effective designs, improved performance, and object-oriented design.
Java 11 will soon be upon us in a few months. Let's take a look at some of the upcoming API Methods. Additionally you can check which methods have been removed from Thread class in JDK 11.
#java #java11
https://dzone.com/articles/api-updates-in-java-se-11-189
#java #java11
https://dzone.com/articles/api-updates-in-java-se-11-189
dzone.com
API Updates in Java SE 11 (18.9) - DZone Java
Let's take a look at the new APIs for Java 11's updated String class as well as a few other helpful APIs to be aware of as JDK 11 approaches.
Wondering about the memory impact of your Java collections? To put it differently: if your Java application crashed with the infamous OutOfMemoryError or experienced long GC pauses — did you check its collections for memory waste? Here's how to think about your collections while keeping overhead in mind.
#java #collections #middle #senior
https://dzone.com/articles/preventing-your-java-collections-from-wasting-memo
#java #collections #middle #senior
https://dzone.com/articles/preventing-your-java-collections-from-wasting-memo
DZone
How to Prevent Your Java Collections From Wasting Memory
Here are some tips to high-performance Java collections and advice for making decisions about using collections to keep memory overhead low.
Java 10 brings with it a host of changes and new features, but also some items to watch out for. In this article, you will go over some key ones and understand their impact on your code.
#java #middle #senior
https://dzone.com/articles/jdk-10-pitfalls-for-the-unwary
#java #middle #senior
https://dzone.com/articles/jdk-10-pitfalls-for-the-unwary
dzone.com
JDK 10: Pitfalls for the Unwary - DZone Java
Enjoying Java 10's new features, like local variable type inference and the Process API? Let's look over some JDK 10 pitfalls to keep an eye out for.
Struggling to make your Java application Cloud Native? In this article you can trace some really good advices to decrease memory footprint, improve startup time and in general, create an optimized Docker image using module system step-by-step.
#java #docker #cloud #middle #senior
https://medium.com/criciumadev/create-a-cloud-native-image-using-java-modules-a670be616b29
#java #docker #cloud #middle #senior
https://medium.com/criciumadev/create-a-cloud-native-image-using-java-modules-a670be616b29
Medium
Create a Cloud Native Image using Java Modules
How to create a minimal and optimized Docker image using module system step-by-step
Wondering how to take up Kubernetes and Spring Boot when scalability and elasticity is a big requirement in your architecture? In this article you can learn how to use both to build microservices that are easy to scale up and down.
#java #microservices #kubernetes #spring #springboot
https://dzone.com/articles/building-elastic-microservices-with-kubernetes-and
#java #microservices #kubernetes #spring #springboot
https://dzone.com/articles/building-elastic-microservices-with-kubernetes-and
dzone.com
Building Elastic Microservices With Kubernetes and Spring Boot From the Ground Up - DZone Microservices
In this microservices development tutorial, learn how to use Kubernetes to build microservices that are easy to scale up and down, with the complete code.
How do we define Java? Here is an extensive look at Java SE, JDK, and OpenJDK and how they have evolved with JDK 11.
#java #java11 #junior
https://dzone.com/articles/how-do-we-define-java
#java #java11 #junior
https://dzone.com/articles/how-do-we-define-java
dzone.com
How Do We Define Java? - DZone Java
This article looks closely at the introduction of JDK 11 and how that has redefined and changed modules associated with Java SE, JDK, and OpenJDK.
Building a full-fledged, production-ready registration for your web application is so much more than just putting together a simple registration page. Check these amazing series to get answers to essential questions before assembling a concrete account flow.
#spring #security #middle
http://www.baeldung.com/spring-security-registration
#spring #security #middle
http://www.baeldung.com/spring-security-registration
Baeldung
Spring Security Registration Series | Baeldung
Building a full-fledged, production ready registration for your web app is oh so much more than just putting together a simple registration page.
Need to use your streams over and over again? With this article you will cover three different approaches, their benefits, and their pitfalls when recycling Java streams.
#java #streams #middle #senior
https://dzone.com/articles/how-to-replay-java-streams
#java #streams #middle #senior
https://dzone.com/articles/how-to-replay-java-streams
DZone
How to Reuse Java Streams
Consider three different approaches to reusing Java streams, such as using Suppliers or memoization, while noting each approach's performance and I/O concerns.
There is no doubt that Spring Framework is one of the most popular Java frameworks and makes it really easy to create real-world, enterprise-grade Java applications by providing features like dependency injection and inversion of control. Take one look at Spring's source code, and you can see the thought that went into the framework. Check out some best practices Java devs can learn from Spring.
#java #spring #middle
https://dzone.com/articles/3-best-practices-java-programmers-can-learn-from-s
#java #spring #middle
https://dzone.com/articles/3-best-practices-java-programmers-can-learn-from-s
DZone
3 Best Practices Java Programmers Can Learn From Spring Framework
See the lessons you can learn from Spring, including favoring unchecked exceptions over checked exceptions, coding for interfaces, and using Template Patterns.
Planning to go in for the microservice paradigm or already took over it? Learn about the different types of microservices patterns, synchronous and asynchronous, and the strengths and trade-offs of each.
#atchitecture #microservices #middle
https://dzone.com/articles/patterns-for-microservices-sync-vs-async
#atchitecture #microservices #middle
https://dzone.com/articles/patterns-for-microservices-sync-vs-async
DZone
Patterns for Microservices — Sync vs. Async
Learn about the different types of microservices patterns in software architecture, synchronous and asynchronous, and the strengths and trade-offs of each.
You are probably tired of JPA native queries as it is not comfortable to provide yours as a simple String or to handle the differences between the various database dialects yourself. Other libraries are much better suited to implement complex SQL queries. One of them is jOOQ and if you are planning to benefit from it, you can jump in this getting-started article.
#java #sql #junior #middle
https://www.thoughts-on-java.org/getting-started-with-jooq/
#java #sql #junior #middle
https://www.thoughts-on-java.org/getting-started-with-jooq/
Thorben Janssen
Getting Started with jOOQ - Building SQL Queries in Java
jOOQ provides you with a Java DSL that enables you to build SQL queries in a comfortable and type-safe way. Here is all you need to get started.
Learn why commit messages are so important for organizing your Git repo and discover methods for keeping your logs in order.
#git #cvs #junior #middle
https://dzone.com/articles/how-and-why-to-keep-your-git-commit-history-clean
#git #cvs #junior #middle
https://dzone.com/articles/how-and-why-to-keep-your-git-commit-history-clean
DZone
How (and Why!) to Keep Your Git Commit History Clean
Learn why commit messages are so important for organizing and understanding your Git repository and several methods to keep your commit logs in order.
One of the major benefits of JPMS is that it unlocks new options for tooling on top of it.
Want to learn more about how to visualize Java Module Graphs? Click this tutorial to learn how step-by-step!
#java
https://dzone.com/articles/how-to-visualize-jigsaw-module-graph
Want to learn more about how to visualize Java Module Graphs? Click this tutorial to learn how step-by-step!
#java
https://dzone.com/articles/how-to-visualize-jigsaw-module-graph
dzone.com
How to Visualize Java Module Graphs - DZone Java
This tutorial demonstrates how to visualize a Jigsaw module graph in a Java application, which can be performed with a few basic commands.